blob: 67fc3ac0f9208d1de5d3f81f9450576d955bf13d [file] [log] [blame]
mukesh agrawal93a29ed2012-04-17 16:13:01 -07001// 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
5#ifndef SHILL_VIRTIO_ETHERNET_
6#define SHILL_VIRTIO_ETHERNET_
7
8#include <string>
9
10#include "shill/ethernet.h"
11
12namespace shill {
13
14class VirtioEthernet : public Ethernet {
15 public:
16 VirtioEthernet(ControlInterface *control_interface,
17 EventDispatcher *dispatcher,
18 Metrics *metrics,
19 Manager *manager,
20 const std::string& link_name,
21 const std::string &address,
22 int interface_index);
23 virtual ~VirtioEthernet();
24
25 virtual void Start(Error *error, const EnabledStateChangedCallback &callback);
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(VirtioEthernet);
29};
30
31} // namespace shill
32
33#endif // SHILL_VIRTIO_ETHERNET_