Re: skb_* function to get pointer to udp payload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 2012-08-07 15:42, Arif Hossain wrote:

>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.

It is correct to use skb_h_p in either chain.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux