History log of /external/android-clat/clatd_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2596f42a4f4c42bfb96ccbfc2700dbf70502ec75 11-Nov-2014 Lorenzo Colitti <lorenzo@google.com> Never use a statically-configured IID on wifi.

Bug: 12111730
Change-Id: I062d81f2b65e6e89baae0f840cbd673f8051d523
/external/android-clat/clatd_test.cpp
798f9934fca523dfb57136bd185cf6e9460323ad 31-Oct-2014 Lorenzo Colitti <lorenzo@google.com> Use different IPv4 addresses on different clat interfaces.

Previously the code would use 192.0.0.4 on all clat interfaces.
This works, but it has the problem when a clat interface goes
down, we do not reset TCP connections on its IP address if there
is another clat interface up.

Fix this by assigning every clat interface its own IP address in
192.0.0.0/29.

Bug: 12111730
Change-Id: I28c831acd93b0980efea8e90c1cdf8b607beac68
/external/android-clat/clatd_test.cpp
9808952bdf2fa6ce4cbd790d1967691bb95bf327 09-Oct-2014 Lorenzo Colitti <lorenzo@google.com> Generate a random IID if one is not specified.

- Add code to generate a random IPv6 address that's
checksum-neutral with the NAT64 prefix and clat IPv4 address.
- Only calculate the IP address after the NAT64 prefix is known.
- Because the clat IPv6 address is no longer determinisitic,
modify interface_poll so it checks whether the prefix has
changed instead of checking whether the IPv6 address has
changed.
- Add/update unit tests.

Change-Id: Ia53716ca5315ebdd0eaa3ad3a07552bf18e9dd5c
/external/android-clat/clatd_test.cpp
10e8827d636a72a7bcdfd52d15bad9342ae2a0a6 02-Jun-2014 Lorenzo Colitti <lorenzo@google.com> 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
/external/android-clat/clatd_test.cpp
91d0f1bc6dd24e54ed3caef9b08525b332ab0adf 02-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Make translate_packet take a fd instead of a tun header.

This will make it easier to use separate fds for reading and
writing in a future change.

Bug: 15340961
Change-Id: I5b081b05765cae0488ac599be5738ce9737cae41
/external/android-clat/clatd_test.cpp
932614ee5e740704d7ef951dff6daede4fe12904 03-Apr-2014 Ben Cheng <bccheng@google.com> Minor code clean-up for GCC 4.9.

- Tidy up "signed vs unsigned" comparison
- Unconditionally initialize the "protocol" variable. This is a
false-positive warning as protocol is indeed initialized when used,
but GCC failed to detect the dependency between protocol and ip6.

Change-Id: I8146898d91d45531c3de73403e0df3330c0a2043
/external/android-clat/clatd_test.cpp
fcac410fa15613873a07143ccd46470b869346a3 25-Feb-2014 Brian Carlstrom <bdc@google.com> Use uint8_t not char for binary data to avoid -Wall -Werror issues on x86 builds

Change-Id: Ib61e67f15360c27c3ebf61f870a9482217c52357
/external/android-clat/clatd_test.cpp
f3beefc96a5a4f295562f60d648bd6e795980a10 14-Feb-2014 Lorenzo Colitti <lorenzo@google.com> Add a unit test for 464xlat translation code.

Bug: 11542311
Change-Id: Ibc7f156a6abb96c9bf4983ecd63b052fe308e422
/external/android-clat/clatd_test.cpp