VirtualBox

Ignore:
Timestamp:
Feb 18, 2013 5:26:05 PM (12 years ago)
Author:
vboxsync
Message:

Main/Metrics: Generic implentation of link state and stubs for line speed for all platforms (#6345)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/win/NetIf-win.cpp

    r44528 r44742  
    10791079
    10801080int NetIfGetConfigByName(PNETIFINFO)
     1081{
     1082    return VERR_NOT_IMPLEMENTED;
     1083}
     1084
     1085/**
     1086 * Obtain the current state of the interface.
     1087 *
     1088 * @returns VBox status code.
     1089 *
     1090 * @param   pcszIfName  Interface name.
     1091 * @param   penmState   Where to store the retrieved state.
     1092 */
     1093int NetIfGetState(const char *pcszIfName, NETIFSTATUS *penmState)
     1094{
     1095    return VERR_NOT_IMPLEMENTED;
     1096}
     1097
     1098/**
     1099 * Retrieve the physical link speed in megabits per second. If the interface is
     1100 * not up or otherwise unavailable the zero speed is returned.
     1101 *
     1102 * @returns VBox status code.
     1103 *
     1104 * @param   pcszIfName  Interface name.
     1105 * @param   puMbits     Where to store the link speed.
     1106 */
     1107int NetIfGetLinkSpeed(const char * /*pcszIfName*/, uint32_t * /*puMbits*/)
    10811108{
    10821109    return VERR_NOT_IMPLEMENTED;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette