Lines Matching refs:val
135 ip4_addr_t val;
137 if (ip4addr_aton(cp, &val)) {
138 return ip4_addr_get_u32(&val);
157 u32_t val;
173 val = 0;
186 val = (val * base) + (u32_t)(c - '0');
189 val = (val << 4) | (u32_t)(c + 10 - (islower(c) ? 'a' : 'A'));
205 *pp++ = val;
230 if (val > 0xffffffUL) {
236 val |= parts[0] << 24;
240 if (val > 0xffff) {
246 val |= (parts[0] << 24) | (parts[1] << 16);
250 if (val > 0xff) {
256 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8);
263 ip4_addr_set_u32(addr, lwip_htonl(val));