Searched refs:client_fd (Results 1 - 13 of 13) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/libsmbclient/smbwrapper/
H A Dsmbw.c57 int smbw_ref(int client_fd, Ref_Count_Type type, ...) argument
62 client_fd -= SMBC_BASE_FD;
68 return ++smbw_ref_count[client_fd];
71 return --smbw_ref_count[client_fd];
74 return smbw_ref_count[client_fd];
77 return (smbw_ref_count[client_fd] = va_arg(ap, int));
373 int client_fd; local
392 client_fd = smbc_creat(path, mode);
394 client_fd = smbc_open(path, flags, mode);
397 if (client_fd <
416 int client_fd; local
447 int client_fd; local
461 int client_fd; local
474 int client_fd; local
504 int client_fd; local
651 int client_fd; local
799 int client_fd; local
848 int client_fd; local
890 int client_fd; local
925 int client_fd; local
[all...]
H A Dsmbw.h67 int smbw_ref(int client_fd, Ref_Count_Type type, ...);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/src/
H A Dtcp.c241 unregister_fd(m->client_fd, STATE(fds));
242 close(m->client_fd);
243 m->client_fd = -1;
265 m->client_fd = ret;
268 return m->client_fd;
337 ret = recvfrom(m->client_fd, data, size, 0,
342 unregister_fd(m->client_fd, STATE(fds));
343 close(m->client_fd);
344 m->client_fd = -1;
351 unregister_fd(m->client_fd, STAT
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/
H A Ddbus-server-socket.c87 int client_fd)
94 _dbus_verbose ("Creating new client connection with fd %d\n", client_fd);
98 if (!_dbus_set_fd_nonblocking (client_fd, NULL))
104 transport = _dbus_transport_new_for_socket (client_fd, &server->guid_hex, FALSE);
107 _dbus_close_socket (client_fd, NULL);
120 /* note that client_fd is now owned by the transport, and will be
185 int client_fd; local
191 client_fd = _dbus_accept_with_noncefile (listen_fd, socket_server->noncefile);
193 client_fd = _dbus_accept (listen_fd);
195 if (client_fd <
86 handle_new_client_fd_and_unlock(DBusServer *server, int client_fd) argument
[all...]
H A Ddbus-server-debug-pipe.c214 int client_fd, server_fd; local
249 if (!_dbus_full_duplex_pipe (&client_fd, &server_fd, FALSE,
258 client_transport = _dbus_transport_new_for_socket (client_fd,
262 _dbus_close_socket (client_fd, NULL);
271 client_fd = -1;
H A Ddbus-sysdeps-unix.h80 dbus_bool_t _dbus_read_credentials (int client_fd,
H A Ddbus-sysdeps-unix.c1657 * @param client_fd the client file descriptor
1663 _dbus_read_credentials_socket (int client_fd, argument
1722 bytes_read = recvmsg (client_fd, &msg, 0);
1776 if (getsockopt (client_fd, SOL_SOCKET, SO_PEERCRED, &cr, &cr_len) == 0 &&
1798 _dbus_set_local_creds (client_fd, FALSE);
1802 if (getpeereid (client_fd, &euid, &egid) == 0)
1812 if (getpeerucred (client_fd, &ucred) == 0)
1928 int client_fd; local
1941 client_fd = accept4 (listen_fd, &addr, &addrlen, SOCK_CLOEXEC);
1942 cloexec_done = client_fd >
[all...]
H A Ddbus-sysdeps.h187 dbus_bool_t _dbus_read_credentials_socket (int client_fd,
H A Ddbus-sysdeps-win.c1582 int client_fd; local
1585 client_fd = accept (listen_fd, NULL, NULL);
1587 if (DBUS_SOCKET_IS_INVALID (client_fd))
1594 _dbus_verbose ("client fd %d accepted\n", client_fd);
1596 return client_fd;
1674 * @param client_fd the client file descriptor
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/include/
H A Dtcp.h45 int client_fd; /* only for the server side */ member in struct:tcp_sock
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/notify/fanotify/
H A Dfanotify_user.c57 int client_fd; local
64 client_fd = get_unused_fd();
65 if (client_fd < 0)
66 return client_fd;
70 put_unused_fd(client_fd);
96 put_unused_fd(client_fd);
97 client_fd = PTR_ERR(new_file);
99 fd_install(client_fd, new_file);
102 return client_fd;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/
H A Dutil_sock.c28 static int client_fd = -1; variable
34 client_fd = fd;
35 safe_strcpy(client_ip_string, get_peer_addr(client_fd), sizeof(client_ip_string)-1);
80 return get_peer_name(client_fd,False);
85 return get_peer_addr(client_fd);
90 return get_socket_addr(client_fd);
95 return get_socket_port(client_fd);
103 if (getpeername(client_fd, sa, &length) < 0) {
429 if (fd == client_fd) {
463 if (fd == client_fd) {
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/client/
H A Dsmbmount.c99 static void close_our_files(int client_fd) argument
106 if (i == client_fd)

Completed in 190 milliseconds