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

Function vxlan_ctrl_flush

freebsd/net/if_vxlan.c:2258–2272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2256}
2257
2258static int
2259vxlan_ctrl_flush(struct vxlan_softc *sc, void *arg)
2260{
2261 struct ifvxlancmd *cmd;
2262 int all;
2263
2264 cmd = arg;
2265 all = cmd->vxlcmd_flags & VXLAN_CMD_FLAG_FLUSH_ALL;
2266
2267 VXLAN_WLOCK(sc);
2268 vxlan_ftable_flush(sc, all);
2269 VXLAN_WUNLOCK(sc);
2270
2271 return (0);
2272}
2273
2274static int
2275vxlan_ioctl_drvspec(struct vxlan_softc *sc, struct ifdrv *ifd, int get)

Callers

nothing calls this directly

Calls 1

vxlan_ftable_flushFunction · 0.85

Tested by

no test coverage detected