Searched defs:prefixlenstr (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_addr.c2054 char *prefixlenstr; local
2067 if ((prefixlenstr = strchr(addrstr, '/')) != NULL) {
2068 *prefixlenstr++ = '\0';
2070 prefixlen = strtoul(prefixlenstr, &endp, 10);
2642 char *prefixlenstr = NULL, *upstr = NULL; local
2664 err = netcfg_nvp_get_one_string(nvp, &prefixlenstr);
2677 if (prefixlenstr != NULL && atoi(prefixlenstr) > 0) {
2678 if (asprintf(&cidraddr, "%s/%s", sname, prefixlenstr) == -1)

Completed in 42 milliseconds