how to use libwireshark to parse the pcap captured packets ?
https://www.thegeekstuff.com/2014/12/...
Above mentioned link gives some clues of how to use libwireshark to parse the captured packets but I am failed to compile it.
Could someone have better solution for it?
I want to parse enip/cip packets using c programming.
Thanks !!
Not sure I get it. Wireshark has dissectors for enip and cip I think. Can't you use/extend them?
I want to develop proprietary solution & that's why I want to take advantage of already available parsing logic using libwireshark
libwireshark isb't really built to be a standalone library so you are probably on your own figuring out how to use it. Note that you would have to GPL your solution.