Searched refs:convtmp (Results 1 – 2 of 2) sorted by relevance
/third_party/toybox/toys/pending/ |
D | dhcp.c | 390 long optcode = 0, convtmp; in strtoopt() local 430 convtmp = strtou32(valstr); in strtoopt() 431 if (convtmp < 0) error_exit("Invalid/wrong formated number %s", valstr); in strtoopt() 432 convtmp = htonl(convtmp); in strtoopt() 433 memcpy(options_list[count].val, &convtmp, sizeof(uint32_t)); in strtoopt() 438 convtmp = strtou32(valstr); in strtoopt() 439 if (convtmp < 0) error_exit("Invalid/malformed number %s", valstr); in strtoopt() 440 convtmp = htons(convtmp); in strtoopt() 441 memcpy(options_list[count].val, &convtmp, sizeof(uint16_t)); in strtoopt() 446 convtmp = strtou32(valstr); in strtoopt() [all …]
|
D | dhcpd.c | 545 uint32_t optcode = 0, inf = infomode, convtmp, mask, nip, router; in strtoopt() local 588 strtou32(valstr, &convtmp); in strtoopt() 589 memcpy(options_list[count].val, &convtmp, sizeof(uint32_t)); in strtoopt() 594 strtou32(valstr, &convtmp); in strtoopt() 595 memcpy(options_list[count].val, &convtmp, sizeof(uint16_t)); in strtoopt() 600 strtou32(valstr, &convtmp); in strtoopt() 601 memcpy(options_list[count].val, &convtmp, sizeof(uint8_t)); in strtoopt()
|