Searched refs:keysock (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/sckmd/sparc/sun4u/
H A Dsckmd.c76 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/uts/common/inet/ip/
H A Dkeysock_opt_data.c40 #include <inet/keysock.h>
43 * Table of all known options handled on a keysock (PF_KEY) protocol stack.
H A Dipsec_loader.c38 #include <inet/keysock.h>
89 * Load IPsec, which is done by modloading keysock and calling
94 if (modload("drv", "keysock") == -1) {
95 cmn_err(CE_WARN, "IP: Cannot load keysock.");
211 * Dummy callback routine (placeholder) to avoid keysock plumbing
224 * Called from keysock driver open to delay until ipsec is done loading.
H A Dkeysock.c67 #include <inet/keysock.h>
74 * Downstream messages are wrapped in a keysock consumer interface KEYSOCK_IN
83 * 1.) A keysock consumer requires an SA, and there is currently none.
105 64 * 1024, /* TIDU_size. keysock allows maximum size messages. */
106 T_COTS, /* SERV_type. keysock supports connection oriented. */
120 * Table of NDD variables supported by keysock. These are loaded into
155 5138, "keysock", 1, INFPSZ, 512, 128
186 static char *KEYSOCK = "keysock";
218 * up. I don't have to worry about "keysock" because, well, if I'm
219 * here, keysock mus
[all...]
/illumos-gate/usr/src/uts/common/inet/
H A DMakefile33 ip_multi.h ip_netinfo.h ip_ndp.h ip_rts.h ipsec_impl.h keysock.h \
/illumos-gate/usr/src/uts/intel/keysock/
H A DMakefile22 # uts/intel/keysock/Makefile
28 # This makefile drives the production of the keysock driver
42 MODULE = keysock
/illumos-gate/usr/src/uts/sparc/keysock/
H A DMakefile22 # uts/sparc/keysock/Makefile
28 # This makefile drives the production of the keysock driver
42 MODULE = keysock
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipseckey.c62 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...]
/illumos-gate/usr/src/uts/intel/ia32/ml/
H A Dmodstubs.s534 MODULE(keysock, drv);
535 WSTUB(keysock, keysock_plumb_ipsec, nomod_zero);
536 WSTUB(keysock, keysock_extended_reg, nomod_zero);
537 WSTUB(keysock, keysock_next_seq, nomod_zero);
538 END_MODULE(keysock);
/illumos-gate/usr/src/uts/sparc/ml/
H A Dmodstubs.s422 MODULE(keysock,drv);
423 WSTUB(keysock, keysock_plumb_ipsec, nomod_zero);
424 WSTUB(keysock, keysock_extended_reg, nomod_zero);
425 WSTUB(keysock, keysock_next_seq, nomod_zero);
426 END_MODULE(keysock);

Completed in 117 milliseconds