Searched refs:cidraddr (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 934 char cidraddr[BUFSIZ]; in setifaddr() local 1008 (void) snprintf(cidraddr, sizeof (cidraddr), "%s/%d", in setifaddr() 1011 istatus = ipadm_set_addr(ipaddr, cidraddr, af); in setifaddr() 1819 char cidraddr[BUFSIZ]; in addif() local 1933 (void) snprintf(cidraddr, sizeof (cidraddr), "%s/%d", in addif() 1936 istatus = ipadm_set_addr(ipaddr, cidraddr, af); in addif()
|
/titanic_50/usr/src/lib/libipadm/common/ |
H A D | ipadm_addr.c | 1988 char *cidraddr; in i_ipadm_enable_static() local 2028 if (asprintf(&cidraddr, "%s/%s", sname, prefixlenstr) == -1) in i_ipadm_enable_static() 2030 status = ipadm_set_addr(&ipaddr, cidraddr, af); in i_ipadm_enable_static() 2031 free(cidraddr); in i_ipadm_enable_static()
|