Lines Matching defs:netfd
2159 send_data_with_read(int filefd, int netfd, const struct stat *st, int isdata)
2188 else if (write_data(netfd, buf, c, &bufrem, &then, isdata))
2201 send_data_with_mmap(int filefd, int netfd, const struct stat *st, int isdata)
2212 if (setsockopt(netfd, SOL_SOCKET, SO_SNDBUF,
2220 if (setsockopt(netfd, SOL_SOCKET, SO_SNDLOWAT,
2256 error = write_data(netfd, win, mapsize, &bufrem, &then,
2269 return (send_data_with_read(filefd, netfd, st, isdata));
2281 int c, filefd, netfd, rval;
2329 netfd = fileno(outstr);
2330 switch (send_data_with_mmap(filefd, netfd, st, isdata)) {
2385 int c, netfd, filefd, rval;
2419 netfd = fileno(instr);
2441 if ((c = read(netfd, buf,
2463 while ((c = read(netfd, buf, readsize)) > 0) {