Re: Sending IP datagrams

2005-03-07 Thread Ben Greear
Josef E. Galea wrote: 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. -sco

Re: Sending IP datagrams

2005-03-07 Thread Scott Feldman
On Mar 7, 2005, at 4:53 PM, Josef E. Galea wrote: 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. Well the network device driver wants a sk_buff (hard_start_xmit) so you'd need to modify the network

Re: Sending IP datagrams

2005-03-07 Thread Josef E. Galea
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 u

Re: Sending IP datagrams

2005-03-07 Thread Scott Feldman
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 - To unsubscribe from this list: send the