summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-06-17 14:37:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-06-17 14:37:24 +0000
commit91683dc04d7fd95d32e38f0349f566def9a25bc6 (patch)
tree194634e7527cc0f4a071e8225a267f5fadcf47b5 /cpukit/libnetworking
parent2005-06-17 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-91683dc04d7fd95d32e38f0349f566def9a25bc6.tar.bz2
2005-06-17 Joel Sherrill <joel@OARcorp.com>
* libnetworking/net/if.h: Avoid use of struct mbuf to avoid unintended dependencies added by the RTEMS specific tap interface.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/net/if.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libnetworking/net/if.h b/cpukit/libnetworking/net/if.h
index f01fbab429..55571e14f9 100644
--- a/cpukit/libnetworking/net/if.h
+++ b/cpukit/libnetworking/net/if.h
@@ -212,7 +212,8 @@ struct ifreq {
int ifru_phys;
int ifru_media;
caddr_t ifru_data;
- int (*ifru_tap)(struct ifnet *, struct ether_header *, struct mbuf *);
+ /* third argument must be cast to a struct mbuf * */
+ int (*ifru_tap)(struct ifnet *, struct ether_header *, void *);
} ifr_ifru;
#define ifr_addr ifr_ifru.ifru_addr /* address */
#define ifr_dstaddr ifr_ifru.ifru_dstaddr /* other end of p-to-p link */