Lines Matching defs:pIf
193 HRESULT HostNetworkInterface::init(Bstr aInterfaceName, HostNetworkInterfaceType_T ifType, PNETIFINFO pIf)
200 ComAssertRet(pIf, E_INVALIDARG);
207 unconst(mGuid) = pIf->Uuid;
208 if (pIf->szShortName[0])
210 unconst(mNetworkName) = i_composeNetworkName(pIf->szShortName);
211 unconst(mShortName) = pIf->szShortName;
220 m.realIPAddress = m.IPAddress = pIf->IPAddress.u;
221 m.realNetworkMask = m.networkMask = pIf->IPNetMask.u;
222 m.realIPV6Address = m.IPV6Address = composeIPv6Address(&pIf->IPv6Address);
223 m.realIPV6PrefixLength = m.IPV6NetworkMaskPrefixLength = composeIPv6PrefixLenghFromAddress(&pIf->IPv6NetMask);
224 m.dhcpEnabled = pIf->bDhcpEnabled;
225 m.hardwareAddress = composeHardwareAddress(&pIf->MACAddress);
227 m.mediumType = (HostNetworkInterfaceMediumType)pIf->enmMediumType;
228 m.status = (HostNetworkInterfaceStatus)pIf->enmStatus;
230 m.mediumType = pIf->enmMediumType;
231 m.status = pIf->enmStatus;
233 m.speedMbits = pIf->uSpeedMbits;