History log of /system/netd/server/InterfaceController.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7adf8d71b80a729354c358d7a0110651750db5f2 28-Jul-2015 Erik Kline <ek@google.com> Enable use_oif_addrs_only in netd.

Bug: 19470192
Bug: 21832279
Bug: 22464419
Change-Id: I53a9e592a03fd16c124dcae2a47c6ac2e9049c48
/system/netd/server/InterfaceController.cpp
3f95777d2aafa6c0ac4671d55557cad0d04a223f 03-Jun-2015 Erik Kline <ek@google.com> Fix boolean to integer return value conversion.

Change-Id: Ie996c9b4f84f9cd8395abb592ecf0c04cfdc4023
/system/netd/server/InterfaceController.cpp
145fd25509e08fb2d76fcff8d011e1aa9a2e6455 12-May-2015 Erik Kline <ek@google.com> InterfaceController::setBaseReachableTimeMs()

Add an InterfaceController::setBaseReachableTimeMs() method to set
the ARP/ND default reachable time, as configured in:

/proc/sys/net/ipv4/{interface}/base_reachable_time_ms
/proc/sys/net/ipv6/{interface}/base_reachable_time_ms

Bug: 18581716
Change-Id: Idc652e81396d81efe0f08bb1d6dc38bc8e554a56
/system/netd/server/InterfaceController.cpp
e1da484b30196cc6ec496407e32c67bcb5295bec 12-May-2015 Erik Kline <ek@google.com> Partial refactoring and Android-type style changes.

Bug: 18581716
Change-Id: I85aec575a318861468ea4707b70ed747c27293c7
/system/netd/server/InterfaceController.cpp
5407e14fd3d81bb76f94221b4a359faa2806de65 16-Mar-2015 Dan Albert <danalbert@google.com> Revert "Revert "Update for libbase.""

This reverts commit 4a0ab5ff4a87cfc4a987da99546b01e44875a2e5.

(cherry picked from commit 3e87c785434fdfed2fb00496cb391c411a426bdd)

Change-Id: I042f485f3cc84206766298853491ddd26dbba13f
/system/netd/server/InterfaceController.cpp
4a0ab5ff4a87cfc4a987da99546b01e44875a2e5 16-Mar-2015 Nicolas Geoffray <ngeoffray@google.com> Revert "Update for libbase."

Breaks internal master.

This reverts commit b67219a71d1d896bcb34c4a7a797824b88515b2c.

Change-Id: I43145f0724ad2d669b65d20b6fd6ccc44b8f0a4f
/system/netd/server/InterfaceController.cpp
b67219a71d1d896bcb34c4a7a797824b88515b2c 14-Mar-2015 Dan Albert <danalbert@google.com> Update for libbase.

StringPrintf and the string based file I/O are being moved to libbase.

Change-Id: I765d9e53f65a76d318d9d0d9503403fc092254d5
/system/netd/server/InterfaceController.cpp
a0b6b3a6ec2090ebd6cae611ec35fc670857331b 04-Feb-2015 Elliott Hughes <enh@google.com> am 50c6639a: Merge "Use StringPrintf."

* commit '50c6639a55b3208b64adc691b181a90e1e6de223':
Use StringPrintf.
be95c1599783ffd4cf0661db263c2e6783e27d6e 04-Feb-2015 Elliott Hughes <enh@google.com> Use StringPrintf.

This doesn't replace every asprintf in netd, but it replaces the ones in code
I touched.

Change-Id: I2de5c7772523372bb36145e66e885aa8132ad58e
/system/netd/server/InterfaceController.cpp
561ad8c1a4fd519a6ae632ea1d414f90e62da95f 03-Feb-2015 Elliott Hughes <enh@google.com> resolved conflicts for merge of c9692899 to lmp-mr1-dev-plus-aosp

Change-Id: I8f4c9ae0d13d30e69b7a197eafdfcb9b2b9050c0
d161406141619f84d94b2ecee618569cbbabcb30 03-Feb-2015 Elliott Hughes <enh@google.com> Switch netd over to <utils/file.h>.

Change-Id: Id79961cc4feee1c307dad06d64e3f4ffe060c4da
/system/netd/server/InterfaceController.cpp
750f9d0abe7d3f06b7a2f8dcfee780fd956023d4 28-Jan-2015 Elliott Hughes <enh@google.com> am 883d129b: Merge "Add missing <malloc.h> include."

* commit '883d129ba24bfc599b65b09fd0b5aaa0946d1958':
Add missing <malloc.h> include.
5f4938fea4170d251a3eb23ffc6239cfd1604cc8 28-Jan-2015 Elliott Hughes <enh@google.com> Add missing <malloc.h> include.

Change-Id: I0259da35f2dc8ff87c928eb5bd378f39cbfc9f9c
/system/netd/server/InterfaceController.cpp
3dc3e5423a183930fa981fa010f653be03201774 06-Jan-2015 Dan Albert <danalbert@google.com> am 1a3c689b: Merge "Fix missing errno.h includes after libc cleanup."

* commit '1a3c689be29bfbe0c7f3eb3134e9b2a2208f839c':
Fix missing errno.h includes after libc cleanup.
aa1be2b3d24d99f3ccb98ff4fbb2a81b63587eff 06-Jan-2015 Dan Albert <danalbert@google.com> Fix missing errno.h includes after libc cleanup.

These issues hadn't been found yet because a libc++ header was
unconditionally pulling in errno.h. I've fixed the libc++ header now.

Change-Id: Ib096634cdd231fc75bf7548e4b99babc7442dc53
/system/netd/server/InterfaceController.cpp
59273ede02fc91d2a3297547d959159c8c6f69f3 08-Dec-2014 Erik Kline <ek@google.com> Re-add netd support for enabling IPv6 optimistic mode.

Enables optimistic_dad and use_optimistic on all interfaces
by default.

---

This functionality was originally submitted in ag/569594. Owing
to issues with bind()ing to optimistic addresses (see b/18609055)
this was reverted in ag/598690.

This reverts the revert. :-)

Bug: 17769720
Change-Id: I156e5636341a846f41fb9a15c84cf06878b239d8
/system/netd/server/InterfaceController.cpp
9ccaa16ece9059a0e62e16dbc0f8a64fec7eb7a3 05-Dec-2014 Erik Kline <ek@google.com> Revert "Merge "Add netd support for configuring IPv6 optimistic mode." into lmp-mr1-dev"

This is to undo ag/569594.

This reverts commit 828f8b88c78e7d7c31b098768df403e4596a91d4, reversing
changes made to ac7fefcf3d90cf856b0f1664207d056ed1dd4725.

Bug: 18609055
Bug: 17769720
Change-Id: I120745d9d01d731174f477dff9b463dede8523d7
/system/netd/server/InterfaceController.cpp
2b8d1ead4ea2ff8cb5af1ce88033a8ea0d691402 30-Oct-2014 Lorenzo Colitti <lorenzo@google.com> Merge "Add a netd interface command to disable ND offload." into lmp-mr1-dev
0ea8ff87012f6bda41b6d2b4629d4fd0fd6f4794 27-Oct-2014 Lorenzo Colitti <lorenzo@google.com> Add a netd interface command to disable ND offload.

This will be used to support 464xlat on wifi and IPv6 tethering.

Bug: 12111730
Change-Id: I3b97f4dfb787b2c5d5021811c6da51850bdc70d1
/system/netd/server/InterfaceController.cpp
36b4a0d60c8ca3de3a40b964dda776a308e9f5b4 09-Oct-2014 Erik Kline <ek@google.com> Add netd support for configuring IPv6 optimistic mode.

Enables optimistic_dad and use_optimistic on all interfaces
by default.

Bug: 17769720
Change-Id: Ide492e18aa94064b890fef30d31c3a14cfdf4052
/system/netd/server/InterfaceController.cpp
1604e18615f824adb2d54c36320069ba6fcb4796 20-Jul-2014 Sreeram Ramachandran <sreeram@google.com> Cleanup: Delete dead code.

Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
/system/netd/server/InterfaceController.cpp
7b64cdee0f468a5b66ae2439f84364815ae9a795 23-Jun-2014 Sasha Levitskiy <sanek@google.com> Netd: Interface controller: Demote a log message severity from warning to verbose.

Change-Id: Ia8b2e6a0b039c2bda418a5f7138c0aac6b6c643b
Signed-off-by: Sasha Levitskiy <sanek@google.com>
/system/netd/server/InterfaceController.cpp
69261cb65186e27dfbdc1e3eec796437f9968ff9 20-Jun-2014 JP Abgrall <jpa@google.com> server: check interface names in RPC arguments for validity

This patch introduces a method isIfaceName that checks interface
names from various RPCs for validity before e.g. using them as
part of iptables arguments or in filenames.

All of these RPC calls can only be called from applications
with at least the CONNECTIVITY_INTERNAL permission in recent
Android versions, so the impact of the missing checks luckily
isn't very high.

Orig-Author: Jann Horn <jann@thejh.net>

Change-Id: I80df8d745a3de99ad02d6649f0d10562c81f6b98
Signed-off-by: JP Abgrall <jpa@google.com>
/system/netd/server/InterfaceController.cpp
f4cfad361175a7f9ccf4d41e76a9b289c3c3da22 21-May-2014 Sreeram Ramachandran <sreeram@google.com> Move netd_client into netd.

Change-Id: Ie4b6b303225c93f2448a503d6ea9cebb552cbad5
/system/netd/server/InterfaceController.cpp