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-pres.c | |
parent | c1f3c935bdd33090c87f0d2f84842ce9729b747a (diff) | |
download | wireshark-54a520d4a1151c68d0b4e5f09a8d82466fa499f3.tar.gz |
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-pres.c')
-rw-r--r-- | epan/dissectors/packet-pres.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/epan/dissectors/packet-pres.c b/epan/dissectors/packet-pres.c index 651620e6ea..5d028d625e 100644 --- a/epan/dissectors/packet-pres.c +++ b/epan/dissectors/packet-pres.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-pres.c */ -/* ../../tools/asn2wrs.py -b -p pres -c ./pres.cnf -s ./packet-pres-template -D . -O ../../epan/dissectors ISO8823-PRESENTATION.asn ISO9576-PRESENTATION.asn */ +/* asn2wrs.py -b -p pres -c ./pres.cnf -s ./packet-pres-template -D . -O ../.. ISO8823-PRESENTATION.asn ISO9576-PRESENTATION.asn */ /* Input file: packet-pres-template.c */ -#line 1 "../../asn1/pres/packet-pres-template.c" +#line 1 "./asn1/pres/packet-pres-template.c" /* packet-pres.c * Routine to dissect ISO 8823 OSI Presentation Protocol packets * Based on the dissector by @@ -95,7 +95,7 @@ static int hf_pres_Typed_data_type = -1; /*--- Included file: packet-pres-hf.c ---*/ -#line 1 "../../asn1/pres/packet-pres-hf.c" +#line 1 "./asn1/pres/packet-pres-hf.c" static int hf_pres_UD_type_PDU = -1; /* UD_type */ static int hf_pres_mode_selector = -1; /* Mode_selector */ static int hf_pres_x410_mode_parameters = -1; /* RTORQapdu */ @@ -176,14 +176,14 @@ static int hf_pres_User_session_requirements_symmetric_synchronize = -1; static int hf_pres_User_session_requirements_data_separation = -1; /*--- End of included file: packet-pres-hf.c ---*/ -#line 89 "../../asn1/pres/packet-pres-template.c" +#line 89 "./asn1/pres/packet-pres-template.c" /* Initialize the subtree pointers */ static gint ett_pres = -1; /*--- Included file: packet-pres-ett.c ---*/ -#line 1 "../../asn1/pres/packet-pres-ett.c" +#line 1 "./asn1/pres/packet-pres-ett.c" static gint ett_pres_CP_type = -1; static gint ett_pres_T_normal_mode_parameters = -1; static gint ett_pres_T_extensions = -1; @@ -222,7 +222,7 @@ static gint ett_pres_User_session_requirements = -1; static gint ett_pres_UD_type = -1; /*--- End of included file: packet-pres-ett.c ---*/ -#line 94 "../../asn1/pres/packet-pres-template.c" +#line 94 "./asn1/pres/packet-pres-template.c" static expert_field ei_pres_dissector_not_available = EI_INIT; static expert_field ei_pres_wrong_spdu_type = EI_INIT; @@ -354,7 +354,7 @@ pres_free_cb(void *r) /*--- Included file: packet-pres-fn.c ---*/ -#line 1 "../../asn1/pres/packet-pres-fn.c" +#line 1 "./asn1/pres/packet-pres-fn.c" static const value_string pres_T_mode_value_vals[] = { { 0, "x410-1984-mode" }, @@ -432,7 +432,7 @@ dissect_pres_Called_presentation_selector(gboolean implicit_tag _U_, tvbuff_t *t static int dissect_pres_Presentation_context_identifier(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 71 "../../asn1/pres/pres.cnf" +#line 71 "./asn1/pres/pres.cnf" const char *name; char *oid; struct SESSION_DATA_STRUCTURE* session = (struct SESSION_DATA_STRUCTURE*)actx->private_data; @@ -496,13 +496,13 @@ static const ber_sequence_t Context_list_item_sequence[] = { static int dissect_pres_Context_list_item(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 97 "../../asn1/pres/pres.cnf" +#line 97 "./asn1/pres/pres.cnf" abstract_syntax_name_oid=NULL; offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Context_list_item_sequence, hf_index, ett_pres_Context_list_item); -#line 100 "../../asn1/pres/pres.cnf" +#line 100 "./asn1/pres/pres.cnf" register_ctx_id_and_oid(actx->pinfo, presentation_context_identifier, abstract_syntax_name_oid); return offset; @@ -632,7 +632,7 @@ dissect_pres_Simply_encoded_data(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, i static int dissect_pres_T_single_ASN1_type(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 35 "../../asn1/pres/pres.cnf" +#line 35 "./asn1/pres/pres.cnf" tvbuff_t *next_tvb; char *oid; @@ -655,7 +655,7 @@ dissect_pres_T_single_ASN1_type(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, in static int dissect_pres_T_octet_aligned(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 49 "../../asn1/pres/pres.cnf" +#line 49 "./asn1/pres/pres.cnf" tvbuff_t *next_tvb; char *oid; @@ -1084,7 +1084,7 @@ static const value_string pres_Abort_reason_vals[] = { static int dissect_pres_Abort_reason(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 90 "../../asn1/pres/pres.cnf" +#line 90 "./asn1/pres/pres.cnf" guint32 reason; offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, @@ -1359,7 +1359,7 @@ static int dissect_UD_type_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_ /*--- End of included file: packet-pres-fn.c ---*/ -#line 224 "../../asn1/pres/packet-pres-template.c" +#line 224 "./asn1/pres/packet-pres-template.c" /* @@ -1530,7 +1530,7 @@ void proto_register_pres(void) { /*--- Included file: packet-pres-hfarr.c ---*/ -#line 1 "../../asn1/pres/packet-pres-hfarr.c" +#line 1 "./asn1/pres/packet-pres-hfarr.c" { &hf_pres_UD_type_PDU, { "UD-type", "pres.UD_type_element", FT_NONE, BASE_NONE, NULL, 0, @@ -1841,7 +1841,7 @@ void proto_register_pres(void) { NULL, HFILL }}, /*--- End of included file: packet-pres-hfarr.c ---*/ -#line 393 "../../asn1/pres/packet-pres-template.c" +#line 393 "./asn1/pres/packet-pres-template.c" }; /* List of subtrees */ @@ -1849,7 +1849,7 @@ void proto_register_pres(void) { &ett_pres, /*--- Included file: packet-pres-ettarr.c ---*/ -#line 1 "../../asn1/pres/packet-pres-ettarr.c" +#line 1 "./asn1/pres/packet-pres-ettarr.c" &ett_pres_CP_type, &ett_pres_T_normal_mode_parameters, &ett_pres_T_extensions, @@ -1888,7 +1888,7 @@ void proto_register_pres(void) { &ett_pres_UD_type, /*--- End of included file: packet-pres-ettarr.c ---*/ -#line 399 "../../asn1/pres/packet-pres-template.c" +#line 399 "./asn1/pres/packet-pres-template.c" }; static ei_register_info ei[] = { |