Lines Matching refs:rc
99 int rc;
103 rc = usbip_net_recv(sockfd, &req, sizeof(req));
104 if (rc < 0) {
132 rc = usbip_net_send_op_common(sockfd, OP_REP_IMPORT, status);
133 if (rc < 0) {
146 rc = usbip_net_send(sockfd, &pdu_udev, sizeof(pdu_udev));
147 if (rc < 0) {
164 int rc, i;
184 rc = usbip_net_send_op_common(connfd, OP_REP_DEVLIST, ST_OK);
185 if (rc < 0) {
191 rc = usbip_net_send(connfd, &reply, sizeof(reply));
192 if (rc < 0) {
206 rc = usbip_net_send(connfd, &pdu_udev, sizeof(pdu_udev));
207 if (rc < 0) {
217 rc = usbip_net_send(connfd, &pdu_uinf,
219 if (rc < 0) {
232 int rc;
236 rc = usbip_net_recv(connfd, &req, sizeof(req));
237 if (rc < 0) {
242 rc = send_reply_devlist(connfd);
243 if (rc < 0) {
296 int rc;
300 rc = hosts_access(&request);
301 if (rc == 0)
314 int rc;
324 rc = getnameinfo((struct sockaddr *)&ss, len, host, sizeof(host),
326 if (rc)
327 err("getnameinfo: %s", gai_strerror(rc));
330 rc = tcpd_auth(connfd);
331 if (rc < 0) {
365 int rc;
369 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf),
371 if (rc)
372 err("getnameinfo: %s", gai_strerror(rc));
429 int rc;
436 rc = getaddrinfo(host, usbip_port_string, &hints, &ai_head);
437 if (rc) {
439 gai_strerror(rc));
610 int opt, rc = -1;
668 rc = do_standalone_mode(daemonize, ipv4, ipv6);
673 rc = 0;
677 rc = 0;
685 return (rc > -1 ? EXIT_SUCCESS : EXIT_FAILURE);