mmand line, it should give you the right version number:
$ tshark -v
TShark 1.0.1
Copyright 1998-2008 Gerald Combs <[EMAIL PROTECTED]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PA
Eloy Paris a écrit :
>
> Give something like this a try (this code snippet assumes all the
> libwireshark initializations have been done already):
>
> [snip]
>
>
> fdata->lnk_t = wtap_pcap_encap_to_wtap_encap(DLT_RAW);
> [snip]
>
>
> Let us know how it goes.
>
> Cheers,
>
> Eloy Paris.-
> nete
l", NLPID_IP, ip_handle);
dissector_add("fr.ietf", NLPID_IP, ip_handle);
dissector_add("x.25.spi", NLPID_IP, ip_handle);
dissector_add("arcnet.protocol_id", ARCNET_PROTO_IP_1051,
ip_handle);
dissector_add("arcnet.protocol_id", ARCNET_PROTO_IP_1
Hello,
I *kind of* get what you mean, but I really don't know how to do that.
Let me explain what I do:
I use the wireshark library to analyze the packets I send it. The main
call to the library is done in my code through:
epan_dissect_run(edt, &pseudo_header, FakePacket , &fdata, 0);
where F
Hello Guys,
I have successfully written a program that uses the Wireshark Lib to
dissect some packets.
The thing is, through the API I was given from my boss, I can only
receive informations from the 3rd layer (IPv4, IPX, ... layer), which
confuses the dissectors, and screws the dissection.
O
Ok I answer to myself
The file inet_pton.c seems to be misplaced in the root directory,
instead of being in epan/.
This causes the make to output an error, not finding the inet_pton.c file.
I found a solution to compile correctly on a Japanese website which had
the very same problem in
BIENKOWSKI Guillaume [FR] a écrit :
>
> Hello guys,
>
> I have a problem compiling Wireshark 1.0.0; I get the following error:
>
> make[3]: Entering directory `/home/gbien/work/wireshark-1.0.0/epan'
> make[3]: *** No rule to make target `inet_pton.lo', needed by
> `libwireshark.la'. Stop.
> make[3
Look at the epan_dissect_* functions in the epan/epan.c and
epan/packet.c files.
The real work is done through the epan_dissect_run(..) function, but
it's not really clear in the documentation.
You can check the example of Eloy Paris in a previous discussion here:
http://www.wireshark.org/lists/
BIENKOWSKI Guillaume [FR] a écrit :
>
> Hello guys,
>
> I have a problem compiling Wireshark 1.0.0; I get the following error:
>
> make[3]: Entering directory `/home/gbien/work/wireshark-1.0.0/epan'
> make[3]: *** No rule to make target `inet_pton.lo', needed by
> `libwireshark.la'. Stop.
> make[3
Hello guys,
I have a problem compiling Wireshark 1.0.0; I get the following error:
make[3]: Entering directory `/home/gbien/work/wireshark-1.0.0/epan'
make[3]: *** No rule to make target `inet_pton.lo', needed by
`libwireshark.la'. Stop.
make[3]: Leaving directory `/home/gbien/work/wireshark-1.
10 matches
Mail list logo