netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libpcap and tc filters
@ 2011-07-04  7:38 Adam Katz
  2011-07-04 10:20 ` Eric Dumazet
  2011-07-04 11:11 ` jamal
  0 siblings, 2 replies; 21+ messages in thread
From: Adam Katz @ 2011-07-04  7:38 UTC (permalink / raw)
  To: netdev

Hi Everyone

I'm sorry for littering the mailing list with this question, but no
other place could help me..

I'm attempting to use tc to shape traffic sent using libpcap, I'm
doing this for a research project. I have a classful scheduler with
several classes, to this scheduler I attach a few filters based on
destination tcp ports.

My problem is this: When sending packets using a normal userland
socket, the filters work and I see the appropriate traffic entering
the right class. BUT when sending packets with libpcap, all packets
end up in the scheduler's default band as if the filters simply refuse
to work.

Can anyone suggest a solution?

^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <CAA0qwj5Ktxi=v3XDAdTpKS_pWa+HjFL5XcN2qsK5m57JJ5G2Bg@mail.gmail.com>]

end of thread, other threads:[~2011-07-05 20:07 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-04  7:38 libpcap and tc filters Adam Katz
2011-07-04 10:20 ` Eric Dumazet
2011-07-04 11:11 ` jamal
2011-07-04 12:01   ` Adam Katz
2011-07-04 12:37     ` Adam Katz
2011-07-04 13:05       ` jamal
2011-07-04 13:24         ` Adam Katz
2011-07-04 14:06           ` jamal
2011-07-04 14:16             ` Adam Katz
2011-07-05 10:56               ` jamal
2011-07-05 12:47                 ` jamal
2011-07-05 13:07                   ` Adam Katz
2011-07-05 13:56                     ` jamal
2011-07-05 14:21                       ` Adam Katz
2011-07-05 14:41                         ` jamal
2011-07-05 15:16                           ` Adam Katz
2011-07-05 16:14                             ` Eric Dumazet
2011-07-05 16:54                               ` Adam Katz
2011-07-05 19:19                                 ` jamal
2011-07-05 20:07                                   ` Adam Katz
     [not found] <CAA0qwj5Ktxi=v3XDAdTpKS_pWa+HjFL5XcN2qsK5m57JJ5G2Bg@mail.gmail.com>
2011-07-03 12:49 ` Adam Katz

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