* NF_IP_POST_ROUTING hook question (2.4) [not found] <f36b08ee0710160328h3a45d18k41a32dcb8f6f3d4e@mail.gmail.com> @ 2007-10-16 12:03 ` Yakov Lerner 0 siblings, 0 replies; only message in thread From: Yakov Lerner @ 2007-10-16 12:03 UTC (permalink / raw) To: netdev In the NF_IP_POST_ROUTING hook function, how can I tell that packet originated locally vs was forwarded ? I need to hook NF_IP_POST_ROUTING not NF_IP_FORWARD. I'd expect that 'net_device *in' argument to be not NULL for forwarded packets. But what I see is NULL for both forwarded and locally sent packets (in NF_IP_POST_ROUTING hook). Which field of skb can tell me that packet originated locally ? Yakov ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-16 12:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <f36b08ee0710160328h3a45d18k41a32dcb8f6f3d4e@mail.gmail.com>
2007-10-16 12:03 ` NF_IP_POST_ROUTING hook question (2.4) Yakov Lerner
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).