GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — EosSdk/eth_intf.cpp at master · peterkuria2000/EosSdk

Expand file tree

/

eth_intf.cpp

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
98 lines (74 loc) · 1.97 KB
/

eth_intf.cpp

Copy path

File metadata and controls

98 lines (74 loc) · 1.97 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// Copyright (c) 2013 Arista Networks, Inc. All rights reserved.
// Arista Networks, Inc. Confidential and Proprietary.
#include <cassert>
#include "eos/eth_intf.h"
#include "impl.h"
namespace eos {
eth_intf_handler::eth_intf_handler(eth_intf_mgr * mgr) :
base_handler<eth_intf_mgr, eth_intf_handler>(mgr) {
}
void
eth_intf_handler::watch_all_eth_intfs(bool all) {
// TODO: No op impl.
}
void
eth_intf_handler::watch_eth_intf(intf_id_t, bool) {
// TODO: No op impl.
}
void eth_intf_handler::on_eth_intf_create(intf_id_t) {
// No-op impl.
}
void eth_intf_handler::on_eth_intf_delete(intf_id_t) {
// No-op impl.
}
void eth_intf_handler::on_eth_addr(intf_id_t, eth_addr_t) {
// No-op impl.
}
class eth_intf_mgr_impl : public eth_intf_mgr {
public:
eth_intf_mgr_impl() {
}
eth_intf_iter_t eth_intf_iter() const {
eth_intf_iter_t * nop = 0;
return *nop; // TODO: No op impl.
}
bool exists(intf_id_t) const {
return false;
}
eth_addr_t eth_addr(intf_id_t) const {
return eth_addr_t(); // TODO: No-op impl.
}
eth_addr_t configured_eth_addr(intf_id_t) const {
return eth_addr_t(); // TODO: No-op impl.
}
void eth_addr_is(intf_id_t, eth_addr_t) {
}
switchport_mode_t switchport_mode(intf_id_t) const {
return SWITCHPORT_MODE_ACCESS;
}
void switchport_mode_is(intf_id_t, switchport_mode_t) {
// TODO: No-op impl.
}
vlan_id_t default_vlan(intf_id_t) const {
return 0; // TODO: No-op impl.
}
void default_vlan_is(intf_id_t, vlan_id_t) {
// TODO: No-op impl.
}
vlan_set_t trunk_vlans(intf_id_t) const {
vlan_set_t vlans;
// TODO: No-op impl.
return vlans;
}
void trunk_vlan_set(intf_id_t, vlan_id_t) {
// TODO: No-op impl.
}
void trunk_vlan_is(intf_id_t, vlan_set_t const &) {
// TODO: No-op impl.
}
void trunk_vlan_del(intf_id_t, vlan_id_t) {
// TODO: No-op impl.
}
};
DEFINE_STUB_MGR_CTOR(eth_intf_mgr)
}
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.