[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+FuTSdaZ+xw1Kj6j2VZSuT0ArOG92gPn54Hrz_eSJHOvQ0yhQ@mail.gmail.com>
Date: Mon, 21 Jul 2014 18:36:48 -0400
From: Willem de Bruijn <willemb@...gle.com>
To: mihail.dakov@...t.com
Cc: Daniel Borkmann <dborkman@...hat.com>, netdev@...r.kernel.org
Subject: Re: AF_PACKET: tx_ring mirrored in rx_ring?
> {BPF_JMP | BPF_JEQ, 1, 0, PACKET_OUTGOING},
> {BPF_RET, 0, 0, 0x00000000},
> {BPF_RET, 0, 0, 0x0000ffff},
Small error: the condition has to be inverted for your use case. This
filters out only outgoing packets.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists