mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 05:28:32 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user