MCPcopy Index your code
hub / github.com/F-Stack/f-stack / if_attach

Function if_attach

freebsd/net/if.c:799–804  ·  view source on GitHub ↗

* 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

Source from the content-addressed store, hash-verified

797 * do anything to insure if_xname is unique or non-empty.
798 */
799void
800if_attach(struct ifnet *ifp)
801{
802
803 if_attach_internal(ifp, 0, NULL);
804}
805
806/*
807 * Compute the least common TSO limit.

Callers 15

pflog_clone_createFunction · 0.85
pfsync_clone_createFunction · 0.85
ipfw_clone_createFunction · 0.85
ipfwlog_clone_createFunction · 0.85
add_m6ifFunction · 0.85
iflib_pseudo_registerFunction · 0.85
stf_clone_createFunction · 0.85
gre_clone_createFunction · 0.85
ether_ifattachFunction · 0.85
firewire_ifattachFunction · 0.85
enc_clone_createFunction · 0.85
me_clone_createFunction · 0.85

Calls 1

if_attach_internalFunction · 0.85

Tested by

no test coverage detected