Re: Extracting info from frag packet in pre route hook

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

 



On Thu, Jan 5, 2012 at 1:21 PM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:
> You need
>
>  struct udphdr *udph = skb_header_pointer(...)
>

This solved the problem, what offset to use was not clear to me
initially but it eventually turned out to be 20. Thanks so much

Vivek
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux