By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,376 Members | 1,668 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,376 IT Pros & Developers. It's quick & easy.

extracting packet info using libipq C library

P: 7
I need to extract packet info (the destination address , time of arrival and destination port), for this i'm using libipq and netinet/ip.h (C libraries). The problem is that struct iphdr contains IP address while I should know the DNS name,to be required by my program to compare it with a DNS name in my program . How could this be obtained ?

Please help .(required with urgency )
May 28 '07 #1
Share this Question
Share on Google+
1 Reply


AdrianH
Expert 100+
P: 1,251
I need to extract packet info (the destination address , time of arrival and destination port), for this i'm using libipq and netinet/ip.h (C libraries). The problem is that struct iphdr contains IP address while I should know the DNS name,to be required by my program to compare it with a DNS name in my program . How could this be obtained ?

Please help .(required with urgency )
How can you miss the sign that says "DO NOT POST QUESTIONS HERE"?!?!

Next time post in the Forums section.


Adrian
May 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.