commit | b20719ebf403b16d36a231aeef96607f8c7aa252 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Dec 08 10:51:32 2014 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Dec 08 16:59:25 2014 +0900 |
tree | d36b835d6b213291b7230099fdb9fb7a8199b693 | |
parent | 6b2007aacd13344c9bc73d5d858bd903b432c228 [diff] [blame] |
Add a microbenchmark for tun write performance. Change-Id: Id73888d25afd9253634356436c57afec630a0846
diff --git a/tun.h b/tun.h index 771814d..946ab47 100644 --- a/tun.h +++ b/tun.h
@@ -27,9 +27,9 @@ int read_fd6, write_fd6, fd4; }; -int set_nonblocking(int fd); int tun_open(); int tun_alloc(char *dev, int fd); -void send_tun(int fd, clat_packet out, int iov_len); +int send_tun(int fd, clat_packet out, int iov_len); +int set_nonblocking(int fd); #endif