Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ ifnet_setbyindex
Function
ifnet_setbyindex
freebsd/net/if.c:416–421 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
414
}
415
416
static void
417
ifnet_setbyindex(u_short idx, struct ifnet *ifp)
418
{
419
420
V_ifindex_table[idx] = ifp;
421
}
422
423
struct ifaddr *
424
ifaddr_byindex(u_short idx)
Callers
2
if_alloc_domain
Function · 0.85
if_vmove
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected