netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Chris Friesen <cfriesen@nortel.com>
Cc: netdev@vger.kernel.org
Subject: Re: relationship between ingress policer and netfilter hooks?
Date: Tue, 02 Jun 2009 19:04:44 +0200	[thread overview]
Message-ID: <4A255BAC.8070406@trash.net> (raw)
In-Reply-To: <4A25457F.2070000@nortel.com>

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().

  reply	other threads:[~2009-06-02 17:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02 15:30 relationship between ingress policer and netfilter hooks? Chris Friesen
2009-06-02 17:04 ` Patrick McHardy [this message]
2009-06-02 18:24   ` Chris Friesen
2009-06-03  7:18     ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A255BAC.8070406@trash.net \
    --to=kaber@trash.net \
    --cc=cfriesen@nortel.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).