diff options
author | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2012-05-12 12:58:17 +0000 |
---|---|---|
committer | Marco Pfatschbacher <mpf@cvs.openbsd.org> | 2012-05-12 12:58:17 +0000 |
commit | 4df681091f63c476cdd0ffb3d621f39480efbbe2 (patch) | |
tree | 153112f3e567b200ce20eec3966201d7ea8ed9d9 /sys/netinet | |
parent | b5faee3720d4892c5ef64751494a6e932e83ed42 (diff) |
Fix tcpdump for etherip packets.
bpf_mtap() needs to be called without the etherip_header.
Idea to use a forward declaration for struct tdb by claudio.
OK claudio@
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_ether.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_ether.h b/sys/netinet/ip_ether.h index 3eca19bf521..0dec9c768c8 100644 --- a/sys/netinet/ip_ether.h +++ b/sys/netinet/ip_ether.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ether.h,v 1.15 2010/05/11 09:36:07 claudio Exp $ */ +/* $OpenBSD: ip_ether.h,v 1.16 2012/05/12 12:58:16 mpf Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@adk.gr) * @@ -64,6 +64,8 @@ struct etherip_header { } #ifdef _KERNEL +struct tdb; + int etherip_output(struct mbuf *, struct tdb *, struct mbuf **, int); void etherip_input(struct mbuf *, ...); #ifdef INET6 |