Searched refs:cp_val (Results 1 – 4 of 4) sorted by relevance
111 cp->cp_val = strdup(""); in cm_getprop_echo()112 cp->cp_val_len = strlen(cp->cp_val) + 1; in cm_getprop_echo()122 cp->cp_val = strdup(CM_VERSION_STR); in cm_getprop_version()123 cp->cp_val_len = strlen(cp->cp_val) + 1; in cm_getprop_version()148 cp->cp_val = p; in cm_getprop_ifilist()157 cp->cp_val_len = p - cp->cp_val; in cm_getprop_ifilist()191 cp->cp_val = p; in cm_getprop_ifi()232 cp->cp_val = p; in cm_getprop_rai()278 cp->cp_val = p; in cm_getprop_ifi_ra_timer()321 cp->cp_val = p; in cm_getprop_rti()[all …]
388 cp->cp_val = malloc(len + 1); in cm_bin2pl()389 if (cp->cp_val == NULL) { in cm_bin2pl()393 memcpy(cp->cp_val, p, len); in cm_bin2pl()394 cp->cp_val[len] = '\0'; in cm_bin2pl()417 if (cp->cp_val != NULL && cp->cp_val_len > 0) in cm_pl2bin()452 if (cp->cp_val != NULL && cp->cp_val_len > 0) { in cm_pl2bin()455 memcpy(p, cp->cp_val, cp->cp_val_len); in cm_pl2bin()
61 char *cp_val; member
258 cp.cp_val = NULL; in action_plgeneric()261 cp.cp_val = q; in action_plgeneric()401 printf("version=%s\n", cp.cp_val); in action_version()434 p = cp.cp_val; in action_show()481 ifi_s = (struct ifinfo *)cp.cp_val; in action_show()564 rai = (struct rainfo *)cp.cp_val; in action_show()616 rat = (struct rtadvd_timer *)cp.cp_val; in action_show()638 rti = (struct rtinfo *)cp.cp_val; in action_show()655 pfx = (struct prefix *)cp.cp_val; in action_show()673 len = *((uint16_t *)cp.cp_val); in action_show()[all …]