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

Function UninitPunchFW

freebsd/netinet/libalias/alias_db.c:2669–2681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2667}
2668
2669static void
2670UninitPunchFW(struct libalias *la)
2671{
2672
2673 ClearAllFWHoles(la);
2674 if (la->fireWallFD >= 0)
2675 close(la->fireWallFD);
2676 la->fireWallFD = -1;
2677 if (la->fireWallField)
2678 free(la->fireWallField);
2679 la->fireWallField = NULL;
2680 la->packetAliasMode &= ~PKT_ALIAS_PUNCH_FW;
2681}
2682
2683/* Make a certain link go through the firewall */
2684void

Callers 2

LibAliasUninitFunction · 0.85
LibAliasSetModeFunction · 0.85

Calls 3

ClearAllFWHolesFunction · 0.85
closeFunction · 0.50
freeFunction · 0.50

Tested by

no test coverage detected