Searched defs:keysock (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/sckmd/sparc/sun4u/ |
H A D | sckmd.c | 76 static int keysock; variable 141 if ((keysock = socket(PF_KEY, SOCK_RAW, SCKMD_CURR_PFKEY_VER)) == -1) { 146 (void) close(keysock); 306 if ((keysock = socket(PF_KEY, SOCK_RAW, SCKMD_CURR_PFKEY_VER)) == -1) { 314 if (write(keysock, pfkey_msg, msg_len) != msg_len) { 317 close(keysock); 332 close(keysock); 359 * the global file desciptor 'keysock'. If PF_KEY returns an error, 398 pfd.fd = keysock; 499 * 'keysock' [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 62 static int keysock; variable 376 * New SA types (including ones keysock maintains for user-land 1039 rc = key_write(keysock, &msg, sizeof (msg)); 1045 rc = read(keysock, &msg, sizeof (msg)); 1098 rc = key_write(keysock, msg, sizeof (*msg)); 1107 rc = read(keysock, get_buffer, sizeof (get_buffer)); 1277 rc = key_write(keysock, buffer, 1295 rc = read(keysock, buffer, buffer_size); 1520 rc = key_write(keysock, buffer, SADB_64TO8(msgp->sadb_msg_len)); 1534 rc = read(keysock, buffe [all...] |
Completed in 49 milliseconds