diff options
Diffstat (limited to 'plugins/opcua/opcua_transport_layer.c')
-rw-r--r-- | plugins/opcua/opcua_transport_layer.c | 70 |
1 files changed, 18 insertions, 52 deletions
diff --git a/plugins/opcua/opcua_transport_layer.c b/plugins/opcua/opcua_transport_layer.c index f4db2ed42a..226b3227e6 100644 --- a/plugins/opcua/opcua_transport_layer.c +++ b/plugins/opcua/opcua_transport_layer.c @@ -56,58 +56,24 @@ void registerTransportLayerTypes(int proto) { static hf_register_info hf[] = { - { &hf_opcua_transport_type, - /* full name , abbreviation , type , display , strings, bitmask, blurb, id, parent, ref_count */ - { "Message Type", "transport.type", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_chunk, - { "Chunk Type", "transport.chunk", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_size, - { "Message Size", "transport.size", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_ver, - { "Version", "transport.ver", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_scid, - { "SecureChannelId", "transport.scid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_rbs, - { "ReceiveBufferSize", "transport.rbs", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_sbs, - { "SendBufferSize", "transport.sbs", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_mms, - { "MaxMessageSize", "transport.mms", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_mcc, - { "MaxChunkCount", "transport.mcc", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_endpoint, - { "EndPointUrl", "transport.endpoint", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_error, - { "Error", "transport.error", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_reason, - { "Reason", "transport.reason", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_spu, - { "SecurityPolicyUri", "security.spu", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_scert, - { "SenderCertificate", "security.scert", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_rcthumb, - { "ReceiverCertificateThumbprint", "security.rcthumb", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_seq, - { "SequenceNumber", "security.seq", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } - }, - { &hf_opcua_transport_rqid, - { "RequestId", "security.rqid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } - }, + /* id full name abbreviation type display strings bitmask blurb HFILL */ + {&hf_opcua_transport_type, {"Message Type", "transport.type", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_chunk, {"Chunk Type", "transport.chunk", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_size, {"Message Size", "transport.size", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_ver, {"Version", "transport.ver", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_scid, {"SecureChannelId", "transport.scid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_rbs, {"ReceiveBufferSize", "transport.rbs", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_sbs, {"SendBufferSize", "transport.sbs", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_mms, {"MaxMessageSize", "transport.mms", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_mcc, {"MaxChunkCount", "transport.mcc", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_endpoint, {"EndPointUrl", "transport.endpoint", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_error, {"Error", "transport.error", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_reason, {"Reason", "transport.reason", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_spu, {"SecurityPolicyUri", "security.spu", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_scert, {"SenderCertificate", "security.scert", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_rcthumb, {"ReceiverCertificateThumbprint", "security.rcthumb", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_seq, {"SequenceNumber", "security.seq", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, + {&hf_opcua_transport_rqid, {"RequestId", "security.rqid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL}}, }; proto_register_field_array(proto, hf, array_length(hf)); |