MCPcopy Create free account
hub / github.com/NetSys/bess / ListPlugins

Method ListPlugins

core/bessctl.cc:1703–1712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1701 }
1702
1703 Status ListPlugins(ServerContext*, const EmptyRequest*,
1704 ListPluginsResponse* response) override {
1705 std::lock_guard<std::recursive_mutex> lock(mutex_);
1706
1707 auto list = bess::bessd::ListPlugins();
1708 for (auto& path : list) {
1709 response->add_paths(path);
1710 }
1711 return Status::OK;
1712 }
1713
1714 Status ListMclass(ServerContext*, const EmptyRequest*,
1715 ListMclassResponse* response) override {

Callers

nothing calls this directly

Calls 1

ListPluginsFunction · 0.85

Tested by

no test coverage detected