summaryrefslogtreecommitdiffstats
path: root/sys/net/if.h
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1996-12-10 07:29:50 +0000
committerdg <dg@FreeBSD.org>1996-12-10 07:29:50 +0000
commit1665979d2e5ce0eb4858dedb47572346ff1eadef (patch)
tree6dd10ac37eb6c182f025fad192efc51d37c719ca /sys/net/if.h
parent46f2dd81651991d6e396015c9ce7929a0ca242ec (diff)
downloadFreeBSD-src-1665979d2e5ce0eb4858dedb47572346ff1eadef.zip
FreeBSD-src-1665979d2e5ce0eb4858dedb47572346ff1eadef.tar.gz
1) Implement SIOCSIFMTU in ether_ioctl(), and change ether_ioctl's return
type to be int so that errors can be returned. 2) Use the new SIOCSIFMTU ether_ioctl support in the few drivers that are using ether_ioctl(). 3) In if_fxp.c: treat if_bpf as a token, not as a pointer. Don't bother testing for FXP_NTXSEG being reached in fxp_start()...just check for non-NULL 'm'. Change fxp_ioctl() to use ether_ioctl().
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 67a7c17..9d7985a 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if.h 8.1 (Berkeley) 6/10/93
- * $Id: if.h,v 1.35 1996/10/12 19:49:22 bde Exp $
+ * $Id: if.h,v 1.36 1996/10/21 23:05:57 fenner Exp $
*/
#ifndef _NET_IF_H_
@@ -418,7 +418,7 @@ void ether_ifattach __P((struct ifnet *));
void ether_input __P((struct ifnet *, struct ether_header *, struct mbuf *));
int ether_output __P((struct ifnet *,
struct mbuf *, struct sockaddr *, struct rtentry *));
-void ether_ioctl __P((struct ifnet *, int , caddr_t ));
+int ether_ioctl __P((struct ifnet *, int, caddr_t));
void if_attach __P((struct ifnet *));
void if_down __P((struct ifnet *));
OpenPOWER on IntegriCloud