diff options
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libnetworking/net/if.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index d643274639..b0e708ccf9 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -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 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 */ |