Lines Matching defs:val
43 in_addr_t val;
64 val = (in_addr_t)l;
74 parts[n] = val;
113 if (val > 0xffffff || parts[0] > 0xff)
115 val |= parts[0] << 24;
119 if (val > 0xffff || parts[0] > 0xff || parts[1] > 0xff)
121 val |= (parts[0] << 24) | (parts[1] << 16);
125 if (val > 0xff || parts[0] > 0xff || parts[1] > 0xff ||
128 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8);
133 addr->s_addr = htonl(val);