void loopattach(int n) { (void)loop_clone_create(&loop_cloner, 0); /* lo0 always exists */ if_clone_attach(&loop_cloner); }
void loopattach(int n) { if (loop_clone_create(&loop_cloner, 0)) panic("unable to create lo0"); if_clone_attach(&loop_cloner); }
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); }
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; }
/* ARGSUSED */ void loopattach(int n) { (void) loop_clone_create(&loop_cloner, 0); if_clone_attach(&loop_cloner); }