aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorBrian Tierney <bltierney@es.net>2009-10-27 03:06:56 +0000
committerBrian Tierney <bltierney@es.net>2009-10-27 03:06:56 +0000
commit1b85468f0cc5dfca22c1fe6896810d0deda1d338 (patch)
treed3ffc4298c4581c0eb5ffea535c4a40ce5726420 /src/net.h
parent513fcaefe16e7d44a870404a28cc51b0d92fae49 (diff)
downloadiperf3-1b85468f0cc5dfca22c1fe6896810d0deda1d338.tar.gz
more cleanup of TCP/UDP code
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index 5e538e9..6643d3c 100644
--- a/src/net.h
+++ b/src/net.h
@@ -1,7 +1,7 @@
int netdial(int proto, char *client, int port);
int netannounce(int proto, char *local, int port);
-int Nwrite(int fd, char *buf, int count, int udp, struct sockaddr dest);
+int Nwrite(int fd, char *buf, int count, int prot);
int mread(int fd, char *bufp, int n);
-int Nread(int fd, char *buf, int count, int udp);
+int Nread(int fd, char *buf, int count, int prot);