shill: Add IPAddress class

Add class that holds IP Addresses.  Routing will need these.
Move address family constants out of IPConfig to this new class.

BUG=chromium-os:17277
TEST=New unittest

Change-Id: I69d9c4d551061de890ed6919462597a15ae51857
Reviewed-on: http://gerrit.chromium.org/gerrit/4180
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
8 files changed
tree: ac28eb155bf10c7db8d1857b5912477a90809696
  1. accessor_interface.h
  2. adaptor_interfaces.h
  3. byte_string.cc
  4. byte_string.h
  5. byte_string_unittest.cc
  6. cellular.cc
  7. cellular.h
  8. cellular_service.cc
  9. cellular_service.h
  10. cellular_unittest.cc
  11. control_interface.h
  12. crypto_des_cbc.cc
  13. crypto_des_cbc.h
  14. crypto_des_cbc_unittest.cc
  15. crypto_interface.h
  16. crypto_provider.cc
  17. crypto_provider.h
  18. crypto_provider_unittest.cc
  19. crypto_rot47.cc
  20. crypto_rot47.h
  21. crypto_rot47_unittest.cc
  22. dbus_adaptor.cc
  23. dbus_adaptor.h
  24. dbus_adaptor_unittest.cc
  25. dbus_control.cc
  26. dbus_control.h
  27. default_profile.cc
  28. default_profile.h
  29. default_profile_unittest.cc
  30. device.cc
  31. device.h
  32. device_dbus_adaptor.cc
  33. device_dbus_adaptor.h
  34. device_info.cc
  35. device_info.h
  36. device_info_unittest.cc
  37. device_stub.h
  38. device_unittest.cc
  39. dhcp_config.cc
  40. dhcp_config.h
  41. dhcp_config_unittest.cc
  42. dhcp_provider.cc
  43. dhcp_provider.h
  44. dhcp_provider_unittest.cc
  45. dhcp_proxy_interface.h
  46. dhcpcd.xml
  47. dhcpcd_proxy.cc
  48. dhcpcd_proxy.h
  49. endpoint.cc
  50. endpoint.h
  51. ephemeral_profile.cc
  52. ephemeral_profile.h
  53. error.cc
  54. error.h
  55. ethernet.cc
  56. ethernet.h
  57. ethernet_service.cc
  58. ethernet_service.h
  59. flimflam-device.xml
  60. flimflam-ipconfig.xml
  61. flimflam-manager.xml
  62. flimflam-profile.xml
  63. flimflam-service.xml
  64. glib.cc
  65. glib.h
  66. glib_io_handler.cc
  67. glib_io_handler.h
  68. inherit-review-settings-ok
  69. io_handler.h
  70. ip_address.cc
  71. ip_address.h
  72. ip_address_unittest.cc
  73. ipconfig.cc
  74. ipconfig.h
  75. ipconfig_dbus_adaptor.cc
  76. ipconfig_dbus_adaptor.h
  77. ipconfig_unittest.cc
  78. key_file_store.cc
  79. key_file_store.h
  80. key_file_store_unittest.cc
  81. Makefile
  82. manager.cc
  83. manager.h
  84. manager_dbus_adaptor.cc
  85. manager_dbus_adaptor.h
  86. manager_unittest.cc
  87. mock_adaptors.cc
  88. mock_adaptors.h
  89. mock_control.cc
  90. mock_control.h
  91. mock_device.cc
  92. mock_device.h
  93. mock_dhcp_proxy.h
  94. mock_glib.h
  95. mock_profile.cc
  96. mock_profile.h
  97. mock_property_store.h
  98. mock_service.cc
  99. mock_service.h
  100. mock_sockets.h
  101. mock_store.h
  102. modem_info.cc
  103. modem_info.h
  104. modem_info_unittest.cc
  105. modem_manager.cc
  106. modem_manager.h
  107. modem_manager_unittest.cc
  108. profile.cc
  109. profile.h
  110. profile_dbus_adaptor.cc
  111. profile_dbus_adaptor.h
  112. profile_unittest.cc
  113. property_accessor.h
  114. property_accessor_unittest.cc
  115. property_iterator.h
  116. property_store.cc
  117. property_store.h
  118. property_store_unittest.cc
  119. property_store_unittest.h
  120. refptr_types.h
  121. rtnl_handler.cc
  122. rtnl_handler.h
  123. rtnl_listener.cc
  124. rtnl_listener.h
  125. rtnl_listener_unittest.cc
  126. service.cc
  127. service.h
  128. service_dbus_adaptor.cc
  129. service_dbus_adaptor.h
  130. service_unittest.cc
  131. shill.conf
  132. shill_config.cc
  133. shill_config.h
  134. shill_daemon.cc
  135. shill_daemon.h
  136. shill_event.cc
  137. shill_event.h
  138. shill_main.cc
  139. shill_unittest.cc
  140. sockets.cc
  141. sockets.h
  142. store_interface.h
  143. supplicant-bss.xml
  144. supplicant-interface.xml
  145. supplicant-network.xml
  146. supplicant-process.xml
  147. testrunner.cc
  148. WATCHLISTS
  149. wifi.cc
  150. wifi.h
  151. wifi_endpoint.cc
  152. wifi_endpoint.h
  153. wifi_service.cc
  154. wifi_service.h
  155. wifi_unittest.cc