Searched refs:prefixlenstr (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 1639 char prefixlenstr[MAXPROPVALLEN]; in print_sa_cb() local 1728 bzero(prefixlenstr, sizeof (prefixlenstr)); in print_sa_cb() 1730 (void) snprintf(prefixlenstr, sizeof (prefixlenstr), in print_sa_cb() 1748 (void) strlcat(buf, prefixlenstr, in print_sa_cb() 1769 prefixlenstr); in print_sa_cb()
|
/titanic_44/usr/src/lib/libipadm/common/ |
H A D | ipadm_addr.c | 1730 char *prefixlenstr; in ipadm_set_addr() local 1742 if ((prefixlenstr = strchr(addrstr, '/')) != NULL) { in ipadm_set_addr() 1743 *prefixlenstr++ = '\0'; in ipadm_set_addr() 1745 prefixlen = strtoul(prefixlenstr, &endp, 10); in ipadm_set_addr() 1981 char *prefixlenstr = NULL; in i_ipadm_enable_static() local 2004 err = nvpair_value_string(nvp, &prefixlenstr); in i_ipadm_enable_static() 2027 if (prefixlenstr != NULL && atoi(prefixlenstr) > 0) { in i_ipadm_enable_static() 2028 if (asprintf(&cidraddr, "%s/%s", sname, prefixlenstr) == -1) in i_ipadm_enable_static()
|