summaryrefslogtreecommitdiffstats
path: root/ipaddress.cpp
Commit message (Collapse)AuthorAgeFilesLines
* clang-format: Update to match docs repoGunnar Mills2018-09-151-24/+20
| | | | | | | | | Update the .clang-format file and run clang-format-6.0. This .clang-format matches the example one in https://github.com/openbmc/docs/blob/master/cpp-style-and-conventions.md#clang-formatting Change-Id: Ia331c9a5b040e1a3c45a0ebf1b8d776d93b05ae5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* reorder headersPatrick Venture2018-08-271-3/+4
| | | | | | | | | | | | | | | | | | Reordering all the headers to the following structure: header file: local c cpp (including openbmc libraries) source file: source.hpp (if applicable) local c cpp Change-Id: Ia74a5c761a3029819366159de3cfd40c5e4c4a2c Signed-off-by: Patrick Venture <venture@google.com>
* Add configure option to disable link-local IP address autoconfiguration.Oskar Senft2018-08-131-0/+3
| | | | | Change-Id: I845ec44a305e91a4880dc1266a3d212db0b4737c Signed-off-by: Oskar Senft <osk@google.com>
* Don't throw exception in the case of deletion of link local addressRatan Gupta2017-11-141-2/+2
| | | | | | | | | | | | We have the issue opened for where link local address should not implement the delete interface at all, we need some refactoring there so for quick fix if delete operation performed on link local address we are just logging it in the journal and return. Resolves openbmc/openbmc#2561 Change-Id: I031e92206b98b729ea0bc0b135fb406563fc5dd0 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* IP Address use case validationNagaraju Goruganti2017-10-111-0/+19
| | | | | | | | | | | -validates IPAddress/gateway using inet_pton api. -validates prefix length for ipv4/ipv6. -if dhcp is enabled, it won't allow to set ip/gateway. Resolves openbmc/openbmc#1671 Change-Id: I76c1d9d11dfb59002eb1310d87e94ee622714a4a Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* Restructure the code so that it is unit testableRatan Gupta2017-06-081-0/+3
| | | | | Change-Id: I2af7a26d054522beae82f58769f8c2420a22eca2 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Implement ipaddress objectRatan Gupta2017-05-161-0/+38
Change-Id: Ic4d7953c5aca2bf85a609c736e5c817322d29e4b Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
OpenPOWER on IntegriCloud