/* Find the MNP Service Data for given VLAN ID. */
MNP_SERVICE_DATA* MnpFindServiceData(IN MNP_DEVICE_DATA *MnpDeviceData, IN UINT16 VlanId)
/* Find the MNP Service Data for given VLAN ID. */
MNP_SERVICE_DATA* MnpFindServiceData(IN MNP_DEVICE_DATA *MnpDeviceData, IN UINT16 VlanId)
{
  LIST_ENTRY        *Entry;
  MNP_SERVICE_DATA  *MnpServiceData;
  NET_LIST_FOR_EACH (Entry, &MnpDeviceData->ServiceList) {
    MnpServiceData = MNP_SERVICE_DATA_FROM_LINK (Entry);
    if (MnpServiceData->VlanId == VlanId) {
      return MnpServiceData;
    }
  }
  return NULL;
}