rtnetlink_server: Use netlink parser code
Change-Id: I97a8fd1c692973a8ac97171dfaf309cfc9cfceb1
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/rtnetlink_server.hpp b/src/rtnetlink_server.hpp
index 1e849ee..066f19c 100644
--- a/src/rtnetlink_server.hpp
+++ b/src/rtnetlink_server.hpp
@@ -3,16 +3,11 @@
#include <sdeventplus/source/io.hpp>
#include <stdplus/fd/managed.hpp>
-namespace sdeventplus
-{
-class Event;
-}
-
namespace phosphor
{
namespace network
{
-namespace rtnetlink
+namespace netlink
{
constexpr auto BUFSIZE = 4096;
@@ -22,7 +17,6 @@
Usage would be create the server with the call back
and call the run method.
*/
-
class Server
{
@@ -47,6 +41,6 @@
sdeventplus::source::IO io;
};
-} // namespace rtnetlink
+} // namespace netlink
} // namespace network
} // namespace phosphor