Lines Matching defs:val
93 struct in_addr val;
95 if (inet_aton(cp, &val))
96 return (val.s_addr);
109 u_long val;
125 val = 0; base = 10; digit = 0;
139 val = (val * base) + (c - '0');
144 val = (val << 4) |
158 if (pp >= parts + 3 || val > 0xffU)
160 *pp++ = val;
185 if (val > 0xffffffU)
187 val |= (uint32_t)parts[0] << 24;
191 if (val > 0xffffU)
193 val |= ((uint32_t)parts[0] << 24) | (parts[1] << 16);
197 if (val > 0xffU)
199 val |= ((uint32_t)parts[0] << 24) | (parts[1] << 16) |
204 addr->s_addr = htonl(val);