-/* $OpenBSD: if.h,v 1.3 1996/03/05 15:44:23 mickey Exp $ */
+/* $OpenBSD: if.h,v 1.4 1996/05/06 05:43:43 mickey Exp $ */
/* $NetBSD: if.h,v 1.20 1996/02/13 22:00:12 christos Exp $ */
/*
struct rtentry;
struct socket;
struct ether_header;
+struct arpcom;
/*
* Structure defining statistics and other data kept regarding a network
struct ifnet_head ifnet;
void ether_ifattach __P((struct ifnet *));
+int ether_ioctl __P((struct ifnet *, struct arpcom *, u_long, caddr_t));
void ether_input __P((struct ifnet *, struct ether_header *, struct mbuf *));
int ether_output __P((struct ifnet *,
struct mbuf *, struct sockaddr *, struct rtentry *));
-/* $OpenBSD: if_ethersubr.c,v 1.9 1996/05/05 13:39:50 mickey Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.10 1996/05/06 05:43:41 mickey Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.18 1996/02/13 22:00:14 christos Exp $ */
/*
{
struct ifaddr *ifa = (struct ifaddr *)data;
struct ifreq *ifr = (struct ifreq *)data;
+ int error = 0;
switch (cmd) {
default:
break;
}
- return 0;
+
+ return error;
}
/*