Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
mm::comm::NetworkAdapter Struct Reference

#include <base.h>

Collaboration diagram for mm::comm::NetworkAdapter:
[legend]

Public Attributes

std::string macLinux
 Colon-separated uppercase MAC, e.g. "AA:BB:CC:DD:EE:FF".
 
std::string macWindows
 Dash-separated uppercase MAC, e.g. "AA-BB-CC-DD-EE-FF".
 
std::string name
 OS interface name, e.g. "eth0" or "\\Device\\NPF_{GUID}".
 

Detailed Description

Network adapter identity with all three representations populated.

Constructed by resolveNetworkAdapter() from a --adapter CLI argument that may be given as a MAC address (either Linux colon-separated or Windows dash-separated format) or as an OS interface name. All three fields are always populated — the adapter map is consulted to resolve the missing form.

Member Data Documentation

◆ macLinux

std::string mm::comm::NetworkAdapter::macLinux

Colon-separated uppercase MAC, e.g. "AA:BB:CC:DD:EE:FF".

◆ macWindows

std::string mm::comm::NetworkAdapter::macWindows

Dash-separated uppercase MAC, e.g. "AA-BB-CC-DD-EE-FF".

◆ name

std::string mm::comm::NetworkAdapter::name

OS interface name, e.g. "eth0" or "\\Device\\NPF_{GUID}".


The documentation for this struct was generated from the following file: