Monitor service checkNicType()
Open
- Dominant language
- C++
- Stars
- 10.2k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
```c++
static bool checkNicType(std::string_view nic, Address::Type type) {
switch (type) {
case Address::TCP:
return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond");
case Address::RDMA:
return nic.starts_with("ib") || nic.starts_with("bond");
case Address::LOCAL:
return nic.starts_with("lo");
default:
return false;
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.