Subject: Re: relationship between ingress policer and netfilter hooks?

From: Patrick McHardy <[email-masked]>
Date: Tue, 02 Jun 2009 19:04:44 +0200

Chris Friesen wrote:
> Hi all,
> 
> Can someone tell me where the hook is for incoming packets to be sent
> through the ingress policer?
> 
> In particular, I'm trying to find out how the ingress traffic shaping
> hook relates to the various netfilter hooks so that I can set them up to
> behave nicely together.

They're not related at all. The ingress qdisc is hooked at
net/dev/core.c:handle_ing().