Yes, the #if stuff I have had to adapt for OS X as well.
I'll try with a cable tonight to see if that works better than wireless...
Johnny
Jean-Yves Bernier wrote:
At 2:17 AM +0100 2/15/10, Johnny Billquist wrote:
Do anyone have experience with Apples pcap library? It is supposed to be
a plain bsd pcap, but I have a problem that I haven't figured out yet,
and thought that maybe someone here already knows, so I don't have to go
figure it out myself.
I have your bridge working on Mac OS X.
I forced
#define __FreeBSD__
to get
ioctl(BIOCIMMEDIATE, BIOCSHDRCMPLT) compiled.
I get the same packets as tcpdump, that is:
- broadcasts from all nodes, if I run on a distinct machine (no simulator)
router-hello, lev-1-routing, lev-2-routing
- broadcasts and unicasts to me, if I run on a machine hosting a simulator
link-service, data-ack, ils-ack, data
I am on a switched network with unmanaged switches, so i'm unable to sniff
all traffic for the moment.
Show replies by date