change bool isNetworkNode(cModule *mod) to INET_API bool isNetworkNode(cModule *mod)