Netdev List
 help / color / mirror / Atom feed
* noob dev question
@ 2007-09-11  0:09 DHAJOGLO
  0 siblings, 0 replies; only message in thread
From: DHAJOGLO @ 2007-09-11  0:09 UTC (permalink / raw)
  To: netdev

I'm new to the list and new to just about everything involving kernel development.  I'm working on a project where I have successfully written a LKM to handle IP packets for protocol type 253 (an experimental protocol number).  Now, I'm working on sending my reply and I hit a road block.  I'm not sure if I should:

1) create a new skb with my protocol data and try to pass it to the IP handler
OR
2) use the inbound skb and just turn it around and use it to send back out manually via a NF Hook.

Ideally I would like to get my reply formatted and sent into ip_queue_xmit but I'm at the limit of what I can do regarding the manipulation of the socket buffers.  I'm currently working in 2.6.18.8 as the book I'm using does not reflect some of the newer changes to the sk_buff struct.  Any help or pointers would be nice.  I'm looking more for online tutorials at this point.

Regards,
-dave




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-11  0:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11  0:09 noob dev question DHAJOGLO

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox