getting IP-address of a packet using libipq ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/ .





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux