// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

//! [0]
    QNetworkInterface::interfaceFromName(name).index()
//! [0]

//! [1]
    QNetworkInterface::interfaceFromIndex(index).name()
//! [1]
