MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vnet_edsc_init

Function vnet_edsc_init

freebsd/net/if_edsc.c:318–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318static void
319vnet_edsc_init(const void *unused __unused)
320{
321
322 /*
323 * Connect to the network interface cloning framework.
324 * The last argument is the number of units to be created
325 * from the outset. It's also the minimum number of units
326 * allowed. We don't want any units created as soon as the
327 * driver is loaded.
328 */
329 V_edsc_cloner = if_clone_simple(edscname, edsc_clone_create,
330 edsc_clone_destroy, 0);
331}
332VNET_SYSINIT(vnet_edsc_init, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY,
333 vnet_edsc_init, NULL);
334

Callers

nothing calls this directly

Calls 1

if_clone_simpleFunction · 0.85

Tested by

no test coverage detected