* skb_* function to get pointer to udp payload
@ 2012-08-07 13:42 Arif Hossain
2012-08-08 18:03 ` Jan Engelhardt
0 siblings, 1 reply; 2+ messages in thread
From: Arif Hossain @ 2012-08-07 13:42 UTC (permalink / raw)
To: netfilter-devel
Hi,
I need to get a pointer to udp payload in my xtables module in following
scenario:
1. From NF_INET_LOCAL_PREROUTING hook. As Transport headers are not yet
initialized, may be i need to play with offsets like
skb_header_pointer(skb, par->thoff,....). Not sure if its correct to use
skb_header_pointer this way though.
2. From NF_INET_LOCAL_OUT. This time as transport fields are already
initialized, i guess there is a direct function to get pointer to udp
payload.
Thanks in advance.
--
Cheers
aft
aftnix@gmail.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-08 18:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07 13:42 skb_* function to get pointer to udp payload Arif Hossain
2012-08-08 18:03 ` Jan Engelhardt
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).