On Thu, May 30, 2002 at 09:27:56PM +0500, Saaid Anwar Khan wrote:
> the 'packet' which arrives from the kernel, is through a library called 
> libipq and it doesnt return the packet as such but some structure which 
> contains the harware address, data lenght , payload(optional), in interface, 
> out interface, hook type etc. There is no mention of ip header anywhere..the 
> most i get out of the original packet is the payload. I was asking if i can 
> get the source and destination ip of the packet which arrives through the 
> lipipq function: ipq_get_packet(char* buf).

payload == the original packet (including l3+l4 header)

it doesn't mean payload of the ip packet, but payload of the ipq message

-- 
Live long and prosper
- Harald Welte / [EMAIL PROTECTED]               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ 
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)

Reply via email to