Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

convert_proto_tree_add_text.pl is not generating any output file

Hi,

i am trying to migrate one plugin from wireshark 1.12.8 to wireshark 2.6.3. the existing packet-xxx.c file has proto_tree_add_item() API calls which are removed from 2.6.3. i do observe a tool convert_proto_tree_add_text.pl and tried to run it as mentioned below, 1) ./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c 2)./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c

out put: root@epc:~/ravi/wireshark-wireshark-2.6.3/tools# ./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c root@epc:~/ravi/wireshark-wireshark-2.6.3/tools#./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c Couldn't open packet-fapi.c.proto_tree_input at ./convert_proto_tree_add_text.pl line 201. root@epc:~/ravi/wireshark-wireshark-2.6.3/tools#

it seems step1 is not generated any output file which is input for step2.

can you please let me know how to overcome this issue??

Thanks, Raju

convert_proto_tree_add_text.pl is not generating any output file

Hi,

i am trying to migrate one plugin from wireshark 1.12.8 to wireshark 2.6.3. 2.6.3 the existing packet-xxx.c file has proto_tree_add_item() API calls which are removed from 2.6.3. 2.6.3.

i do observe a tool convert_proto_tree_add_text.pl and tried to run it as mentioned below,

1)
./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
2)./convert_proto_tree_add_text.pl ./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.cpacket-fapi.c

output:

out put:

root@epc:~/ravi/wireshark-wireshark-2.6.3/tools# ./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
root@epc:~/ravi/wireshark-wireshark-2.6.3/tools#./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
Couldn't open packet-fapi.c.proto_tree_input at ./convert_proto_tree_add_text.pl line 201.
root@epc:~/ravi/wireshark-wireshark-2.6.3/tools# 

it seems step1 is not generated any output file which is input for step2.

can you please let me know how to overcome this issue??

Thanks, Raju

convert_proto_tree_add_text.pl is not generating any output file

Hi,

i am trying to migrate one plugin from wireshark 1.12.8 to wireshark 2.6.3 the existing packet-xxx.c file has proto_tree_add_item() API calls which are removed from 2.6.3.

i do observe a tool convert_proto_tree_add_text.pl and tried to run it as mentioned below,

./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c

output:

root@epc:~/ravi/wireshark-wireshark-2.6.3/tools# root@epc:~/raju/wireshark-wireshark-2.6.3/tools# ./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
root@epc:~/ravi/wireshark-wireshark-2.6.3/tools#./convert_proto_tree_add_text.pl root@epc:~/raju/wireshark-wireshark-2.6.3/tools#./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
Couldn't open packet-fapi.c.proto_tree_input at ./convert_proto_tree_add_text.pl line 201.

it seems step1 is not generated any output file which is input for step2.

can you please let me know how to overcome this issue??

Thanks, Raju

convert_proto_tree_add_text.pl is not generating any output file

Hi,

i am trying to migrate one plugin from wireshark 1.12.8 to wireshark 2.6.3 the existing packet-xxx.c file has proto_tree_add_item() API calls which are removed from 2.6.3.

i do observe a tool convert_proto_tree_add_text.pl and tried to run it as mentioned below,

./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c

output:

root@epc:~/raju/wireshark-wireshark-2.6.3/tools# ./convert_proto_tree_add_text.pl --action=generate --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
root@epc:~/raju/wireshark-wireshark-2.6.3/tools#./convert_proto_tree_add_text.pl --action=fix-all --encoding=ENC_LITTLE_ENDIAN packet-fapi.c
Couldn't open packet-fapi.c.proto_tree_input at ./convert_proto_tree_add_text.pl line 201.

it seems step1 is not generated any output file which is input for step2.

can you please let me know how to overcome this issue??

Thanks, Raju