Re: Sending IP datagrams

From: Josef E. Galea
Date: Mon Mar 07 2005 - 20:07:24 EST


Scott Feldman wrote:


On Mar 7, 2005, at 3:48 PM, Josef E. Galea wrote:

Hi,

Is there any way, other than socket buffers, to send IP datagrams from a kernel module? If yes, can you please point me to some good tutorial or sample code


See net/core/pktgen.c for an example.

-scott

AFAIK that module uses socket buffers (struct sk_buff) to send the packets. I was asking whether there was another way to send the IP datagrams.

Thanks for your reply :)

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