Lines Matching defs:val
72 struct in_addr val;
74 if (inet_aton(cp, &val))
75 return (val.s_addr);
90 u_int32_t val;
105 val = 0; base = 10;
115 val = (val * base) + (c - '0');
118 val = (val << 4) |
133 *pp++ = val;
157 if ((val > 0xffffff) || (parts[0] > 0xff))
159 val |= parts[0] << 24;
163 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff))
165 val |= (parts[0] << 24) | (parts[1] << 16);
169 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff))
171 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8);
175 addr->s_addr = htonl(val);