kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Queries about Net-Filter Hooks !!!
@ 2011-11-21 10:39 Kesava Srinivas
  2011-12-11  0:43 ` Peter Teoh
  0 siblings, 1 reply; 2+ messages in thread
From: Kesava Srinivas @ 2011-11-21 10:39 UTC (permalink / raw)
  To: kernelnewbies

HI Friends,
Trying to Play with Net-Filter Hooks and here are my Queries!

1] While adding a New UDP/IP Header over the received skbuffer from
NetFilter Module;need to fill the UDP Check-sum. Please let me know ; if
there is any Kernel Function which we can use to do this Job ??? OR Do I
need to write our own Function to calculate the Check-sum ???

2] Once after adding New Headers to the received skbuffer ; am trying to
return NF_ACCEPT. My Understanding was that ; the newly expanded skbuffer
with added Headers will be again taken my Net-Filter Hooks Module and will
deliver back to the net device. rt? OR Was there some thing more that I
should do ; to send the new skbuffer to the device ??

Looking forward for the reply !!

-Thanks in Advance,
VKS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111121/88302db5/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-11  0:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 10:39 Queries about Net-Filter Hooks !!! Kesava Srinivas
2011-12-11  0:43 ` Peter Teoh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).