Re: Set pointer to TCP header in callback function

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

 



On Wednesday 2010-04-14 05:40, Justin Yaple wrote:
>
>tcph = (struct tcphdr *) (((u_int32_t *)payload) + (iph->ihl * 4));

You don't use both uint32_t and *4.
--
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