Example #1
0
void
loopattach(int n)
{

    (void)loop_clone_create(&loop_cloner, 0);	/* lo0 always exists */
    if_clone_attach(&loop_cloner);
}
Example #2
0
void
loopattach(int n)
{
	if (loop_clone_create(&loop_cloner, 0))
		panic("unable to create lo0");

	if_clone_attach(&loop_cloner);
}
Example #3
0
void
loopinit(void)
{

	if (lo0ifp != NULL)	/* can happen in rump kernel */
		return;

	(void)loop_clone_create(&loop_cloner, 0);	/* lo0 always exists */
	if_clone_attach(&loop_cloner);
}
Example #4
0
int
loopattach(int n)
{
	int error;

	error = loop_clone_create(&loop_cloner, 0);	/* lo0 always exists */
	if ( error != 0 ) {
		return error;
	}
	if_clone_attach(&loop_cloner);

	return 0;
}
Example #5
0
/* ARGSUSED */
void
loopattach(int n)
{
	(void) loop_clone_create(&loop_cloner, 0);
	if_clone_attach(&loop_cloner);
}