Re: packet-data

From: Jan Engelhardt
Date: Tue Feb 28 2006 - 14:17:02 EST


>
>hello.. i know how to capture a packet using netfilter hook.. i even
>succeeded in getting the source and destination adderss of the
>captured packet. but i was unable to retrive data from the packet ..
>i came to know that there are pointers to access it . but can anybody
>plz show me an example to access data.. thanks in advance.

look at ipt_XOR, for a simple example.


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/