Home
last modified time | relevance | path

Searched refs:socket_context (Results 1 – 25 of 134) sorted by relevance

123456

/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/lib/socket/
H A Dsocket.h26 struct socket_context;
44 NTSTATUS (*fn_init)(struct socket_context *sock);
61 struct socket_context **new_sock);
77 void (*fn_close)(struct socket_context *sock);
85 int (*fn_get_fd)(struct socket_context *sock);
113 struct socket_context { struct
128 struct socket_context **new_sock, argument
140 NTSTATUS socket_accept(struct socket_context *sock, struct socket_context **new_sock);
156 int socket_get_fd(struct socket_context *sock);
191 struct socket_context **result,
[all …]
H A Dsocket.c31 static int socket_destructor(struct socket_context *sock) in socket_destructor()
40 struct socket_context **new_sock, in socket_create_with_ops()
45 (*new_sock) = talloc(mem_ctx, struct socket_context); in socket_create_with_ops()
88 struct socket_context **new_sock, uint32_t flags) in socket_create()
100 _PUBLIC_ NTSTATUS socket_connect(struct socket_context *sock, in socket_connect()
127 _PUBLIC_ NTSTATUS socket_listen(struct socket_context *sock, in socket_listen()
145 _PUBLIC_ NTSTATUS socket_accept(struct socket_context *sock, struct socket_context **new_sock) in socket_accept()
220 _PUBLIC_ NTSTATUS socket_send(struct socket_context *sock, in socket_send()
258 _PUBLIC_ NTSTATUS socket_sendto(struct socket_context *sock, in socket_sendto()
336 _PUBLIC_ int socket_get_fd(struct socket_context *sock) in socket_get_fd()
[all …]
H A Dsocket_unix.c39 static NTSTATUS unixdom_init(struct socket_context *sock) in unixdom_init()
65 static void unixdom_close(struct socket_context *sock) in unixdom_close()
97 static NTSTATUS unixdom_connect(struct socket_context *sock, in unixdom_connect()
125 static NTSTATUS unixdom_listen(struct socket_context *sock, in unixdom_listen()
177 static NTSTATUS unixdom_accept(struct socket_context *sock, in unixdom_accept()
178 struct socket_context **new_sock) in unixdom_accept()
201 (*new_sock) = talloc(NULL, struct socket_context); in unixdom_accept()
240 static NTSTATUS unixdom_send(struct socket_context *sock, in unixdom_send()
258 static NTSTATUS unixdom_sendto(struct socket_context *sock, in unixdom_sendto()
292 static NTSTATUS unixdom_set_option(struct socket_context *sock, in unixdom_set_option()
[all …]
H A Dsocket_ipv6.c44 static NTSTATUS ipv6_tcp_init(struct socket_context *sock) in ipv6_tcp_init()
56 static void ipv6_tcp_close(struct socket_context *sock) in ipv6_tcp_close()
61 static NTSTATUS ipv6_tcp_connect_complete(struct socket_context *sock, uint32_t flags) in ipv6_tcp_connect_complete()
88 static NTSTATUS ipv6_tcp_connect(struct socket_context *sock, in ipv6_tcp_connect()
142 static NTSTATUS ipv6_tcp_listen(struct socket_context *sock, in ipv6_tcp_listen()
186 static NTSTATUS ipv6_tcp_accept(struct socket_context *sock, struct socket_context **new_sock) in ipv6_tcp_accept()
211 (*new_sock) = talloc(NULL, struct socket_context); in ipv6_tcp_accept()
231 static NTSTATUS ipv6_tcp_recv(struct socket_context *sock, void *buf, in ipv6_tcp_recv()
250 static NTSTATUS ipv6_tcp_send(struct socket_context *sock, in ipv6_tcp_send()
273 static char *ipv6_tcp_get_peer_name(struct socket_context *sock, TALLOC_CTX *mem_ctx) in ipv6_tcp_get_peer_name()
[all …]
H A Dsocket_ipv4.c29 static NTSTATUS ipv4_init(struct socket_context *sock) in ipv4_init()
54 static void ipv4_close(struct socket_context *sock) in ipv4_close()
87 static NTSTATUS ipv4_connect(struct socket_context *sock, in ipv4_connect()
155 static NTSTATUS ipv4_listen(struct socket_context *sock, in ipv4_listen()
204 static NTSTATUS ipv4_accept(struct socket_context *sock, struct socket_context **new_sock) in ipv4_accept()
233 (*new_sock) = talloc(NULL, struct socket_context); in ipv4_accept()
253 static NTSTATUS ipv4_recv(struct socket_context *sock, void *buf, in ipv4_recv()
273 static NTSTATUS ipv4_recvfrom(struct socket_context *sock, void *buf, in ipv4_recvfrom()
329 static NTSTATUS ipv4_send(struct socket_context *sock, in ipv4_send()
346 static NTSTATUS ipv4_sendto(struct socket_context *sock, in ipv4_sendto()
[all …]
H A Dconnect_multi.c41 struct socket_context *sock;
52 struct socket_context *sock;
248 struct socket_context **sock, in socket_connect_multi_recv()
267 struct socket_context **result, in socket_connect_multi()
/dports/net/samba412/samba-4.12.15/source4/lib/socket/
H A Dsocket.h25 struct socket_context;
60 struct socket_context **new_sock);
76 void (*fn_close)(struct socket_context *sock);
114 struct socket_context { struct
134 struct socket_context **new_sock, argument
147 NTSTATUS socket_accept(struct socket_context *sock, struct socket_context **new_sock);
207 struct socket_context *sock,
221 struct socket_context **result,
228 struct socket_context **result,
239 struct socket_context **result,
[all …]
H A Dsocket.c33 static int socket_destructor(struct socket_context *sock) in socket_destructor()
52 struct socket_context **new_sock, in socket_create_with_ops()
57 (*new_sock) = talloc(mem_ctx, struct socket_context); in socket_create_with_ops()
101 struct socket_context **new_sock, uint32_t flags) in socket_create()
113 _PUBLIC_ NTSTATUS socket_connect(struct socket_context *sock, in socket_connect()
140 _PUBLIC_ NTSTATUS socket_listen(struct socket_context *sock, in socket_listen()
158 _PUBLIC_ NTSTATUS socket_accept(struct socket_context *sock, struct socket_context **new_sock) in socket_accept()
234 _PUBLIC_ NTSTATUS socket_send(struct socket_context *sock, in socket_send()
272 _PUBLIC_ NTSTATUS socket_sendto(struct socket_context *sock, in socket_sendto()
435 _PUBLIC_ int socket_get_fd(struct socket_context *sock) in socket_get_fd()
[all …]
H A Dsocket_unix.c39 static NTSTATUS unixdom_init(struct socket_context *sock) in unixdom_init()
67 static void unixdom_close(struct socket_context *sock) in unixdom_close()
99 static NTSTATUS unixdom_connect(struct socket_context *sock, in unixdom_connect()
127 static NTSTATUS unixdom_listen(struct socket_context *sock, in unixdom_listen()
179 static NTSTATUS unixdom_accept(struct socket_context *sock, in unixdom_accept()
180 struct socket_context **new_sock) in unixdom_accept()
205 (*new_sock) = talloc(NULL, struct socket_context); in unixdom_accept()
244 static NTSTATUS unixdom_send(struct socket_context *sock, in unixdom_send()
262 static NTSTATUS unixdom_sendto(struct socket_context *sock, in unixdom_sendto()
313 static NTSTATUS unixdom_set_option(struct socket_context *sock, in unixdom_set_option()
[all …]
H A Dsocket_ip.c33 static NTSTATUS ipv4_init(struct socket_context *sock) in ipv4_init()
61 static void ip_close(struct socket_context *sock) in ip_close()
97 static NTSTATUS ipv4_connect(struct socket_context *sock, in ipv4_connect()
167 static NTSTATUS ipv4_listen(struct socket_context *sock, in ipv4_listen()
216 static NTSTATUS ipv4_accept(struct socket_context *sock, struct socket_context **new_sock) in ipv4_accept()
247 (*new_sock) = talloc(NULL, struct socket_context); in ipv4_accept()
344 static NTSTATUS ip_send(struct socket_context *sock, in ip_send()
517 static int ip_get_fd(struct socket_context *sock) in ip_get_fd()
598 static NTSTATUS ipv6_init(struct socket_context *sock) in ipv6_init()
746 static NTSTATUS ipv6_tcp_accept(struct socket_context *sock, struct socket_context **new_sock) in ipv6_tcp_accept()
[all …]
H A Dconnect_multi.c41 struct socket_context *sock;
54 struct socket_context *sock;
311 struct socket_context **sock, in socket_connect_multi_ex_recv()
332 struct socket_context **result, in socket_connect_multi_ex()
369 struct socket_context **sock, in socket_connect_multi_recv()
380 struct socket_context **result, in socket_connect_multi()
H A Dconnect.c31 struct socket_context *sock;
72 struct composite_context *socket_connect_send(struct socket_context *sock, in socket_connect_send()
148 NTSTATUS socket_connect_ev(struct socket_context *sock, in socket_connect_ev()
/dports/net/usockets/uSockets-0.8.1/examples/
H A Dpeer_verify_test.c27 struct socket_context { struct
51 struct socket_context *ctx = (struct socket_context *)us_socket_ext(SSL, s); in write_buffered() argument
67 struct socket_context *ctx = (struct socket_context *)us_socket_ext(SSL, s); in write_backpressure()
163 struct socket_context *ctx = (struct socket_context *)us_socket_ext(SSL, s); in on_server_socket_open()
180 struct socket_context *ctx = (struct socket_context *)us_socket_ext(SSL, s); in on_client_socket_open()
225 …server_context = us_create_socket_context(SSL, loop, sizeof(struct socket_context), server_options… in expect_peer_verify()
235 …us_socket_context_listen(SSL, server_context, "127.0.0.1", port, 0, sizeof(struct socket_context)); in expect_peer_verify()
237 …_socket_context_listen(SSL, server_context, "127.0.0.1", ++port, 0, sizeof(struct socket_context)); in expect_peer_verify()
241 …client_context = us_create_socket_context(SSL, loop, sizeof(struct socket_context), client_options… in expect_peer_verify()
249 …et_context_connect(SSL, client_context, "127.0.0.1", port, NULL, 0, sizeof(struct socket_context)); in expect_peer_verify()
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/lib/tls/
H A Dtls.h42 struct socket_context *tls_init_server(struct tls_params *parms,
43 struct socket_context *sock,
50 struct socket_context *tls_init_client(struct socket_context *sock,
56 BOOL tls_enabled(struct socket_context *tls);
H A Dtls.c48 struct socket_context *socket;
64 BOOL tls_enabled(struct socket_context *sock) in tls_enabled()
85 static NTSTATUS tls_socket_init(struct socket_context *sock) in tls_socket_init()
316 static NTSTATUS tls_socket_send(struct socket_context *sock, in tls_socket_send()
457 struct socket_context *socket, in tls_init_server()
463 struct socket_context *new_sock; in tls_init_server()
537 struct socket_context *tls_init_client(struct socket_context *socket, in tls_init_client()
544 struct socket_context *new_sock; in tls_init_client()
630 static int tls_socket_get_fd(struct socket_context *sock) in tls_socket_get_fd()
670 struct socket_context *socket, in tls_init_server()
[all …]
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/auth/gensec/
H A Dsocket.c33 struct socket_context *socket;
47 static NTSTATUS gensec_socket_init_fn(struct socket_context *sock) in gensec_socket_init_fn()
171 static NTSTATUS gensec_socket_pending(struct socket_context *sock, size_t *npending) in gensec_socket_pending()
224 static NTSTATUS gensec_socket_recv(struct socket_context *sock, void *buf, in gensec_socket_recv()
341 static NTSTATUS gensec_socket_send(struct socket_context *sock, in gensec_socket_send()
410 struct socket_context *current_socket, in gensec_socket_init()
414 struct socket_context **new_socket) in gensec_socket_init()
417 struct socket_context *new_sock; in gensec_socket_init()
492 static char *gensec_socket_get_peer_name(struct socket_context *sock, TALLOC_CTX *mem_ctx) in gensec_socket_get_peer_name()
504 static struct socket_address *gensec_socket_get_my_addr(struct socket_context *sock, TALLOC_CTX *me… in gensec_socket_get_my_addr()
[all …]
H A Dsocket.h24 struct socket_context;
27 struct socket_context *current_socket,
31 struct socket_context **new_socket);
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/ldap_server/
H A Dldap_server.h35 struct socket_context *raw;
36 struct socket_context *tls;
37 struct socket_context *sasl;
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/smbd/
H A Dprocess_single.c40 struct socket_context *sock, in single_accept_connection() argument
41 void (*new_conn)(struct event_context *, struct socket_context *, in single_accept_connection()
46 struct socket_context *sock2; in single_accept_connection()
H A Dprocess_model.h47 void (*accept_connection)(struct event_context *, struct socket_context *,
48 void (*)(struct event_context *, struct socket_context *,
H A Dprocess_standard.c59 struct socket_context *sock, in standard_accept_connection() argument
60 void (*new_conn)(struct event_context *, struct socket_context *, in standard_accept_connection()
65 struct socket_context *sock2; in standard_accept_connection()
/dports/net/samba412/samba-4.12.15/source4/smbd/
H A Dprocess_single.c43 struct socket_context *listen_socket, in single_accept_connection() argument
46 struct socket_context *, in single_accept_connection()
53 struct socket_context *connected_socket; in single_accept_connection()
H A Dprocess_model.h50 struct socket_context *,
53 struct socket_context *,
/dports/www/libmicrohttpd/libmicrohttpd-0.9.74/src/lib/
H A Dconnection_info.c91 return_value->socket_context = &connection->socket_context; in MHD_connection_get_information_sz()
/dports/net/samba412/samba-4.12.15/source4/lib/stream/
H A Dpacket.h26 struct socket_context;
43 void packet_set_socket(struct packet_context *pc, struct socket_context *sock);

123456