IPADM_LOGICAL_SEP
cp = strchr(ifname, IPADM_LOGICAL_SEP);
cp = strrchr(ifname, IPADM_LOGICAL_SEP);
char *num = strrchr(ifname, IPADM_LOGICAL_SEP);
if ((sep = strrchr(cifname, IPADM_LOGICAL_SEP)) != NULL)
(ifname[len] == '\0' || ifname[len] == IPADM_LOGICAL_SEP));