blob: 0ac075848c8c4ebc48e25426b26ae548f879ccc0 [file] [log] [blame]
Elly Jonesad1e9d92012-07-20 15:39:23 -04001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Alex Vakulenko262be3f2014-07-30 15:25:50 -07005#ifndef DEBUGD_SRC_NETIF_TOOL_H_
6#define DEBUGD_SRC_NETIF_TOOL_H_
Elly Jonesad1e9d92012-07-20 15:39:23 -04007
8#include <string>
9
Ben Chan657bed82014-09-02 20:40:51 -070010#include <base/macros.h>
Elly Jonesad1e9d92012-07-20 15:39:23 -040011
12namespace debugd {
13
14class NetifTool {
15 public:
Ben Chan78f89532014-08-29 09:35:09 -070016 NetifTool() = default;
Qijiang Fan6bc59e12020-11-11 02:51:06 +090017 NetifTool(const NetifTool&) = delete;
18 NetifTool& operator=(const NetifTool&) = delete;
19
Ben Chan78f89532014-08-29 09:35:09 -070020 ~NetifTool() = default;
Elly Jonesad1e9d92012-07-20 15:39:23 -040021
Eric Carusoc93a15c2017-04-24 16:15:12 -070022 std::string GetInterfaces();
Elly Jonesad1e9d92012-07-20 15:39:23 -040023};
24
Ben Chana0011d82014-05-13 00:19:29 -070025} // namespace debugd
Elly Jonesad1e9d92012-07-20 15:39:23 -040026
Alex Vakulenko262be3f2014-07-30 15:25:50 -070027#endif // DEBUGD_SRC_NETIF_TOOL_H_