summaryrefslogtreecommitdiffstats
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r--sys/net/if_var.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 21cf174..7e760c7 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -401,7 +401,7 @@ void if_up __P((struct ifnet *));
/*void ifinit __P((void));*/ /* declared in systm.h for main() */
int ifioctl __P((struct socket *, u_long, caddr_t, struct proc *));
int ifpromisc __P((struct ifnet *, int));
-struct ifnet *ifunit __P((char *));
+struct ifnet *ifunit __P((const char *));
struct ifnet *if_withname __P((struct sockaddr *));
int if_poll_recv_slow __P((struct ifnet *ifp, int *quotap));
@@ -423,6 +423,12 @@ struct ifmultiaddr *ifmaof_ifpforaddr __P((struct sockaddr *,
struct ifnet *));
int if_simloop __P((struct ifnet *ifp, struct mbuf *m, int af, int hlen));
+void if_clone_attach __P((struct if_clone *));
+void if_clone_detach __P((struct if_clone *));
+
+int if_clone_create __P((char *, int));
+int if_clone_destroy __P((const char *));
+
#endif /* _KERNEL */
#endif /* !_NET_IF_VAR_H_ */
OpenPOWER on IntegriCloud