Skip to contentSkip to conversation

getting IP-address of a packet using libipq ?

DISCUSSION [email protected] 1 participant 1 message Dec 12, 2002

lore
Share & tools
lore
#0 lore raw

Greetings everyone,

the libipq library tells about a lot of fields of a queued packet... But I could not find one which tells what the source and destination IP-address of the packet is... !!

Is there a way that I can get the IP-address from the libipq directly... if not is there a way that I can use the packet payload and get the IP-address.

Forgive if the question is silly.

Regards,
Narendra

In the middle of difficulty..... lies Opportunity. (Albert Einstein)
--------------------------------------------------------------------
Narendra Prabhu. B Free Software at its product-ive best.
DeepRoot Linux http://www.deeproot.co.in
---- Server Appliances ----
---- Linux Support and Services ----
-------------------------------------------------------------------

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .