Lines Matching refs:netfd
2158 send_data_with_read(int filefd, int netfd, const struct stat *st, int isdata) in send_data_with_read() argument
2187 else if (write_data(netfd, buf, c, &bufrem, &then, isdata)) in send_data_with_read()
2200 send_data_with_mmap(int filefd, int netfd, const struct stat *st, int isdata) in send_data_with_mmap() argument
2211 if (setsockopt(netfd, SOL_SOCKET, SO_SNDBUF, in send_data_with_mmap()
2219 if (setsockopt(netfd, SOL_SOCKET, SO_SNDLOWAT, in send_data_with_mmap()
2255 error = write_data(netfd, win, mapsize, &bufrem, &then, in send_data_with_mmap()
2268 return (send_data_with_read(filefd, netfd, st, isdata)); in send_data_with_mmap()
2280 int c, filefd, netfd, rval; in send_data() local
2328 netfd = fileno(outstr); in send_data()
2329 switch (send_data_with_mmap(filefd, netfd, st, isdata)) { in send_data()
2384 int c, netfd, filefd, rval; in receive_data() local
2418 netfd = fileno(instr); in receive_data()
2440 if ((c = read(netfd, buf, in receive_data()
2462 while ((c = read(netfd, buf, readsize)) > 0) { in receive_data()