Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: tcpdump sees nothing?
On Sat, Apr 01, 2006 at 10:20:24PM +0200, Stephane Bortzmeyer wrote:
> I have a NetBSD 3.99.17 domU on Xen 3. Networking seems to work fine
> but tcpdump is blind: it never displays anything.
Ops, yes, forgot to include bpfilter.h so the driver is not aware that
there are bpf configured.
please apply the attached patch (or cvs update)
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Index: xen/if_xennet_xenbus.c
===================================================================
RCS file: /cvsroot/src/sys/arch/xen/xen/if_xennet_xenbus.c,v
retrieving revision 1.4
diff -u -r1.4 if_xennet_xenbus.c
--- xen/if_xennet_xenbus.c 19 Mar 2006 00:30:00 -0000 1.4
+++ xen/if_xennet_xenbus.c 2 Apr 2006 13:53:32 -0000
@@ -66,6 +66,7 @@
#include "opt_xen.h"
#include "opt_nfs_boot.h"
#include "rnd.h"
+#include "bpfilter.h"
#include <sys/param.h>
#include <sys/device.h>
@@ -79,6 +80,10 @@
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_ether.h>
+#if NBPFILTER > 0
+#include <net/bpf.h>
+#include <net/bpfdesc.h>
+#endif
#if defined(NFS_BOOT_BOOTSTATIC)
#include <sys/fstypes.h>
Home |
Main Index |
Thread Index |
Old Index