lkml.org 
[lkml]   [2005]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Sending IP datagrams
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.040 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site