Module Name: src Committed By: msaitoh Date: Thu Oct 25 11:53:14 UTC 2012
Modified Files: src/sys/net: if.h if_ether.h Log Message: Move the prototype definition of ether_input() from if.h to if_ether.h. To generate a diff of this commit: cvs rdiff -u -r1.154 -r1.155 src/sys/net/if.h cvs rdiff -u -r1.59 -r1.60 src/sys/net/if_ether.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if.h diff -u src/sys/net/if.h:1.154 src/sys/net/if.h:1.155 --- src/sys/net/if.h:1.154 Tue Oct 25 22:26:18 2011 +++ src/sys/net/if.h Thu Oct 25 11:53:14 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: if.h,v 1.154 2011/10/25 22:26:18 dyoung Exp $ */ +/* $NetBSD: if.h,v 1.155 2012/10/25 11:53:14 msaitoh Exp $ */ /*- * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc. @@ -852,8 +852,6 @@ extern struct ifnet **ifindex2ifnet; extern struct ifnet *lo0ifp; extern size_t if_indexlim; -void ether_input(struct ifnet *, struct mbuf *); - int ifreq_setaddr(u_long, struct ifreq *, const struct sockaddr *); struct ifnet *if_alloc(u_char); Index: src/sys/net/if_ether.h diff -u src/sys/net/if_ether.h:1.59 src/sys/net/if_ether.h:1.60 --- src/sys/net/if_ether.h:1.59 Sun Sep 30 05:08:08 2012 +++ src/sys/net/if_ether.h Thu Oct 25 11:53:14 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ether.h,v 1.59 2012/09/30 05:08:08 dholland Exp $ */ +/* $NetBSD: if_ether.h,v 1.60 2012/10/25 11:53:14 msaitoh Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -198,6 +198,7 @@ int ether_ioctl(struct ifnet *, u_long, int ether_addmulti(const struct sockaddr *, struct ethercom *); int ether_delmulti(const struct sockaddr *, struct ethercom *); int ether_multiaddr(const struct sockaddr *, uint8_t[], uint8_t[]); +void ether_input(struct ifnet *, struct mbuf *); #endif /* _KERNEL */ /*