commit | ce14088b80c2d22add83a616e567f9025d252ef7 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Jun 02 21:20:40 2014 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Jun 13 11:47:50 2014 +0900 |
tree | 340a3483a79095473fe86598abf4f7424b4e49a8 | |
parent | e24982ea3a4480d9d62c75b4d9a416b9479f7f0b [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. (cherry picked from commit 10e8827d636a72a7bcdfd52d15bad9342ae2a0a6) Bug: 15340961 Change-Id: I0b62ef96364a90b9c0a9e3ac3ba97b5c19c89b69
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__ */