I'm writing an application for iPhone (using objective-c) but as I want it to parse a pcap file (packet dump) I thought of writing that part in strict C.
The thing is, I'm not really sure how to do this. I've googled for resources but have yet to find anything.
I have to parse the contents of a pcap dump file so that I can add each packets to a table that I've already set up.
Do you have any resources of small snippets on how to successfully parse a pcap file?