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

123

/freebsd-10-stable/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-10-stable/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...]
/freebsd-10-stable/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-10-stable/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-10-stable/usr.sbin/iscsid/
H A Discsid.h48 struct connection { struct
68 struct connection *pdu_connection;
123 struct pdu *pdu_new(struct connection *ic);
129 void login(struct connection *ic);
131 void discovery(struct connection *ic);
146 void fail(const struct connection *, const char *);
H A Ddiscovery.c44 text_receive(struct connection *conn)
75 text_new_request(struct connection *conn)
96 logout_receive(struct connection *conn)
121 logout_new_request(struct connection *conn)
140 kernel_add(const struct connection *conn, const char *target)
156 kernel_remove(const struct connection *conn)
169 discovery(struct connection *conn)
H A Dlogin.c162 kernel_modify(const struct connection *conn, const char *target_address)
186 * This would allow us to "backtrack" on connection failure,
190 login_handle_redirection(struct connection *conn, struct pdu *response)
217 login_receive(struct connection *conn)
272 login_new_request(struct connection *conn, int csg)
330 login_negotiate_key(struct connection *conn, const char *name,
433 login_negotiate(struct connection *conn)
530 login_send_chap_a(struct connection *conn)
547 struct connection *conn;
632 struct connection *con
[all...]
H A Discsid.c82 resolve_addr(const struct connection *conn, const char *address,
153 static struct connection *
157 struct connection *conn;
267 handoff(struct connection *conn)
272 log_debugx("handing off connection to the kernel");
295 fail(const struct connection *conn, const char *reason)
313 capsicate(struct connection *conn)
435 struct connection *conn;
592 log_debugx("incoming connection; forking child process #%d",
/freebsd-10-stable/contrib/subversion/subversion/svnserve/
H A Dsvnserve.c78 connection_mode_fork, /* Create a process per connection */
79 connection_mode_thread, /* Create a thread per connection */
80 connection_mode_single /* One connection at a time in this process */
354 N_("handle one connection at a time in the parent\n"
476 /* Wait for the next client connection to come in from SOCK. Allocate
477 * the connection in a root pool from CONNECTION_POOLS and assign PARAMS.
478 * Return the connection object in *CONNECTION.
483 accept_connection(connection_t **connection,
492 * the connection threads so it cannot clean up after each one. So
496 *connection
482 accept_connection(connection_t **connection, apr_socket_t *sock, serve_params_t *params, enum connection_handling_mode handling_mode, apr_pool_t *pool) argument
532 attach_connection(connection_t *connection) argument
541 close_connection(connection_t *connection) argument
554 serve_socket(connection_t *connection, apr_pool_t *pool) argument
580 is_busy(connection_t *connection) argument
592 connection_t *connection = data; local
1271 connection_t *connection = NULL; local
[all...]
H A Dserver.h101 /* True if the connection is tunneled over an ssh-like transport,
161 connection. Their lifetime is separated from the thread-local
171 /* connection-specific objects */
174 /* buffered connection object used by the marshaller */
177 /* memory pool for objects with connection lifetime */
199 /* Serve the connection CONN according to the parameters PARAMS. */
203 /* Serve the connection CONNECTION for as long as IS_BUSY does not
204 return TRUE. If IS_BUSY is NULL, serve the connection until it
206 not NULL, set *TERMINATE_P to TRUE if the connection got
210 will create an ra_svn connection objec
[all...]
/freebsd-10-stable/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...]
/freebsd-10-stable/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-10-stable/usr.sbin/ctld/
H A Ddiscovery.c46 text_receive(struct connection *conn)
87 struct connection *conn;
109 logout_receive(struct connection *conn)
145 struct connection *conn;
213 discovery_target_filtered_out(const struct connection *conn,
276 discovery(struct connection *conn)
H A Dctld.h229 struct connection { struct
252 struct connection *pdu_connection;
397 void kernel_handoff(struct connection *conn);
423 struct pdu *pdu_new(struct connection *conn);
429 void login(struct connection *conn);
431 void discovery(struct connection *conn);
/freebsd-10-stable/usr.bin/iscsictl/
H A Discsictl.h89 struct connection { struct
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Core/
H A DCommunication.h35 /// connection can change. Connections could negotiate for different
77 /// If the connection is disconnected a \b eBroadcastBitDisconnected
87 eBroadcastBitDisconnected = (1 << 0), ///< Sent when the communications connection is lost.
124 /// Connect using the current connection by passing \a url to its
144 /// Disconnect the communications connection if one is currently
159 /// Check if the connection is valid.
177 /// Read bytes from the current connection.
180 /// connection's Connection::Read(...) function to get any available.
237 /// Sets the connection that it to be used by this class.
241 /// change its connection withou
[all...]
/freebsd-10-stable/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_helpers.h24 DBusConnection *connection; member in struct:wpa_dbus_object_desc
/freebsd-10-stable/sys/boot/fdt/dts/arm/
H A Dp2041rdb.dts263 phy-connection-type = "sgmii";
304 phy-connection-type = "sgmii";
317 phy-connection-type = "sgmii";
330 phy-connection-type = "rgmii";
343 phy-connection-type = "rgmii";
359 phy-connection-type = "xgmii";
H A Dp3041ds.dts257 phy-connection-type = "rgmii";
322 phy-connection-type = "sgmii";
335 phy-connection-type = "sgmii";
348 phy-connection-type = "sgmii";
367 phy-connection-type = "rgmii";
383 phy-connection-type = "xgmii";
H A Dp5020ds.dts253 phy-connection-type = "rgmii";
318 phy-connection-type = "sgmii";
331 phy-connection-type = "sgmii";
344 phy-connection-type = "sgmii";
363 phy-connection-type = "rgmii";
379 phy-connection-type = "xgmii";

Completed in 248 milliseconds

123