Searched refs:cp_val (Results 1 – 4 of 4) sorted by relevance
113 cp->cp_val = strdup(""); in cm_getprop_echo()114 cp->cp_val_len = strlen(cp->cp_val) + 1; in cm_getprop_echo()124 cp->cp_val = strdup(CM_VERSION_STR); in cm_getprop_version()125 cp->cp_val_len = strlen(cp->cp_val) + 1; in cm_getprop_version()150 cp->cp_val = p; in cm_getprop_ifilist()159 cp->cp_val_len = p - cp->cp_val; in cm_getprop_ifilist()193 cp->cp_val = p; in cm_getprop_ifi()234 cp->cp_val = p; in cm_getprop_rai()280 cp->cp_val = p; in cm_getprop_ifi_ra_timer()323 cp->cp_val = p; in cm_getprop_rti()[all …]
390 cp->cp_val = malloc(len + 1); in cm_bin2pl()391 if (cp->cp_val == NULL) { in cm_bin2pl()395 memcpy(cp->cp_val, p, len); in cm_bin2pl()396 cp->cp_val[len] = '\0'; in cm_bin2pl()419 if (cp->cp_val != NULL && cp->cp_val_len > 0) in cm_pl2bin()454 if (cp->cp_val != NULL && cp->cp_val_len > 0) { in cm_pl2bin()457 memcpy(p, cp->cp_val, cp->cp_val_len); in cm_pl2bin()
63 char *cp_val; member
260 cp.cp_val = NULL; in action_plgeneric()263 cp.cp_val = q; in action_plgeneric()403 printf("version=%s\n", cp.cp_val); in action_version()437 p = cp.cp_val; in action_show()488 ifi_s = (struct ifinfo *)cp.cp_val; in action_show()571 rai = (struct rainfo *)cp.cp_val; in action_show()623 rat = (struct rtadvd_timer *)cp.cp_val; in action_show()653 rti = (struct rtinfo *)cp.cp_val; in action_show()670 pfx = (struct prefix *)cp.cp_val; in action_show()688 len = *((uint16_t *)cp.cp_val); in action_show()[all …]