Searched refs:str_to_uint (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/net/ |
H A D | nettest.c | 628 static int str_to_uint(const char *str, int min, int max, unsigned int *value) in str_to_uint() function 661 if (str_to_uint(args->expected_dev, 0, INT_MAX, &tmp) == 0) { in resolve_devices() 813 if (str_to_uint(sep, 1, pfx_len_max, in convert_addr() 2055 if (str_to_uint(optarg, 0, 255, &tmp) != 0) { in main() 2062 if (str_to_uint(optarg, 1, 65535, &tmp) != 0) { in main() 2069 if (str_to_uint(optarg, 0, INT_MAX, in main() 2089 if (str_to_uint(optarg, 0, 0xffff, &tmp) != 0) { in main()
|