Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/net Move indirect function call vectors to if....



details:   https://anonhg.NetBSD.org/src/rev/4386e19917c5
branches:  pgoyette-compat
changeset: 320960:4386e19917c5
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Mar 06 23:19:20 2018 +0000

description:
Move indirect function call vectors to if.h where they can be
found by the code that manipulates them.

diffstat:

 sys/net/if.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 95851e8102e4 -r 4386e19917c5 sys/net/if.h
--- a/sys/net/if.h      Tue Mar 06 23:17:42 2018 +0000
+++ b/sys/net/if.h      Tue Mar 06 23:19:20 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.h,v 1.258 2018/01/15 13:05:40 maxv Exp $    */
+/*     $NetBSD: if.h,v 1.258.2.1 2018/03/06 23:19:20 pgoyette Exp $    */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -1332,5 +1332,11 @@
        { "peak", CTLTYPE_INT }, \
        { "drops", CTLTYPE_INT }, \
 }
+
+/* compat function vectors */
+extern int (*vec_compat_ifdatareq)(struct lwp *, u_long, void *);
+extern void (*vec_compat_ifreqo2n)(struct oifreq *, struct ifreq *);
+extern int stub_compat_ifconf(u_long, void *);
+
 #endif /* _NETBSD_SOURCE */
 #endif /* !_NET_IF_H_ */



Home | Main Index | Thread Index | Old Index