OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:connfd
(Results
1 - 4
of
4
) sorted by null
/external/nanopb-c/examples/network_server/
server.c
48
void handle_connection(int
connfd
)
52
pb_istream_t input = pb_istream_from_socket(
connfd
);
53
pb_ostream_t output = pb_ostream_from_socket(
connfd
);
89
int listenfd,
connfd
;
local
115
connfd
= accept(listenfd, NULL, NULL);
117
if (
connfd
< 0)
125
handle_connection(
connfd
);
129
close(
connfd
);
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/
hog.c
137
int
connfd
;
local
138
if ((
connfd
= accept(sockfd, NULL, NULL)) < 0) {
165
ssize_t bytes_read = recv(
connfd
, &command, sizeof(command), 0);
199
send(
connfd
, &result, sizeof(result), 0);
202
bytes_read = recv(
connfd
, &balloon_size, sizeof(balloon_size), 0);
213
send(
connfd
, &balloon_size, sizeof(balloon_size), 0);
/external/selinux/policycoreutils/mcstrans/src/
mcstransd.c
267
add_pollfd(struct pollfd **ufds, int *nfds, int
connfd
)
289
(*ufds)[ii].fd =
connfd
;
320
int
connfd
= (*ufds)[ii].fd;
local
323
if (
connfd
== sockfd) {
326
if ((
connfd
= accept(sockfd, NULL, NULL)) < 0) {
331
if (add_pollfd(ufds, nfds,
connfd
)) {
334
connfd
);
338
ret = service_request(
connfd
);
344
connfd
);
348
close(
connfd
);
[
all
...]
/external/netcat/
netcat.c
370
int
connfd
;
local
410
connfd
= accept(s, (struct sockaddr *)&cliaddr,
412
readwrite(
connfd
);
413
close(
connfd
);
Completed in 71 milliseconds