History log of /system/connectivity/shill/dhcp/dhcpv6_config.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
722af37a847fd5f1c51800a7f588dec685ec78e6 03-Dec-2015 Timothy Jennison <tjennison@google.com> shill: combine IA_NA and IA_PD DHCPv6 requests

Bug: 25849838
TEST=unit tests
CQ-DEPEND=CL:316403

Change-Id: I3af3806723519c430f489d6e16033f63bb9ea553
/system/connectivity/shill/dhcp/dhcpv6_config.cc
aa058bc250246e0076434e06a865655e244fedd2 10-Nov-2015 Tim Jennison <tjennison@google.com> shill: request IA_NA for DHCPv6

Despite the comment, the current flags don't actuall cause dhcpcd to
request an IA_NA, only an IA_PD. Change the flags to request both.

BUG: None
TEST=unit tests, manual testing

Change-Id: Idff6e207aeee715888559d5aa5f107a2cbc7dc0a
/system/connectivity/shill/dhcp/dhcpv6_config.cc
03e6719bae1e0903d94853b896673a033196bcf5 13-Oct-2015 Alex Vakulenko <avakulenko@google.com> shill: Rename "chromeos" -> "brillo" in include paths and namespaces

libchromeos is transitioning to libbrillo and chromeos namespaces
and include directory is changing to brillo.

Bug: 24872993
TEST=built for aosp and brillo, all unit tests pass on dragonboard

Change-Id: I804311e49ee780ca96e05f6a581e8c95709d4e1d
/system/connectivity/shill/dhcp/dhcpv6_config.cc
289a5a5e18bb1a676b3dfce111af4c2c00c7776e 21-Sep-2015 Samuel Tan <samueltan@google.com> shill: use different service_constants.h path for Android builds

Use the service_constants.h file from the external/cros/system_api/dbus
instead of chromeos/dbus/service_constants.h, since this header file
is installed into different directories when building shill for Android
and Chrome OS.

BUG: 22956441
Change-Id: I7e6ea46b4893588d2862792cf43aa83fdf7c30b4
TEST: shill still compiles using emerge.
/system/connectivity/shill/dhcp/dhcpv6_config.cc
c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5 03-Sep-2015 Peter Qiu <zqiu@google.com> License shill to Apache2

This patch automatically replaced the license on all text files from
Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as
a reference.

The license header was added to .gyp and .gypi, the NOTICE was added with a copy
of the Apache2 license and MODULE_LICENSE_* file was added.

BUG=23587594
TEST=grep 'Chromium OS Authors' doesn't find anything.

Change-Id: If41ede586c2465f5831fb7fee270ff41dbfdb596
/system/connectivity/shill/dhcp/dhcpv6_config.cc
8ee1c83abf0050cb808fe154babe934546e77821 12-Aug-2015 Peter Qiu <zqiu@chromium.org> shill: dhcp: use ProcessManager to manage dhcpcd processes

This removes the glib dependency for spawning/monitoring dhcpcd processes.

While there, fix a typo in process manager.

This is a part of series CLs that convert shill over to MessageLoopForIO
and chromeos dbus.

BUG=chromium:516841
TEST=unittests

Change-Id: I192fcc68c51e78da60431635abd7b3439fadd5b0
Reviewed-on: https://chromium-review.googlesource.com/292963
Commit-Ready: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/dhcp/dhcpv6_config.cc
445883dc5780b026aa37644e15468993d768c3f7 31-Jul-2015 Peter Qiu <zqiu@chromium.org> shill: fix DHCPv6Config typo and unittest

Fix a typo (missing semicolon) that was introduced by CL:288288.

Also update the unittest to use a mocked DHCPProvider instead of a
real one.

BUG=None
TEST=USE="asan clang dhcpv6" FEATURES=test emerge-$BOARD shill

Change-Id: I96d9f91906c66040d2cd317ae5d9d98d2e2c640c
Reviewed-on: https://chromium-review.googlesource.com/289952
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/dhcp/dhcpv6_config.cc
7adad988e41954c134cbb4e5ab8a1a152e1e3c78 24-Jul-2015 Peter Qiu <zqiu@chromium.org> shill: remove dbus-c++ dependencies from DHCPConfig

Use KeyValueStore instead of DBus::Variant map to store IP
configurations in the callback from dhcpcd proxy.

BUG=chromium:507966
TEST=unittests

Change-Id: I476b3dc822b400fc5ea62e483c74bb2e80a5e746
Reviewed-on: https://chromium-review.googlesource.com/288288
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/dhcp/dhcpv6_config.cc
a11633e3046788f3996360095d7d2c34b4e2fc1b 23-Jun-2015 Peter Qiu <zqiu@chromium.org> shill: fix DHCPv6 configuration key typo

DBUS configuration key string for address lease time is incorrect,
so fix it.

BUG=None
TEST=emerge-$BOARD shill

Change-Id: I9ae38c4de49120af83646476093b2b3b88bd75a6
Reviewed-on: https://chromium-review.googlesource.com/281222
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/dhcp/dhcpv6_config.cc
0bfabaae654ba3bf597a303b7517a0e14fd65089 16-Jun-2015 Paul Stewart <pstew@chromium.org> shill: dhcp: Switch pointer/ref spacing

Switch to Chrome style spacing.

BUG=chromium:501026
TEST=Unit tests

Change-Id: I504db9cd6fdc8ed6700f77e1da459115c5d48cf4
Reviewed-on: https://chromium-review.googlesource.com/278073
Reviewed-by: Rebecca Silberstein <silberst@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/dhcp/dhcpv6_config.cc
b255a76b77bbe54ed0ed8b50ba05a959acfda180 10-Jun-2015 Peter Qiu <zqiu@chromium.org> shill: DHCPv6 configuration support

This feature is compiled out by default, can be turned on with
added "dhcpv6" USE flag.

The DHCPv6 client will request both ia_na (Non-temporary Address)
and ia_pd (Prefix Delegation) options from the DHCPv6 server. Since
each option is considered a separate request with a separate lease,
the client will maintain one lease for both options, with lease time
set to the shorter one.

BUG=chromium:492764
TEST=USE="asan clang" emerge-$BOARD shill
CQ-DEPEND=CL:276648

Change-Id: Ic97277a9ab9b2b1b3a848e047e36df20d187af56
Reviewed-on: https://chromium-review.googlesource.com/276649
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/dhcp/dhcpv6_config.cc