From d4ab0aef967e8d9fc0891d4232284ccefbc05fc6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 6 Jun 2017 11:14:21 +0200 Subject: network: Move RTEMS specifics Move RTEMS specifics to . Introduce rtems_tap_ifreq. The interface tap support is RTEMS-specific and only available in the legacy network stack. Update #2833. --- cpukit/libnetworking/net/if.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'cpukit/libnetworking/net/if.h') diff --git a/cpukit/libnetworking/net/if.h b/cpukit/libnetworking/net/if.h index cfa140bb1c..3bedab4f6f 100644 --- a/cpukit/libnetworking/net/if.h +++ b/cpukit/libnetworking/net/if.h @@ -214,7 +214,6 @@ struct ifreq { int ifru_phys; int ifru_media; caddr_t ifru_data; - int (*ifru_tap)(struct ifnet *, struct ether_header *, struct mbuf *); } ifr_ifru; #define ifr_addr ifr_ifru.ifru_addr /* address */ #define ifr_dstaddr ifr_ifru.ifru_dstaddr /* other end of p-to-p link */ @@ -226,7 +225,6 @@ struct ifreq { #define ifr_phys ifr_ifru.ifru_phys /* physical wire */ #define ifr_media ifr_ifru.ifru_media /* physical media */ #define ifr_data ifr_ifru.ifru_data /* for use by interface */ -#define ifr_tap ifr_ifru.ifru_tap /* tap function */ }; struct ifaliasreq { -- cgit v1.2.3