Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 99) sorted by relevance

1234

/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_comm.c140 if (connection == NULL) in ndmp_create_connection()
143 connection->conn_sock = -1; in ndmp_create_connection()
153 xdrrec_create(&connection->conn_xdrs, 0, 0, (caddr_t)connection, in ndmp_create_connection()
160 free(connection); in ndmp_create_connection()
185 connection->conn_sock = -1; in ndmp_destroy_connection()
188 free(connection); in ndmp_destroy_connection()
212 connection->conn_sock = -1; in ndmp_close()
1035 if ((connection->conn_msginfo.mi_handler = ndmp_get_handler(connection, in ndmp_recv_msg()
1218 connection); in ndmp_process_messages()
1244 connection); in ndmp_process_messages()
[all …]
H A Dndmpd_scsi.c82 common_open(connection, request->device.name); in ndmpd_scsi_open_v2()
108 ndmp_send_reply(connection, (void *) &reply, in ndmpd_scsi_close_v2()
126 ndmp_send_reply(connection, (void *) &reply, in ndmpd_scsi_close_v2()
169 ndmp_send_reply(connection, (void *) &reply, in ndmpd_scsi_get_state_v2()
243 ndmp_send_reply(connection, (void *) &reply, in ndmpd_scsi_reset_device_v2()
271 ndmp_send_reply(connection, (void *) &reply, in ndmpd_scsi_reset_bus_v2()
333 common_open(connection, request->device); in ndmpd_scsi_open_v3()
446 scsi_open_send_reply(connection, err); in common_open()
464 scsi_open_send_reply(connection, err); in common_open()
480 scsi_open_send_reply(connection, err); in common_open()
[all …]
H A Dndmpd_tape.c157 tape_open_send_reply(connection, err); in ndmpd_tape_open_v2()
175 tape_open_send_reply(connection, err); in ndmpd_tape_open_v2()
213 tape_open_send_reply(connection, err); in ndmpd_tape_open_v2()
255 common_tape_close(connection); in ndmpd_tape_close_v2()
295 ndmp_send_reply(connection, (void *)&reply, in ndmpd_tape_get_state_v2()
307 ndmp_send_reply(connection, (void *)&reply, in ndmpd_tape_get_state_v2()
1073 common_tape_close(connection); in ndmpd_tape_close_v4()
1242 tape_open_send_reply(connection, err); in common_tape_open()
1291 tape_open_send_reply(connection, err); in common_tape_open()
1295 switch (ndmp_open_list_add(connection, in common_tape_open()
[all …]
H A Dndmpd_connect.c233 ndmpd_audit_connect(connection, in ndmpd_connect_client_auth_v2()
242 ndmpd_audit_connect(connection, in ndmpd_connect_client_auth_v2()
255 ndmpd_audit_connect(connection, in ndmpd_connect_client_auth_v2()
285 ndmpd_audit_connect(connection, in ndmpd_connect_client_auth_v2()
298 ndmpd_audit_connect(connection, in ndmpd_connect_client_auth_v2()
410 (void) ndmp_close(connection); in ndmpd_connect_close_v2()
470 ndmpd_audit_connect(connection, in ndmpd_connect_client_auth_v3()
569 ndmp_close(connection); in ndmpd_connect_close_v3()
653 connection); in ndmp_connect_list_find()
682 if (connection == NULL) { in ndmp_connect_list_add()
[all …]
H A Dndmpd_config.c141 ndmp_send_reply(connection, (void *) &reply, in ndmpd_config_get_host_info_v2()
180 ndmp_send_reply(connection, (void *) &reply, in ndmpd_config_get_butype_attr_v2()
212 ndmp_send_reply(connection, (void *) &reply, in ndmpd_config_get_mover_type_v2()
263 ndmp_send_reply(connection, (void *) &reply, in ndmpd_config_get_auth_attr_v2()
322 ndmp_send_reply(connection, (void *) &reply, in ndmpd_config_get_host_info_v3()
357 ndmp_send_reply(connection, (void *) &reply, in ndmpd_config_get_connection_type_v3()
409 ndmp_send_reply(connection, (void *) &reply, in ndmpd_config_get_auth_attr_v3()
512 ndmp_send_reply(connection, (void *)&reply, in ndmpd_config_get_butype_info_v3()
654 ndmp_send_reply(connection, (void *)&reply, in ndmpd_config_get_fs_info_v3()
763 ndmp_send_reply(connection, (void *)&reply, in ndmpd_config_get_tape_info_v3()
[all …]
H A Dndmpd_data.c121 ndmp_send_reply(connection, &reply, in ndmpd_data_get_state_v2()
161 ndmp_send_reply(connection, &reply, in ndmpd_data_start_backup_v2()
200 ndmp_send_reply(connection, &reply, in ndmpd_data_start_recover_v2()
264 ndmp_send_reply(connection, &reply, in ndmpd_data_stop_v2()
308 ndmp_send_reply(connection, &reply, in ndmpd_data_abort_v2()
375 ndmp_send_reply(connection, &reply, in ndmpd_data_get_state_v3()
604 ndmp_send_reply(connection, &reply, in ndmpd_data_abort_v3()
644 ndmp_send_reply(connection, &reply, in ndmpd_data_stop_v3()
725 ndmp_send_reply(connection, &reply, in ndmpd_data_listen_v3()
801 ndmp_send_reply(connection, &reply, in ndmpd_data_connect_v3()
[all …]
H A Dndmpd_mover.c159 ndmp_send_reply(connection, (void *) &reply, in ndmpd_mover_get_state_v2()
223 ndmp_send_reply(connection, (void *) &reply, in ndmpd_mover_listen_v2()
257 ndmp_send_reply(connection, (void *) &reply, in ndmpd_mover_continue_v2()
292 ndmp_send_reply(connection, (void *) &reply, in ndmpd_mover_abort_v2()
427 ndmp_send_reply(connection, &reply, in ndmpd_mover_read_v2()
434 ndmp_send_reply(connection, &reply, in ndmpd_mover_read_v2()
486 ndmp_send_reply(connection, &reply, in ndmpd_mover_close_v2()
525 ndmp_send_reply(connection, &reply, in ndmpd_mover_set_record_size_v2()
578 ndmp_send_reply(connection, &reply, in ndmpd_mover_get_state_v3()
638 ndmp_send_reply(connection, &reply, in ndmpd_mover_listen_v3()
[all …]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_dbus.c109 connection, in_reply_to, in raise_no_such_device()
129 connection, in_reply_to, in raise_no_such_property()
149 connection, in_reply_to, in raise_property_type_error()
168 connection, in_reply_to, in raise_syntax()
187 connection, in_reply_to, in raise_device_not_locked()
264 connection, in_reply_to, in raise_branch_not_claimed()
283 connection, in_reply_to, in raise_permission_denied()
2730 connection, in device_claim_interface()
2737 hih->connection = connection; in device_claim_interface()
3491 mi->connection = connection; in hald_exec_method()
[all …]
/illumos-gate/usr/src/cmd/hotplug/
H A Dhotplug.c247 char *connection = NULL; in cmd_list() local
299 char *connection = NULL; in cmd_online() local
359 char *connection = NULL; in cmd_offline() local
416 char *connection = NULL; in cmd_enable() local
471 char *connection = NULL; in cmd_disable() local
537 char *connection = NULL; in cmd_poweron() local
601 char *connection = NULL; in cmd_poweroff() local
657 char *connection = NULL; in cmd_getpriv() local
721 char *connection = NULL; in cmd_setpriv() local
788 char *connection = NULL; in cmd_changestate() local
[all …]
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/
H A Dipp-support.c225 if (svc->connection == NULL) in _default_destination()
364 httpClearFields(svc->connection); in ipp_send_initial_request_block()
376 svc->connection->authstring); in ipp_send_initial_request_block()
379 httpFlush(svc->connection); in ipp_send_initial_request_block()
390 if (httpCheck(svc->connection) != 0) { in ipp_send_initial_request_block()
391 status = httpUpdate(svc->connection); in ipp_send_initial_request_block()
428 http = svc->connection; in setAuthString()
588 httpFlush(svc->connection); in ipp_send_request_with_file()
591 httpReconnect(svc->connection); in ipp_send_request_with_file()
599 httpFlush(svc->connection); in ipp_send_request_with_file()
[all …]
H A Dservice.c67 if (svc->connection != NULL) /* alread connected ? */ in service_connect()
104 svc->connection = httpConnectEncrypt(svc->uri->host, port, in service_connect()
106 if (svc->connection == NULL) { in service_connect()
179 if (svc->connection != NULL) in papiServiceDestroy()
180 httpClose(svc->connection); in papiServiceDestroy()
234 httpEncryption(svc->connection, in papiServiceSetEncryption()
H A Djob.c276 if (svc->connection == NULL) in internal_job_submit()
374 if (svc->connection == NULL) in papiJobStreamOpen()
385 *stream = svc->connection; in papiJobStreamOpen()
448 status = httpUpdate(svc->connection); in papiJobStreamClose()
452 httpWait(svc->connection, 1000); in papiJobStreamClose()
486 if (svc->connection == NULL) in papiJobQuery()
533 if (svc->connection == NULL) in _job_cancel_hold_release_restart_promote()
600 if (svc->connection == NULL) in papiJobMove()
643 if (svc->connection == NULL) in papiJobModify()
H A Dprinter.c92 if (svc->connection == NULL) in papiPrintersList()
148 if (svc->connection == NULL) in papiPrinterQuery()
194 if (svc->connection == NULL) in _printer_enable_disable_pause_resume_delete()
278 if (svc->connection == NULL) in papiPrinterModify()
328 if (svc->connection == NULL) in papiPrinterPurgeJobs()
376 if (svc->connection == NULL) in papiPrinterListJobs()
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c295 char *connection; in cmd_getinfo() local
308 if (nvlist_lookup_string(args, HPD_CONNECTION, &connection) != 0) in cmd_getinfo()
309 connection = NULL; in cmd_getinfo()
314 if ((rv = getinfo(path, connection, flags, &root)) == 0) { in cmd_getinfo()
367 char *path, *connection; in cmd_changestate() local
393 audit_changestate(uc, HP_MODIFY_AUTH, path, connection, in cmd_changestate()
404 audit_changestate(uc, HP_MODIFY_AUTH, path, connection, state, in cmd_changestate()
466 char *path, *connection, *options; in cmd_private() local
490 audit_setprivate(uc, HP_MODIFY_AUTH, path, connection, options, in cmd_private()
672 event->adt_hotplug_state.connection = connection; in audit_changestate()
[all …]
H A Dhotplugd_info.c79 (connection == NULL) ? "NULL" : connection, flags); in getinfo()
86 if ((rv = copy_devinfo(basepath, connection, flags, &root)) != 0) { in getinfo()
136 copy_devinfo(const char *path, const char *connection, uint_t flags, in copy_devinfo() argument
157 if (connection != NULL) in copy_devinfo()
158 rv = copy_hotplug(NULL, di_root, connection, flags, &hp_root); in copy_devinfo()
241 copy_hotplug(hp_node_t parent, di_node_t dev, const char *connection, in copy_hotplug() argument
276 if ((connection == NULL) && (di_hp_depends_on(hp) != -1)) in copy_hotplug()
280 if ((connection != NULL) && in copy_hotplug()
281 (strcmp(di_hp_name(hp), connection) != 0)) in copy_hotplug()
313 if ((connection != NULL) && in copy_hotplug()
[all …]
H A Dhotplugd_impl.c64 changestate(const char *path, const char *connection, int state, uint_t flags, in changestate() argument
73 path, connection, state, flags); in changestate()
82 if ((rv = getinfo(path, connection, 0, &root)) != 0) { in changestate()
133 if (modctl(MODHPOPS, MODHPOPS_CHANGE_STATE, path, connection, state)) in changestate()
165 private_options(const char *path, const char *connection, hp_cmd_t cmd, in private_options() argument
174 path, connection, options); in private_options()
198 if (modctl(MODHPOPS, MODHPOPS_BUS_GET, path, connection, in private_options()
203 if (modctl(MODHPOPS, MODHPOPS_BUS_SET, path, connection, in private_options()
H A Dhotplugd_impl.h64 int getinfo(const char *path, const char *connection, uint_t flags,
66 int changestate(const char *path, const char *connection, int state,
68 int private_options(const char *path, const char *connection,
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c153 struct connection { struct
284 static struct connection *
288 struct connection *newconn; in add_fd()
316 static struct connection *
322 static struct connection *
328 static struct connection *
335 delete_fd (struct connection *xconn) in delete_fd()
337 struct connection *conn; in delete_fd()
803 struct connection *newconn; in accept_tcp_connection()
846 struct connection *c; in accept_tcp_connection()
[all …]
/illumos-gate/usr/src/cmd/hal/addons/network-devices/
H A Daddon-network-discovery.c149 nds_filter_function(DBusConnection *connection, DBusMessage *message, in nds_filter_function() argument
217 if (!dbus_connection_send(connection, reply, NULL)) { in nds_filter_function()
220 dbus_connection_flush(connection); in nds_filter_function()
229 DBusConnection *connection; in nds_claim_interface() local
249 if ((connection = libhal_ctx_get_dbus_connection(ctx)) == NULL) { in nds_claim_interface()
260 dbus_connection_setup_with_g_main(connection, NULL); in nds_claim_interface()
261 dbus_connection_add_filter(connection, nds_filter_function, ctx, NULL); in nds_claim_interface()
262 dbus_connection_set_exit_on_disconnect(connection, 0); in nds_claim_interface()
/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c69 (void *)path, (void *)connection, flags); in hp_init()
440 hp_path(hp_node_t node, char *path, char *connection) in hp_path() argument
449 (void *)path, (void *)connection); in hp_path()
457 (void) memset(connection, 0, MAXPATHLEN); in hp_path()
514 char connection[MAXPATHLEN]; in hp_set_state() local
557 if ((rv = hp_path(node, path, connection)) != 0) in hp_set_state()
596 char connection[MAXPATHLEN]; in hp_set_private() local
617 if ((rv = hp_path(node, path, connection)) != 0) in hp_set_private()
656 char connection[MAXPATHLEN]; in hp_get_private() local
677 if ((rv = hp_path(node, path, connection)) != 0) in hp_get_private()
[all …]
H A Dlibhotplug.h77 hp_node_t hp_init(const char *path, const char *connection, uint_t flags);
90 int hp_path(hp_node_t node, char *path, char *connection);
/illumos-gate/usr/src/cmd/policykit/
H A Dpolkit-is-privileged.c88 DBusConnection *connection = NULL; in main() local
151 connection = dbus_bus_get (DBUS_BUS_SYSTEM, &error); in main()
152 if (connection == NULL) { in main()
158 ctx = libpolkit_new_context (connection); in main()
/illumos-gate/usr/src/lib/hal/libhal/common/
H A Dlibhal.c258 DBusConnection *connection; /**< D-BUS connection */ member
947 filter_func (DBusConnection * connection, in filter_func() argument
3036 dbus_bus_add_match (ctx->connection, in libhal_device_property_watch_all()
3074 dbus_bus_add_match (ctx->connection, buf, error); in libhal_device_add_property_watch()
3105 dbus_bus_remove_match (ctx->connection, buf, error); in libhal_device_remove_property_watch()
3142 ctx->connection = NULL; in libhal_ctx_new()
3184 ctx->connection = conn; in libhal_ctx_set_dbus_connection()
3201 return ctx->connection; in libhal_ctx_get_dbus_connection()
3222 if (ctx->connection == NULL) in libhal_ctx_init()
3241 dbus_bus_add_match (ctx->connection, in libhal_ctx_init()
[all …]
/illumos-gate/usr/src/cmd/ipf/examples/
H A Dexample.102 # pass ack packets (ie established connection)
7 # block incoming connection requests to my internal network from the big bad
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/
H A Decore.tex1028 \section{Establish iSCSI connection}
1094 \section{Close iSCSI connection}
1154 \section{Establish FCoE connection}
1191 \section{Close FCoE connection}
1291connection establishment/teardown, the driver calls ecore connection related APIs and receives cal…
1322 \subsection{Active side connection establishment}
1343 \subsection{Passive side connection establishment}
1432 \subsection{Active side connection Teardown}
1450 \subsection{Passive side connection Teardown}
1499 \section{Start LL2 connection}
[all …]

1234