> > +#define BIOCGQUEUE _IOR('B',126, u_int32_t)
> > +#define BIOCSQUEUE _IOW('B',127, u_int32_t)
>
> these ioctls can take u_int to be consistent with how you're using
> them.
Sorry everyone. I wanted to make it all the same type -- u_int32_t,
and obviously forgot it in the kernel part.
Do you
On Tue, Mar 19, 2013 at 16:10 +0100, Martin Pelikan wrote:
> Hi!
>
> Yesterday I got sick and tired of guessing what the enormous traffic in our
> default queue was, and filled an item from my wishlist since OpenBSD 4.7.
>
> It works like this:
>
> # tcpdump -Q queuename -ni em0
> tcpdump: liste
> This mail contains changes required to the kernel, subsequent ones have the
> (most complicated) tcpdump(8) bit and (untested) pcap(3) bit.
Just as pcap_setdirection(3), it doesn't have any current user, but it
might be useful to some.
Index: lib/libpcap/Makefile
=
> This mail contains changes required to the kernel, subsequent ones have the
> (most complicated) tcpdump(8) bit and (untested) pcap(3) bit.
tcpdump(8) change follows:
Index: usr.sbin/tcpdump/privsep.c
===
RCS file: /cvs/src/usr.s
Hi!
Yesterday I got sick and tired of guessing what the enormous traffic in our
default queue was, and filled an item from my wishlist since OpenBSD 4.7.
It works like this:
# tcpdump -Q queuename -ni em0
tcpdump: listening on vic0, queue a, link-type EN10MB
... usual output ...
This mail conta