Lines Matching defs:cfd
332 int cfd = SAFE_SOCKET(family, sock_type, protocol);
334 init_socket_opts(cfd);
338 SAFE_SENDTO(1, cfd, msg, size, send_flags | MSG_FASTOPEN,
341 bind_before_connect(cfd);
343 SAFE_CONNECT(cfd, remote_addrinfo->ai_addr,
345 SAFE_SEND(1, cfd, msg, size, send_flags);
347 return cfd;
513 int cfd = client_connect_send(client_msg, msg_len);
514 if (cfd != -1) {
515 shutdown(cfd, SHUT_WR);
516 SAFE_CLOSE(cfd);
540 void *server_fn(void *cfd)
552 inf.fd = (intptr_t) cfd;