Hello, i have a question, now i am programming a code to read the pcap file and make some measurements, i need information from the packet itself such as arrival time to the rcvr and src ip address, in order to get those information i have to access the PcapRecord data part right? ,now pcap doesn't understand these data so i cannot call a getSrcIP() method, now how do i access these packet data in the record data part? i really need this info and will appreciate any help :) asked 23 Apr '15, 03:00 yas1234 |
One Answer:
Yes, timings are read from the per-packet headers. To get IP addresses (and other details) from the packet itself you need to parse it - that's what the Wireshark dissectors do. answered 23 Apr '15, 11:18 Jasper ♦♦ |