From 1665979d2e5ce0eb4858dedb47572346ff1eadef Mon Sep 17 00:00:00 2001 From: dg Date: Tue, 10 Dec 1996 07:29:50 +0000 Subject: 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(). --- sys/net/if.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/if.h') 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 *)); -- cgit v1.1