Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpnet add an empty stub



details:   https://anonhg.NetBSD.org/src/rev/c0ca29f0d2df
branches:  trunk
changeset: 318814:c0ca29f0d2df
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 05 23:42:00 2018 +0000
description:
add an empty stub

diffstat:

 sys/rump/librump/rumpnet/net_stub.c |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 67b994a56ca7 -r c0ca29f0d2df sys/rump/librump/rumpnet/net_stub.c
--- a/sys/rump/librump/rumpnet/net_stub.c       Sat May 05 22:14:45 2018 +0000
+++ b/sys/rump/librump/rumpnet/net_stub.c       Sat May 05 23:42:00 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net_stub.c,v 1.33 2018/04/28 14:21:03 maxv Exp $       */
+/*     $NetBSD: net_stub.c,v 1.34 2018/05/05 23:42:00 christos Exp $   */
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.33 2018/04/28 14:21:03 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.34 2018/05/05 23:42:00 christos Exp $");
 
 #include <sys/mutex.h>
 #include <sys/param.h>
@@ -34,6 +34,8 @@
 #include <sys/socketvar.h>
 #include <sys/pslist.h>
 #include <sys/psref.h>
+#include <sys/sysctl.h>
+#include <sys/un.h>
 
 #include <net/if.h>
 #include <net/route.h>
@@ -83,6 +85,12 @@
 percpu_t *ipsecstat_percpu;
 u_int ipsec_spdgen;
 
+/* sysctl */
+void
+unp_sysctl_create(struct sysctllog **clog)
+{
+}
+
 __weak_alias(ah4_ctlinput,rumpnet_stub);
 __weak_alias(ah6_ctlinput,rumpnet_stub);
 __weak_alias(esp4_ctlinput,rumpnet_stub);



Home | Main Index | Thread Index | Old Index