Home
last modified time | relevance | path

Searched refs:sockcount (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/libpcap/
H A Dsockutils.c79 static int sockcount = 0; /*!< Variable that allows calling the WSAStartup() only one time */ variable
196 if (sockcount == 0) in sock_init()
212 sockcount++; in sock_init()
237 sockcount--; in sock_cleanup()
239 if (sockcount == 0) in sock_cleanup()
/freebsd-13.1/sys/kern/
H A Duipc_usrreq.c2647 SYSCTL_UINT(_net_local, OID_AUTO, sockcount, CTLFLAG_RD, &unp_count, 0,