Searched refs:connection (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-9.3-release/lib/libc/net/
H A Dnscachedcli.c53 * safe_write writes data to the specified connection and tries to do it in
59 safe_write(struct cached_connection_ *connection, const void *data, argument
75 nevents = _kevent(connection->write_queue, NULL, 0, &eventlist,
78 s_result = _sendto(connection->sockfd, data + result,
97 * safe_read reads data from connection and tries to do it in the very safe
103 safe_read(struct cached_connection_ *connection, void *data, size_t data_size) argument
118 nevents = _kevent(connection->read_queue, NULL, 0, &eventlist,
121 s_result = _read(connection->sockfd, data + result,
139 * Sends the credentials information to the connection along with the
143 send_credentials(struct cached_connection_ *connection, in argument
240 __close_cached_connection(struct cached_connection_ *connection) argument
256 __cached_write(struct cached_connection_ *connection, const char *entry_name, const char *key, size_t key_size, const char *data, size_t data_size) argument
308 __cached_read(struct cached_connection_ *connection, const char *entry_name, const char *key, size_t key_size, char *data, size_t *data_size) argument
381 struct cached_connection_ *connection, *retval; local
489 struct cached_connection_ *connection, *retval; local
[all...]
H A Dnscache.c57 cached_connection connection; local
108 connection = __open_cached_connection(&params);
109 if (connection == NULL) {
113 res = __cached_read(connection, cache_info->entry_name,
116 __close_cached_connection(connection);
161 cached_connection connection; local
180 connection = __open_cached_connection(&params);
181 if (connection == NULL) {
210 __close_cached_connection(connection);
216 res = __cached_write(connection, cache_inf
230 cached_connection connection; local
[all...]
/freebsd-9.3-release/usr.sbin/nscd/
H A Dnscdcli.c56 safe_write(struct nscd_connection_ *connection, const void *data, argument
72 nevents = kevent(connection->write_queue, NULL, 0, &eventlist,
75 s_result = write(connection->sockfd,
94 safe_read(struct nscd_connection_ *connection, void *data, size_t data_size) argument
109 nevents = kevent(connection->read_queue, NULL, 0, &eventlist, 1,
112 s_result = read(connection->sockfd,
131 send_credentials(struct nscd_connection_ *connection, int type) argument
161 EV_SET(&eventlist, connection->sockfd, EVFILT_WRITE, EV_ADD,
163 res = kevent(connection->write_queue, &eventlist, 1, NULL, 0, NULL);
165 nevents = kevent(connection
232 close_nscd_connection__(struct nscd_connection_ *connection) argument
246 nscd_transform__(struct nscd_connection_ *connection, const char *entry_name, int transformation_type) argument
[all...]
H A Dnscd.c674 nscd_connection connection; local
696 connection = open_nscd_connection__(&connection_params);
697 if (connection == INVALID_NSCD_CONNECTION)
701 result = nscd_transform__(connection,
717 result = nscd_transform__(connection,
729 close_nscd_connection__(connection);
/freebsd-9.3-release/contrib/sendmail/contrib/
H A DsocketmapClient.pl9 die "usage: $0 <connection> <mapname> <key> [<key2> ...]" if (@ARGV < 3);
11 my $connection = shift @ARGV;
16 if ($connection =~ /tcp:(.+):([0-9]*)/) {
22 } elsif ($connection =~ /((unix)|(local)):(.+)/) {
28 die "unrecognized connection specification $connection";
H A DsocketmapServer.pl9 die "usage: $0 <connection>" if (@ARGV < 1);
10 my $connection = shift @ARGV;
13 if ($connection =~ /tcp:(.+):([0-9]*)/) {
21 } elsif ($connection =~ /((unix)|(local)):(.+)/) {
29 die "unrecognized connection specification $connection";
/freebsd-9.3-release/share/doc/psd/20.ipctut/
H A Dstrchkread.c98 printf("Ending connection\en");
H A Dstreamread.c43 * through the loop it accepts a connection and prints out messages from it.
44 * When the connection breaks, or a termination message comes through, the
45 * program accepts a new connection.
91 printf("Ending connection\en");
H A Dustreamread.c44 * loop it accepts a connection and prints out messages from it. When the
45 * connection breaks, or a termination message comes through, the program
46 * accepts a new connection.
79 printf("Ending connection\en");
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devrpc.c503 static int evrpc_schedule_request(struct evhttp_connection *connection,
539 struct evhttp_connection *connection; local
555 while ((connection = TAILQ_FIRST(&pool->connections)) != NULL) {
556 TAILQ_REMOVE(&pool->connections, connection, next);
557 evhttp_connection_free(connection);
574 * Add a connection to the RPC pool. A request scheduled on the pool
575 * may use any available connection.
580 struct evhttp_connection *connection)
582 EVUTIL_ASSERT(connection->http_server == NULL);
583 TAILQ_INSERT_TAIL(&pool->connections, connection, nex
579 evrpc_pool_add_connection(struct evrpc_pool *pool, struct evhttp_connection *connection) argument
612 evrpc_pool_remove_connection(struct evrpc_pool *pool, struct evhttp_connection *connection) argument
639 struct evhttp_connection *connection; local
658 evrpc_schedule_request(struct evhttp_connection *connection, struct evrpc_request_wrapper *ctx) argument
720 struct evhttp_connection *connection = ctx->evcon; local
[all...]
H A Dhttp.c423 * connection's output buffer.
450 * to flags, means that we should send a "connection: close" when the request
456 /* proxy connection */
457 const char *connection = evhttp_find_header(headers, "Proxy-Connection"); local
458 return (connection == NULL || evutil_ascii_strcasecmp(connection, "keep-alive") != 0);
460 const char *connection = evhttp_find_header(headers, "Connection"); local
461 return (connection != NULL && evutil_ascii_strcasecmp(connection, "close") == 0);
469 const char *connection local
2023 const char *connection; local
[all...]
/freebsd-9.3-release/tools/tools/netrate/tcpp/
H A Dtcpp_server.c55 * port number for new connections. The first 8 bytes of each connection
64 struct connection { struct
76 static struct connection *
79 struct connection *conn;
111 tcpp_server_closeconn(struct connection *conn)
130 struct connection *conn;
162 * Drain up to a buffer from the connection, so that we pay
H A Dtcpp_client.c77 struct connection { struct
93 static struct connection *
97 struct connection *conn;
156 tcpp_client_closeconn(struct connection *conn)
168 struct connection *conn;
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_helpers.h29 DBusConnection *connection; member in struct:wpa_dbus_object_desc
H A Ddbus_new_helpers.c379 * @connection: DBus connection on which message was received
392 static DBusHandlerResult message_handler(DBusConnection *connection, argument
437 dbus_connection_send(connection, reply, NULL);
441 wpa_dbus_flush_all_changed_properties(connection);
449 * @connection: DBus connection
470 static void free_dbus_object_desc_cb(DBusConnection *connection, void *obj_dsc) argument
498 obj_desc->connection = iface->con;
566 obj_desc->connection
[all...]
H A Ddbus_old.c201 * @connection: Connection to the system message bus
209 static DBusHandlerResult wpas_iface_message_handler(DBusConnection *connection, argument
295 dbus_connection_send(connection, reply, NULL);
310 * @connection: connection to the system message bus
319 static DBusHandlerResult wpas_message_handler(DBusConnection *connection, argument
358 dbus_connection_send(connection, reply, NULL);
H A Ddbus_new_introspect.c264 add_child_nodes(xml, obj_dsc->connection,
/freebsd-9.3-release/lib/libncp/
H A Dncpl_misc.c90 ncp_get_stations_logged_info(NWCONN_HANDLE connid, u_int32_t connection, argument
97 ncp_add_dword_lh(conn, connection);
111 ncp_get_internet_address(NWCONN_HANDLE connid, u_int32_t connection, argument
118 ncp_add_dword_lh(conn, connection);
/freebsd-9.3-release/share/examples/ipfw/
H A Dchange_rules.sh127 the ssh/telnet connection being used.
/freebsd-9.3-release/crypto/heimdal/tools/
H A Dkdc-log-analyze.pl199 print "\tTop ten connection closed request clients\n";
421 } elsif (/TCP-connection from IPv[46]:([0-9\.:a-fA-F]+) expired after [0-9]+ bytes/) {
427 } elsif (/connection closed before end of data after [0-9]+ bytes from IPv[46]:([0-9\.:a-fA-F]+)/) {
/freebsd-9.3-release/sys/netgraph/
H A Dng_device.c377 struct ngd_connection * connection = NULL;
396 NG_SEND_MSG_HOOK(error, sc->node, msg, connection->active_hook, 0);
/freebsd-9.3-release/sys/boot/fdt/dts/
H A Dmpc8572ds.dts405 phy-connection-type = "rgmii-id";
456 phy-connection-type = "rgmii-id";
486 phy-connection-type = "rgmii-id";
515 phy-connection-type = "rgmii-id";
/freebsd-9.3-release/sys/dev/drm2/
H A Ddrm_mode.h221 uint32_t connection; member in struct:drm_mode_get_connector
/freebsd-9.3-release/contrib/openbsm/etc/
H A Daudit_event576 6151:AUE_inetd_connect:inetd connection:na
640 7001:AUE_DARWIN_ssconn:SecSrvr connection setup:aa
662 45024:AUE_ssconn:SecSrvr connection setup:aa
/freebsd-9.3-release/sys/dev/isp/
H A DDriverManual.txt176 to providing FC-4 services on top of a Class 3 connection are performed
189 lack of ability to say why a particular login connection to a Fibre
487 also determines connection topology (i.e., whether we're attached to a
493 connection to either arbitrated loop or to a fabric has to be ascertained,
523 if the connection is to a fabric, use Simple Name Server mailbox mediated

Completed in 248 milliseconds

12