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

12

/freebsd-10.0-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-10.0-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-10.0-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-10.0-release/usr.sbin/iscsid/
H A Discsid.h47 struct connection { struct
69 struct connection *pdu_connection;
95 struct pdu *pdu_new(struct connection *ic);
101 void login(struct connection *ic);
103 void discovery(struct connection *ic);
118 void fail(const struct connection *, const char *);
H A Ddiscovery.c45 text_receive(struct connection *conn)
78 text_new_request(struct connection *conn)
99 logout_receive(struct connection *conn)
124 logout_new_request(struct connection *conn)
143 kernel_add(const struct connection *conn, const char *target)
159 kernel_remove(const struct connection *conn)
172 discovery(struct connection *conn)
H A Discsid.c80 resolve_addr(const struct connection *conn, const char *address,
151 static struct connection *
155 struct connection *conn;
255 handoff(struct connection *conn)
260 log_debugx("handing off connection to the kernel");
285 fail(const struct connection *conn, const char *reason)
303 capsicate(struct connection *conn)
399 struct connection *conn;
553 log_debugx("incoming connection; forking child process #%d",
H A Dlogin.c162 login_receive(struct connection *conn, bool initial)
212 login_new_request(struct connection *conn)
397 login_negotiate_key(struct connection *conn, const char *name,
495 login_negotiate(struct connection *conn)
572 login_send_chap_a(struct connection *conn)
589 struct connection *conn;
684 struct connection *conn;
729 login_chap(struct connection *conn)
757 login_create_isid(struct connection *conn)
775 login(struct connection *con
[all...]
/freebsd-10.0-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-10.0-release/usr.sbin/ctld/
H A Dctld.h144 struct connection { struct
162 struct connection *pdu_connection;
228 void kernel_handoff(struct connection *conn);
252 struct pdu *pdu_new(struct connection *conn);
258 void login(struct connection *conn);
260 void discovery(struct connection *conn);
H A Ddiscovery.c43 text_receive(struct connection *conn)
85 struct connection *conn;
107 logout_receive(struct connection *conn)
141 struct connection *conn;
162 discovery(struct connection *conn)
/freebsd-10.0-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-10.0-release/usr.bin/iscsictl/
H A Discsictl.h89 struct connection { struct
/freebsd-10.0-release/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.0-release/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_helpers.h24 DBusConnection *connection; member in struct:wpa_dbus_object_desc
H A Ddbus_new_helpers.c359 * @connection: DBus connection on which message was received
372 static DBusHandlerResult message_handler(DBusConnection *connection, argument
417 dbus_connection_send(connection, reply, NULL);
421 wpa_dbus_flush_all_changed_properties(connection);
429 * @connection: DBus connection
450 static void free_dbus_object_desc_cb(DBusConnection *connection, void *obj_dsc) argument
478 obj_desc->connection = iface->con;
547 obj_desc->connection
[all...]
H A Ddbus_old.c194 * @connection: Connection to the system message bus
202 static DBusHandlerResult wpas_iface_message_handler(DBusConnection *connection, argument
290 dbus_connection_send(connection, reply, NULL);
305 * @connection: connection to the system message bus
314 static DBusHandlerResult wpas_message_handler(DBusConnection *connection, argument
353 dbus_connection_send(connection, reply, NULL);
/freebsd-10.0-release/sys/boot/fdt/dts/
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 115 milliseconds

12