Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Move the prototype definition of ether_input() from ...



details:   https://anonhg.NetBSD.org/src/rev/7e6fe760012e
branches:  trunk
changeset: 782275:7e6fe760012e
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Oct 25 11:53:14 2012 +0000

description:
Move the prototype definition of ether_input() from if.h to if_ether.h.

diffstat:

 sys/net/if.h       |  4 +---
 sys/net/if_ether.h |  3 ++-
 2 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 68d3184524f1 -r 7e6fe760012e sys/net/if.h
--- a/sys/net/if.h      Thu Oct 25 10:59:43 2012 +0000
+++ b/sys/net/if.h      Thu Oct 25 11:53:14 2012 +0000
@@ -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 *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);
diff -r 68d3184524f1 -r 7e6fe760012e sys/net/if_ether.h
--- a/sys/net/if_ether.h        Thu Oct 25 10:59:43 2012 +0000
+++ b/sys/net/if_ether.h        Thu Oct 25 11:53:14 2012 +0000
@@ -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_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 */
 
 /*



Home | Main Index | Thread Index | Old Index