summaryrefslogtreecommitdiffstats
path: root/tun.h
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2015-02-20 02:34:47 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-20 02:34:47 +0000
commit936368c6e9d683e0d7af0f38345449e2c8c3db58 (patch)
tree4b9116e04bff46ed91ca61164f9ac1dc31928419 /tun.h
parentb3d1c78c63fec29570efa39565155c0a03fb6147 (diff)
parentf007c63fd437d1bd979bbe3882948776485ef55c (diff)
downloadandroid_external_android-clat-936368c6e9d683e0d7af0f38345449e2c8c3db58.tar.gz
android_external_android-clat-936368c6e9d683e0d7af0f38345449e2c8c3db58.tar.bz2
android_external_android-clat-936368c6e9d683e0d7af0f38345449e2c8c3db58.zip
am f007c63f: am 9353be2a: Switch the receive path to memory-mapped I/O with PACKET_RX_RING.
* commit 'f007c63fd437d1bd979bbe3882948776485ef55c': Switch the receive path to memory-mapped I/O with PACKET_RX_RING.
Diffstat (limited to 'tun.h')
-rw-r--r--tun.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tun.h b/tun.h
index 946ab47..bcdd10e 100644
--- a/tun.h
+++ b/tun.h
@@ -21,10 +21,12 @@
#include <linux/if.h>
#include "clatd.h"
+#include "ring.h"
struct tun_data {
char device4[IFNAMSIZ];
int read_fd6, write_fd6, fd4;
+ struct packet_ring ring;
};
int tun_open();