* Perform generic interface initialization tasks and attach the interface * to the list of "active" interfaces. If vmove flag is set on entry * to if_attach_internal(), perform only a limited subset of initialization * tasks, given that we are moving from one vnet to another an ifnet which * has already been fully initialized. * * Note that if_detach_internal() removes group membership unco
| 797 | * do anything to insure if_xname is unique or non-empty. |
| 798 | */ |
| 799 | void |
| 800 | if_attach(struct ifnet *ifp) |
| 801 | { |
| 802 | |
| 803 | if_attach_internal(ifp, 0, NULL); |
| 804 | } |
| 805 | |
| 806 | /* |
| 807 | * Compute the least common TSO limit. |
no test coverage detected