Searched refs:conn (Results 1 - 25 of 125) sorted by path

12345

/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrd.c967 struct conn_ind *conn; local
970 conn = (struct conn_ind *)malloc(sizeof (*conn));
971 if (conn == NULL) {
977 conn->conn_call = (struct t_call *)t_alloc(fd, T_CALL, T_ALL);
978 if (conn->conn_call == NULL) {
979 free((char *)conn);
984 if (t_listen(fd, conn->conn_call) == -1) {
986 (void) t_free((char *)conn->conn_call, T_CALL);
987 free((char *)conn);
1020 struct conn_ind *conn; local
1058 struct conn_ind *conn; local
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A DMakefile.inc27 chremdir.c cntrl.c conn.c cpmv.c ct.c \
80 uucico.cat := POBJS = uucpdefs.o uucico.o conn.o callers.o cntrl.o \
127 ulockf.o conn.o interface.o strsave.o \
133 ulockf.o conn.o interface.o sysfiles.o \
H A Dconn.c76 * conn - place a telephone call to system and login, etc.
85 conn(system) function
92 CDEBUG(4, "conn(%s)\n", system);
H A Dcu.c96 * a telephone call to a remote system through the uucp conn() routine
224 extern int conn(), altconn(), transmit(), tilda();
516 /* place call to system; if "cu systemname", use conn() from uucp
530 Cn = conn(string);
H A Ddial.c115 #include "conn.c"
143 {} /* for ASSERT in conn() */
199 /* use conn() for system names */
200 rlfd = conn(call.telno);
H A Duucico.c73 cmtseq(), conn(), startup(), cntrl();
552 Ofn = Ifn = conn(Rmtname);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c65 int WCFIsServerRunning(WCFConnection *conn) __attribute__((weak_import));
66 int WCFNameResolvesToAddr(WCFConnection *conn, char* domainName, struct sockaddr* address, uid_t userid) __attribute__((weak_import));
67 int WCFNameResolvesToName(WCFConnection *conn, char* fromName, char* toName, uid_t userid) __attribute__((weak_import));
/illumos-gate/usr/src/cmd/dtrace/demo/ip/
H A Dtcprst.d95 /* create connection identifier, so we can track packets by conn */
267 conn-destroy
/illumos-gate/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/
H A Dex_dscp.c71 int (*cb_func)(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag,
488 int (*cb_func)(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag,
646 etm_xport_close(fmd_hdl_t *hdl, etm_xport_conn_t conn) argument
648 exs_conn_t *cp = (exs_conn_t *)conn;
670 etm_xport_read(fmd_hdl_t *hdl, etm_xport_conn_t conn, hrtime_t timeout, argument
677 exs_conn_t *cp = (exs_conn_t *)conn;
729 etm_xport_write(fmd_hdl_t *hdl, etm_xport_conn_t conn, hrtime_t timeout, argument
736 exs_conn_t *cp = (exs_conn_t *)conn;
70 exs_hdl_alloc(fmd_hdl_t *hdl, char *endpoint_id, int (*cb_func)(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag, void *arg), void *cb_func_arg, int dom) argument
487 etm_xport_init(fmd_hdl_t *hdl, char *endpoint_id, int (*cb_func)(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag, void *arg), void *cb_func_arg) argument
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c633 etm_recv(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_epmap_t *mp) argument
642 if ((etm_xport_read(hdl, conn, Rw_timeout, hbuf, hdrlen)) != hdrlen) {
666 if ((etm_xport_write(hdl, conn, Rw_timeout, hbuf,
691 if ((etm_xport_write(hdl, conn, Rw_timeout, hbuf,
769 if ((etm_xport_write(hdl, conn, Rw_timeout, hbuf,
784 if (etm_xport_read(hdl, conn, Rw_timeout, buf,
808 if ((etm_xport_write(hdl, conn, Rw_timeout, hbuf,
862 etm_cb_func(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag, argument
877 rv = etm_recv(hdl, conn, mp);
H A Detm_xport_api.h63 int (*cb_func)(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag,
74 etm_xport_cb_func(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag,
96 etm_xport_close(fmd_hdl_t *hdl, etm_xport_conn_t conn);
107 etm_xport_read(fmd_hdl_t *hdl, etm_xport_conn_t conn, hrtime_t timeout,
115 etm_xport_write(fmd_hdl_t *hdl, etm_xport_conn_t conn, hrtime_t timeout,
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c680 ip_cinfo_t *conn; local
683 conn = ip_conns;
684 while (conn != NULL) {
685 ip_conns = conn->ipc_next;
686 if (conn->ipc_addr != NULL)
687 freeaddrinfo(conn->ipc_addr);
688 conn->ipc_addr = NULL;
689 if (conn->ipc_timer)
690 fmd_timer_remove(ip_hdl, conn->ipc_timer);
691 fmd_hdl_strfree(ip_hdl, conn
704 ip_cinfo_t *conn; local
829 ip_cinfo_t *conn; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm.c200 etm_bad_acc_to_sec = 0; /* sleep timeout (in sec) after bad conn accept */
761 etm_xport_conn_t conn; /* connection to return */ local
764 if ((conn = etm_xport_open(hdl, addr)) == NULL) {
771 *connp = conn;
785 etm_conn_close(fmd_hdl_t *hdl, char *err_substr, etm_xport_conn_t conn) argument
789 if (etm_xport_close(hdl, conn) == NULL) {
812 etm_io_op(fmd_hdl_t *hdl, char *err_substr, etm_xport_conn_t conn, argument
828 if ((conn == NULL) || (buf == NULL)) {
851 if ((n = etm_xport_get_opt(hdl, conn, ETM_XPORT_OPT_MTU_SZ)) < 0) {
868 while ((n = (*io_func_ptr)(hdl, conn, data
940 etm_magic_read(fmd_hdl_t *hdl, etm_xport_conn_t conn, uint32_t *magic_ptr) argument
1012 etm_hdr_read(fmd_hdl_t *hdl, etm_xport_conn_t conn, size_t *szp) argument
1239 etm_hdr_write(fmd_hdl_t *hdl, etm_xport_conn_t conn, nvlist_t *evp, int encoding, size_t *szp) argument
1423 etm_xport_conn_t conn; /* connection to other end */ local
2059 etm_maybe_enq_response(fmd_hdl_t *hdl, etm_xport_conn_t conn, void *hdrp, uint32_t hdr_sz, int32_t resp_code) argument
2128 etm_send_response(fmd_hdl_t *hdl, etm_xport_conn_t conn, void *hdrp, int32_t resp_code) argument
2239 etm_handle_new_conn(fmd_hdl_t *hdl, etm_xport_conn_t conn) argument
2637 etm_xport_conn_t conn; /* connection handle */ local
3937 etm_xport_conn_t conn; /* connection handle */ local
[all...]
H A Detm_xport_api.h124 etm_xport_close(fmd_hdl_t *hdl, etm_xport_conn_t conn);
206 etm_xport_read(fmd_hdl_t *hdl, etm_xport_conn_t conn, void* buf,
217 etm_xport_write(fmd_hdl_t *hdl, etm_xport_conn_t conn, void* buf,
240 etm_xport_get_opt(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_xport_opt_t opt);
H A Detm_xport_api_dd.c438 etm_xport_valid_conn(etm_xport_conn_t conn) argument
442 _conn = conn;
999 fmd_hdl_debug(hdl, "info: accept conn %p w/ *addrp %p\n",
1014 etm_xport_close(fmd_hdl_t *hdl, etm_xport_conn_t conn) argument
1020 _conn = conn;
1295 etm_xport_read(fmd_hdl_t *hdl, etm_xport_conn_t conn, void *buf, argument
1298 return (etm_xport_buffered_read(hdl, conn, buf, byte_cnt));
1310 etm_xport_write(fmd_hdl_t *hdl, etm_xport_conn_t conn, void *buf, argument
1316 _conn = conn;
1348 etm_xport_get_opt(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_xport_opt_ argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c1216 struct conn_ind *conn; local
1219 conn = (struct conn_ind *)malloc(sizeof (*conn));
1220 if (conn == NULL) {
1226 conn->conn_call = (struct t_call *)t_alloc(fd, T_CALL, T_ALL);
1227 if (conn->conn_call == NULL) {
1228 free((char *)conn);
1233 if (t_listen(fd, conn->conn_call) == -1) {
1235 (void) t_free((char *)conn->conn_call, T_CALL);
1236 free((char *)conn);
1268 struct conn_ind *conn; local
1306 struct conn_ind *conn; local
[all...]
/illumos-gate/usr/src/cmd/hal/addons/cpufreq/
H A Daddon-cpufreq.c1346 DBusConnection *conn; local
1388 conn = libhal_ctx_get_dbus_connection (ctx);
1405 dbus_connection_setup_with_g_main (conn, NULL);
1412 if (!dbus_connection_add_filter (conn,
1420 dbus_connection_set_exit_on_disconnect (conn, 0);
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_dbus.c3264 DBusConnection *conn; local
3272 conn = (DBusConnection *) data2;
3285 if (conn != NULL) {
3286 if (!dbus_connection_send (conn, reply, NULL))
3309 if (conn != NULL) {
3310 if (!dbus_connection_send (conn, reply, NULL))
3325 if (conn != NULL) {
3326 if (!dbus_connection_send (conn, reply, NULL))
H A Dhald_dbus.h33 DBusHandlerResult manager_get_all_devices (DBusConnection *conn,
35 DBusHandlerResult manager_find_device_string_match (DBusConnection *conn,
37 DBusHandlerResult manager_find_device_by_capability (DBusConnection *conn,
39 DBusHandlerResult manager_device_exists (DBusConnection *conn,
41 DBusHandlerResult device_get_all_properties (DBusConnection *conn,
43 DBusHandlerResult device_get_property (DBusConnection *conn,
45 DBusHandlerResult device_get_property_type (DBusConnection *conn,
47 DBusHandlerResult device_set_property (DBusConnection *conn,
49 DBusHandlerResult device_add_capability (DBusConnection *conn,
51 DBusHandlerResult device_remove_capability (DBusConnection *conn,
[all...]
/illumos-gate/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c429 DBusConnection *conn; local
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-device.c103 DBusConnection *conn; local
133 if (!(conn = dbus_bus_get(DBUS_BUS_SYSTEM, &error))) {
139 /* fprintf(stderr, "connected to: %s\n", dbus_bus_get_unique_name(conn)); */
141 if (!libhal_ctx_set_dbus_connection(hal_ctx, conn)) return 4;
164 dbus_connection_unref(conn);
H A Dlshal.c579 DBusConnection *conn; local
664 conn = dbus_bus_get (DBUS_BUS_SYSTEM, &error);
665 if (conn == NULL) {
673 dbus_connection_setup_with_g_main (conn, NULL);
679 if (!libhal_ctx_set_dbus_connection (hal_ctx, conn)) {
726 dbus_connection_unref (conn);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddump.c1285 conn_arg_t conn; local
1398 conn.in_packet.pdu = pdu;
1399 conn.out_packet.pdu = NULL;
1400 conn.out_packet.sz = 0;
1402 if (packet_split_verify(&conn) == 0) {
1403 cache_lock(conn.lock);
1404 conn.handler(&conn);
1405 conn.ec = cache_unlock(conn
1432 conn_arg_t conn; local
1509 conn_arg_t conn; local
1594 conn_arg_t conn; local
[all...]
H A Dfunc.c94 * conn - the argument of the connection.
101 conn_arg_t *conn
106 isns_pdu_t *pdu = conn->in_packet.pdu;
117 conn->in_packet.source = source;
129 * conn - the argument of the connection.
136 conn_arg_t *conn
141 isns_pdu_t *pdu = conn->in_packet.pdu;
147 conn->in_packet.key = key;
148 conn->in_packet.key_len = key_len;
159 * conn
424 rsp_add_op( conn_arg_t *conn, isns_obj_t *obj ) argument
471 rsp_add_key( conn_arg_t *conn, isns_obj_t *entity ) argument
539 rsp_add_tlv( conn_arg_t *conn, uint32_t tag, uint32_t len, void *value, int pflag ) argument
576 rsp_add_tlvs( conn_arg_t *conn, isns_tlv_t *tlv, uint32_t tlv_len ) argument
[all...]
H A Dqry.c1136 conn_arg_t *conn = (conn_arg_t *)lcp->data[2].ptr; local
1149 isns_pdu_t *rsp = conn->out_packet.pdu;
1150 size_t pl = conn->out_packet.pl;
1151 size_t sz = conn->out_packet.sz;
1171 conn->out_packet.pdu = rsp;
1172 conn->out_packet.pl = pl;
1173 conn->out_packet.sz = sz;
1184 conn_arg_t *conn
1195 lc.data[2].ptr = (uchar_t *)conn;
1208 conn_arg_t *conn
[all...]

Completed in 204 milliseconds

12345