3762c311729fe9f3af085c14c5c1fb471d994c03 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
5baa3a62a97544669fba6d65a11c07f252e654dd |
|
20-Dec-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
97a61565ea95472e65899070e64853f8c147bb11 |
|
15-Jul-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: Hook up the new control protocol and network state. 1. No more End-Of-Arguments. 2. Daemons close the control socket after they are initialized. 3. No more system properties. 4. ip-up-vpn now creates state to pass the configuration. 5. JNI methods are split again for legacy VPN. Change-Id: I02fafdf01d425c965345ef712b2bd5fdee3a0cab
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
c2b8aa0b4c822b0e307f62131650f4a6ee89bb66 |
|
04-Jul-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: rename some variables. Change-Id: I7f15b5ab30f591e26242fca27af25f578809534c
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
3281034c1c458b4eecd867d20b64dc5edd68ec14 |
|
03-Jul-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: merge JNI methods. Legacy VPN needs to change routes by itself. Change-Id: I4cf6639f2b00225810f49704ae05797fc70921d9
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
9c0835fd7262c50cf6a91380df1654daffe2c977 |
|
01-Jul-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: correct the netmask for IPv4. Change-Id: Id6e955af129d55120676d0d9cfe75388671aa367
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
f4e3bf892e593d8c74290739446ac205fe8c66b2 |
|
30-Jun-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: refactor few JNI methods for the usage of legacy VPN. Now default routes are handled in JNI instead of VpnBuilder. Change-Id: Ib026bba6793b64aae0f8356df3d2aaae489d08b4
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
84bf7390ea6b9a82bbd036b64c41d7c120b7f159 |
|
17-Jun-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: make the file descriptor non-blocking by default. Change-Id: I89899b2b6a8ac64a4a052ffd501cc0221fab3ffe
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
96c7e7000010cbec8345a2ae8672355080cf1531 |
|
14-Jun-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: do not allow zero prefix length in routing rules. The public API splits default route into two narrower routes. Add this check in case some one calls the private API. Change-Id: Ie1fc0155b74415b971380bc8429cd74026c3fda0
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
8ea928945b6a594e7e569613742367a91f01e785 |
|
14-Jun-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: do not use gateway in routing rules. The first release of this API only supports TUN interface, and so far there is no plan for TAP. TUN works on IP frames which makes gateway nearly useless. The only value to have a gateway is that kernel may use it to select the source address. However currently it does not work in IPv6, and even in IPv4 applications can bind to any local address on the device. Remove it to keep the API clear, and it can be added back at any time if needed. Change-Id: If9086d20d885a3a7f7ab5f07afbcfeecb677bbea
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
23a5e4bcdcf7d3fef9aaa6c4a20f9f08f22ca9a6 |
|
14-Jun-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: tolerate duplicated routes. Change-Id: I0f9efa8c3af3d4859358438745a5cd2c4ad376ca
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
6ddd57491a06da3ee56056b088424500c144063a |
|
14-Jun-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: fix a bad optimization of zeroing ifr_flags lately. Change-Id: Ib7d89422ef0a9159ba912cf32b678821cb72a25a
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
6224b5ec3857d78e92bbc21075717eaa228ff891 |
|
14-Jun-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: set IFF_NO_PI on TUN interface. Packet info header (struct tun_pi) was required to support IPv6 in kernel prior to 2.6.26. Setting IFF_NO_PI will remove the header from the packets sent/recieved via TUN file descriptor, so now they are just raw IP packets. Change-Id: I0b4ae9db23d3bc10995a00eb053527b499ad6eb6
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
3663227a8be5c6c05bf4adadc378fd69b7ae814c |
|
14-Jun-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: add MTU support. Change-Id: Ia2f06ae1fcf065bde7dafd212b84b37a34f1a47e
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
36673698078cb47e777418cadc4115a65bc5947d |
|
13-Jun-2011 |
Chia-chi Yeh <chiachi@android.com> |
VPN: use ParcelFileDescriptor.adoptFd() instead of doing it in JNI. This removes the dependency of android_util_Binder.h. This change also removes some redundant zeroing. Change-Id: Ie9fedd471dfa198f9a3261e03651f945cefbbf61
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|
ff3bdca31f4cf2bd607519b276dd175763aa1784 |
|
24-May-2011 |
Chia-chi Yeh <chiachi@android.com> |
The service part of the user space VPN support. The dialogs will be in another change. Change-Id: I0cdfd2ef21ffd40ee955b3cbde5ada65dbfdb0bc
/frameworks/base/services/jni/com_android_server_connectivity_Vpn.cpp
|