diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-03-09 03:17:51 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-03-13 21:30:24 +0000 |
commit | 54a520d4a1151c68d0b4e5f09a8d82466fa499f3 (patch) | |
tree | 7aacae160382098ce651ac862a5dfd5de4beff94 /epan/dissectors/packet-cdt.c | |
parent | c1f3c935bdd33090c87f0d2f84842ce9729b747a (diff) |
Move /asn1 to /epan/dissectors
Change-Id: I1208fe3c2ba428995526f561e8f792b8d871e9a9
Reviewed-on: https://code.wireshark.org/review/14388
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/dissectors/packet-cdt.c')
-rw-r--r-- | epan/dissectors/packet-cdt.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/epan/dissectors/packet-cdt.c b/epan/dissectors/packet-cdt.c index b7c280e8a7..7117e04954 100644 --- a/epan/dissectors/packet-cdt.c +++ b/epan/dissectors/packet-cdt.c @@ -1,11 +1,11 @@ /* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-cdt.c */ -/* ../../tools/asn2wrs.py -b -p cdt -c ./cdt.cnf -s ./packet-cdt-template -D . -O ../../epan/dissectors cdt.asn */ +/* asn2wrs.py -b -p cdt -c ./cdt.cnf -s ./packet-cdt-template -D . -O ../.. cdt.asn */ /* Input file: packet-cdt-template.c */ -#line 1 "../../asn1/cdt/packet-cdt-template.c" +#line 1 "./asn1/cdt/packet-cdt-template.c" /* packet-cdt.c * * Routines for Compressed Data Type packet dissection. @@ -67,7 +67,7 @@ static guint32 content_type = 0; static int proto_cdt = -1; /*--- Included file: packet-cdt-hf.c ---*/ -#line 1 "../../asn1/cdt/packet-cdt-hf.c" +#line 1 "./asn1/cdt/packet-cdt-hf.c" static int hf_cdt_CompressedData_PDU = -1; /* CompressedData */ static int hf_cdt_compressionAlgorithm = -1; /* CompressionAlgorithmIdentifier */ static int hf_cdt_compressedContentInfo = -1; /* CompressedContentInfo */ @@ -79,28 +79,28 @@ static int hf_cdt_contentType_OID = -1; /* T_contentType_OID */ static int hf_cdt_compressedContent = -1; /* CompressedContent */ /*--- End of included file: packet-cdt-hf.c ---*/ -#line 61 "../../asn1/cdt/packet-cdt-template.c" +#line 61 "./asn1/cdt/packet-cdt-template.c" static dissector_handle_t data_handle = NULL; /* Initialize the subtree pointers */ /*--- Included file: packet-cdt-ett.c ---*/ -#line 1 "../../asn1/cdt/packet-cdt-ett.c" +#line 1 "./asn1/cdt/packet-cdt-ett.c" static gint ett_cdt_CompressedData = -1; static gint ett_cdt_CompressionAlgorithmIdentifier = -1; static gint ett_cdt_CompressedContentInfo = -1; static gint ett_cdt_T_contentType = -1; /*--- End of included file: packet-cdt-ett.c ---*/ -#line 66 "../../asn1/cdt/packet-cdt-template.c" +#line 66 "./asn1/cdt/packet-cdt-template.c" static expert_field ei_cdt_unable_compress_content = EI_INIT; static expert_field ei_cdt_unable_uncompress_content = EI_INIT; /*--- Included file: packet-cdt-fn.c ---*/ -#line 1 "../../asn1/cdt/packet-cdt-fn.c" +#line 1 "./asn1/cdt/packet-cdt-fn.c" static const value_string cdt_AlgorithmID_ShortForm_vals[] = { { 0, "zlibCompress" }, @@ -110,7 +110,7 @@ static const value_string cdt_AlgorithmID_ShortForm_vals[] = { static int dissect_cdt_AlgorithmID_ShortForm(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 19 "../../asn1/cdt/cdt.cnf" +#line 19 "./asn1/cdt/cdt.cnf" guint32 value; offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, @@ -173,7 +173,7 @@ static const value_string cdt_ContentType_ShortForm_vals[] = { static int dissect_cdt_ContentType_ShortForm(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 34 "../../asn1/cdt/cdt.cnf" +#line 34 "./asn1/cdt/cdt.cnf" offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &content_type); @@ -195,7 +195,7 @@ dissect_cdt_ContentType_ShortForm(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, static int dissect_cdt_T_contentType_OID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 48 "../../asn1/cdt/cdt.cnf" +#line 48 "./asn1/cdt/cdt.cnf" const char *obj_id = NULL; offset = dissect_ber_object_identifier_str(implicit_tag, actx, tree, tvb, offset, hf_index, &obj_id); @@ -243,7 +243,7 @@ dissect_cdt_T_contentType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offs static int dissect_cdt_CompressedContent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 67 "../../asn1/cdt/cdt.cnf" +#line 67 "./asn1/cdt/cdt.cnf" tvbuff_t *next_tvb = NULL, *compr_tvb = NULL; int save_offset = offset; @@ -314,7 +314,7 @@ static const ber_sequence_t CompressedData_sequence[] = { int dissect_cdt_CompressedData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 11 "../../asn1/cdt/cdt.cnf" +#line 11 "./asn1/cdt/cdt.cnf" content_type = 0; offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, @@ -338,7 +338,7 @@ static int dissect_CompressedData_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, /*--- End of included file: packet-cdt-fn.c ---*/ -#line 71 "../../asn1/cdt/packet-cdt-template.c" +#line 71 "./asn1/cdt/packet-cdt-template.c" /*--- proto_register_cdt -------------------------------------------*/ @@ -372,7 +372,7 @@ void proto_register_cdt (void) { static hf_register_info hf[] = { /*--- Included file: packet-cdt-hfarr.c ---*/ -#line 1 "../../asn1/cdt/packet-cdt-hfarr.c" +#line 1 "./asn1/cdt/packet-cdt-hfarr.c" { &hf_cdt_CompressedData_PDU, { "CompressedData", "cdt.CompressedData_element", FT_NONE, BASE_NONE, NULL, 0, @@ -411,21 +411,21 @@ void proto_register_cdt (void) { NULL, HFILL }}, /*--- End of included file: packet-cdt-hfarr.c ---*/ -#line 103 "../../asn1/cdt/packet-cdt-template.c" +#line 103 "./asn1/cdt/packet-cdt-template.c" }; /* List of subtrees */ static gint *ett[] = { /*--- Included file: packet-cdt-ettarr.c ---*/ -#line 1 "../../asn1/cdt/packet-cdt-ettarr.c" +#line 1 "./asn1/cdt/packet-cdt-ettarr.c" &ett_cdt_CompressedData, &ett_cdt_CompressionAlgorithmIdentifier, &ett_cdt_CompressedContentInfo, &ett_cdt_T_contentType, /*--- End of included file: packet-cdt-ettarr.c ---*/ -#line 108 "../../asn1/cdt/packet-cdt-template.c" +#line 108 "./asn1/cdt/packet-cdt-template.c" }; static ei_register_info ei[] = { @@ -450,12 +450,12 @@ void proto_register_cdt (void) { void proto_reg_handoff_cdt (void) { /*--- Included file: packet-cdt-dis-tab.c ---*/ -#line 1 "../../asn1/cdt/packet-cdt-dis-tab.c" +#line 1 "./asn1/cdt/packet-cdt-dis-tab.c" register_ber_oid_dissector("1.3.26.0.4406.0.4.2", dissect_CompressedData_PDU, proto_cdt, "cdt"); /*--- End of included file: packet-cdt-dis-tab.c ---*/ -#line 131 "../../asn1/cdt/packet-cdt-template.c" +#line 131 "./asn1/cdt/packet-cdt-template.c" data_handle = find_dissector ("data"); } |