Searched defs:lock_soc (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdmsg.c | 45 static int lock_soc = 0; variable 74 rc = sendto(lock_soc, &message_buf, sizeof (message_buf), 0, 94 fds.fd = lock_soc; 111 rc = recvfrom(lock_soc, mp, sizeof (*mp), 0, 233 if ((lock_soc = socket(pf_inet, SOCK_DGRAM, 0)) < 0) { 243 if (bind(lock_soc, (struct sockaddr *)&clientaddr, 265 if (lock_soc) 266 close(lock_soc); 267 lock_soc = 0;
|
/illumos-gate/usr/src/cmd/avs/dscfglockd/ |
H A D | dscfglockd.c | 144 int lock_soc = 0; variable 310 rc = sendto(lock_soc, &message_buf, sizeof (message_buf), 0, 1308 if ((lock_soc = socket(pf_inet, SOCK_DGRAM, 0)) < 0) { 1318 rc = bind(lock_soc, (struct sockaddr *)&thishost, sizeof (thishost)); 1324 if (getsockname(lock_soc, (struct sockaddr *)&thishost, &len) < 0) 1355 rc = recvfrom(lock_soc, &message_buf, sizeof (message_buf),
|
Completed in 45 milliseconds