Home | History | Annotate | Download | only in slirp-android

Lines Matching refs:comp

18     int  comp[4];
20 if (sscanf(str, "%d.%d.%d.%d", &comp[0], &comp[1], &comp[2], &comp[3]) != 4)
23 if ((unsigned)comp[0] >= 256 ||
24 (unsigned)comp[1] >= 256 ||
25 (unsigned)comp[2] >= 256 ||
26 (unsigned)comp[3] >= 256)
29 *ip = (uint32_t)((comp[0] << 24) | (comp[1] << 16) |
30 (comp[2] << 8) | comp[3]);