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.
This commit is contained in:
Joel Sherrill
2005-06-17 14:37:24 +00:00
parent cb4185cb7c
commit 91683dc04d
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
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.
2005-06-09 Jacques Seronie Vivien <jacques.seronievivien@astrium.eads.net>
PR 790/rtems
+2 -1
View File
@@ -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 */