History log of /external/android-clat/clatd_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2dcca6feb91fd917e26c4989af6400de904466a2 25-Feb-2016 George Burgess IV <gbiv@google.com> Convert a few instances of sprintf to snprintf.

Change-Id: Ib3cdf8c3c817adc0eea0095ca4ef5fd66c8456b0
/external/android-clat/clatd_test.cpp
fe2403cbe3b695c146f1e94722efa218865b82c2 25-Nov-2014 Andreas Gampe <agampe@google.com> am fee9afb1: Android-Clatd: Remove unused variable

* commit 'fee9afb1a5d9f7f5df0c79e29368c61d7da16fb8':
Android-Clatd: Remove unused variable
fee9afb1a5d9f7f5df0c79e29368c61d7da16fb8 25-Nov-2014 Andreas Gampe <agampe@google.com> Android-Clatd: Remove unused variable

For build-system CFLAGS clean-up, fix unused-but-set variables.

Change-Id: I3fc6b0d9bec87cd54d7b5199108cff576b4be677
/external/android-clat/clatd_test.cpp
7a7cfd6b4ebe1d0a12a52d31bdc66a5e576d6e3d 18-Nov-2014 Lorenzo Colitti <lorenzo@google.com> am 2596f42a: Never use a statically-configured IID on wifi.

* commit '2596f42a4f4c42bfb96ccbfc2700dbf70502ec75':
Never use a statically-configured IID on wifi.
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
5ba6d23b612c74edf93456fde29c31538a2913f2 03-Nov-2014 Lorenzo Colitti <lorenzo@google.com> am 798f9934: Use different IPv4 addresses on different clat interfaces.

* commit '798f9934fca523dfb57136bd185cf6e9460323ad':
Use different IPv4 addresses on different clat interfaces.
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
9d0a1335b0559224a7c86ae430646b8cd13a4907 31-Oct-2014 Lorenzo Colitti <lorenzo@google.com> am 9808952b: Generate a random IID if one is not specified.

* commit '9808952bdf2fa6ce4cbd790d1967691bb95bf327':
Generate a random IID if one is not specified.
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
05ff508a793c2113ca2a06942f0cec1aec220799 26-Aug-2014 Chih-Hung Hsieh <chh@google.com> Remove unused variables.

BUG: 17281763
Change-Id: Ia9cbda2897e46ca757910d59d0cbb6de07d55482
/external/android-clat/clatd_test.cpp
ce14088b80c2d22add83a616e567f9025d252ef7 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.

(cherry picked from commit 10e8827d636a72a7bcdfd52d15bad9342ae2a0a6)

Bug: 15340961
Change-Id: I0b62ef96364a90b9c0a9e3ac3ba97b5c19c89b69
/external/android-clat/clatd_test.cpp
e24982ea3a4480d9d62c75b4d9a416b9479f7f0b 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.

(cherry picked from commit 91d0f1bc6dd24e54ed3caef9b08525b332ab0adf)

Bug: 15340961
Change-Id: I374b85f28ae570dc82d21e1ea82a2f072fd7fba3
/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