Searched refs:sockcount (Results 1 – 2 of 2) sorted by relevance
79 static int sockcount = 0; /*!< Variable that allows calling the WSAStartup() only one time */ variable196 if (sockcount == 0) in sock_init()212 sockcount++; in sock_init()237 sockcount--; in sock_cleanup()239 if (sockcount == 0) in sock_cleanup()
2647 SYSCTL_UINT(_net_local, OID_AUTO, sockcount, CTLFLAG_RD, &unp_count, 0,