OSDN Git Service

Fetch the mac address in GetInterfaceNameAndIndex
authorRoshan Pius <rpius@google.com>
Tue, 23 Aug 2016 18:26:51 +0000 (11:26 -0700)
committerRoshan Pius <rpius@google.com>
Tue, 23 Aug 2016 20:15:08 +0000 (13:15 -0700)
commitc62360e419c9d6aac905f8c2bcdf9107eb137e66
treeb91fb1aa50a6094a61ad4637a6d037bdbe145040
parent21ff4c7ad0b0ec8da8392c00eedbae022d6e21e5
Fetch the mac address in GetInterfaceNameAndIndex

Rename the |GetInterfaceNameAndIndex| function to
|GetInterfaceInfo| and fetch the mac address assigned to the interface
along with the other info being fetched.

BUG: 31038272
TEST: Modified existing tests
TEST: Manual tests on bullhead to see if the correct mac address is
fetched.

Change-Id: I89c11e2227ef9bdf90dfd681df09d8b8116cd53f
client_interface_impl.cpp
client_interface_impl.h
net/netlink_utils.cpp
net/netlink_utils.h
server.cpp
server.h
tests/mock_netlink_utils.h
tests/netlink_utils_unittest.cpp
tests/server_unittest.cpp