Hi, I’m using wireshark 0.99.5 sources. The below code is right. I’ve added the operations in the same
way. Here are the steps followed: My GSMMAP.asn files looks 1. OperationLocalvalue ::= INTEGER{
updateLocation (2), :
noteMM-Event (89),
operation1(152),
operation2(153) } 2. Operation descriptions of operation1
& operation2 are added 3. packet-gsm_map-template.c is updated
with gsm_map_opr_code_strings[]={ {
2, "updateLocation" }, : {
152, "operation1" }, {
153, "operation2" } } dissect_invokeData() switch(opcode){ case 2: /*updateLocation*/ dissect_gsm_map_UpdateLocationArg();
break; : case 152: /*operation 1*/ dissect_gsm_map_Operation1Arg();
break; case 153: /*operation 2*/ dissect_gsm_map_Operation2Arg();
break; } return offset; } 3. makefile is used to generate packet-gsm_map.c,
packet-gsm_map.h. Options used with asn2wrs are: python ../../tools/asn2wrs.py -b -e -p
gsm_map -c gsmmap.cnf -s packet-gsm_map-template GSMMAP.asn 4. Generated packet-gsm_map.c, packet-gsm_map.h
are copied to ../../epan/dissectors folder. Standard makefile present in the wireshark-0.99.5
directory is used to build the wireshark exe. The same steps when followed with
operation codes with 90,91 or 94,95 work fine. Thanks for your time. Best Regards, Bhavani. From:
"Anders Broman \(AL/EAB\)" <anders.broman@xxxxxxxxxxxx>
From: DurgaBhavani
Uppuluru Sent: Monday, February
26, 2007 10:46 AM Hi Anders, Hex value shown, in the bytes pane is 99. I’ve tried other numbers too
(>150) and I get similar result. Best Regards, Bhavani. From: "Anders Broman" <a.broman@xxxxxxxxx> Hi, What is the hex value shown in the bytes pane when marking localvalue in the middle pane? Best regards Anders
From: DurgaBhavani
Uppuluru Hi All, Greetings to you. I’m adding an operation with local value 153 to GSMMAP. But dissector does not recognize 153, it reports Unknown -103. Kindly tell me how to set this value. Thanks, Bhavani.
|
- Prev by Date: Re: [Wireshark-dev] [Patch] Add "Copy as Filter" to the detail-pane context menu
- Next by Date: [Wireshark-dev] Regarding Dissector
- Previous by thread: Re: [Wireshark-dev] local operation code in MAP
- Next by thread: Re: [Wireshark-dev] local operation code in MAP
- Index(es):