Convert Inet::InterfaceId to a class (#10979)
* Convert Inet::InterfaceId to a class
#### Problem
The current `#if`+`typedef` requires the actual definition to be visible
at every appearance, rather than merely an opaque forward class declaration,
which is an obstace to #7715 _Virtualize System and Inet interfaces_.
#### Change overview
Convert `InterfaceId` to a class. Some free functions become class methods,
and `INET_NULL_INTERFACEID` is replaced by a default-constructed
`InterfaceId`.
#### Testing
CI; no changes to functionality intended.
* add InterfaceId::Null()
* replace strcpy()
diff --git a/src/inet/tests/TestInetLayerCommon.cpp b/src/inet/tests/TestInetLayerCommon.cpp
index fdbbfec..609acf9 100644
--- a/src/inet/tests/TestInetLayerCommon.cpp
+++ b/src/inet/tests/TestInetLayerCommon.cpp
@@ -85,7 +85,7 @@
const char * gInterfaceName = nullptr;
-InterfaceId gInterfaceId = INET_NULL_INTERFACEID;
+InterfaceId gInterfaceId = InterfaceId::Null();
uint16_t gSendSize = 59;