• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1         if (key <= MAX_HASH_VALUE) {
2             int MPH = hash_to_MPH[key];
3             if (MPH >= 0) {
4                 assert(MPH < MPH_MAX);
5                 SLInterfaceID trial = &SL_IID_array[MPH];
6                 if (!memcmp(iid, trial, sizeof(struct SLInterfaceID_)))
7                     return MPH;
8             }
9         }
10     }
11     return -1;
12 }
13