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