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

Function vnet_enc_init_proto

freebsd/net/if_enc.c:393–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391 vnet_enc_init, NULL);
392
393static void
394vnet_enc_init_proto(void *unused __unused)
395{
396 KASSERT(V_enc_sc != NULL, ("%s: V_enc_sc is %p\n", __func__, V_enc_sc));
397
398 if (enc_add_hhooks(V_enc_sc) != 0)
399 enc_clone_destroy(V_enc_sc->sc_ifp);
400}
401VNET_SYSINIT(vnet_enc_init_proto, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY,
402 vnet_enc_init_proto, NULL);
403

Callers

nothing calls this directly

Calls 2

enc_add_hhooksFunction · 0.85
enc_clone_destroyFunction · 0.85

Tested by

no test coverage detected