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

Function vxlan_tunable_int

freebsd/net/if_vxlan.c:3545–3555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3543}
3544
3545static int
3546vxlan_tunable_int(struct vxlan_softc *sc, const char *knob, int def)
3547{
3548 char path[64];
3549
3550 snprintf(path, sizeof(path), "net.link.vxlan.%d.%s",
3551 sc->vxl_unit, knob);
3552 TUNABLE_INT_FETCH(path, &def);
3553
3554 return (def);
3555}
3556
3557static void
3558vxlan_ifdetach_event(void *arg __unused, struct ifnet *ifp)

Callers 1

vxlan_set_default_configFunction · 0.85

Calls 1

snprintfFunction · 0.85

Tested by

no test coverage detected