Hi, Thank you very much. I really appreciate the quick response. I spent last couple of days hitting my head because my captured packets never matched with ether_print() function. I should have looked into sll_if_print() function.
I got confused because when I tried dumping with tcpdump, I used '-i lo', It displayed EN10MB, but my program always dumps from 'any' interface. Anyway I got the answer now. You guys are very much helpful. Thanks, Mohan R - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.