| 212 | } |
| 213 | |
| 214 | void |
| 215 | if_clone_addif(struct if_clone *ifc, struct ifnet *ifp) |
| 216 | { |
| 217 | |
| 218 | if ((ifc->ifc_flags & IFC_NOGROUP) == 0) |
| 219 | if_addgroup(ifp, ifc->ifc_name); |
| 220 | |
| 221 | IF_CLONE_LOCK(ifc); |
| 222 | IFC_IFLIST_INSERT(ifc, ifp); |
| 223 | IF_CLONE_UNLOCK(ifc); |
| 224 | } |
| 225 | |
| 226 | /* |
| 227 | * Create a clone network interface. |
no test coverage detected