commit | 10e8827d636a72a7bcdfd52d15bad9342ae2a0a6 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Jun 02 21:20:40 2014 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Wed Jun 11 12:42:20 2014 +0900 |
tree | 11c136eee521a2e0815eb51f887135d86351f53a | |
parent | 91d0f1bc6dd24e54ed3caef9b08525b332ab0adf [diff] [blame] |
Use a raw socket to send IPv6 packets instead of a tun. This will allow us to bind the socket to a particular network. Bug: 15340961 Change-Id: I50857d372955f2b6f7035157c2968cda72c32585
diff --git a/clatd.h b/clatd.h index 29c9ace..0a48013 100644 --- a/clatd.h +++ b/clatd.h
@@ -33,7 +33,7 @@ struct tun_data { char device6[IFNAMSIZ], device4[IFNAMSIZ]; - int fd6, fd4; + int read_fd6, write_fd6, fd4; }; #endif /* __CLATD_H__ */