aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJef Poskanzer <jef@mail.acme.com>2013-03-29 17:49:27 -0700
committerJef Poskanzer <jef@mail.acme.com>2013-03-29 17:49:27 -0700
commita6b3f26be128cbeaccb736151e2d864a1a63ee61 (patch)
tree92045e93208b0e1cdc6d3cbbb4fad90c268fbc6b /src/net.h
parent5bafe6e6cf32b4d618729872e4eb8f43b7af97d5 (diff)
downloadiperf3-a6b3f26be128cbeaccb736151e2d864a1a63ee61.tar.gz
Dual-stack operation - IPv4 and IP46 in the same server.
Also added -4 flag to force IPv4.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 48e9275..e4070c4 100644
--- a/src/net.h
+++ b/src/net.h
@@ -19,6 +19,7 @@ int Nsendfile(int fromfd, int tofd, const char *buf, size_t count) /* __attribut
int getsock_tcp_mss(int inSock);
int set_tcp_options(int sock, int no_delay, int mss);
int setnonblocking(int fd, int nonblocking);
+int getsockdomain(int sock);
#define NET_SOFTERROR -1
#define NET_HARDERROR -2