Home
last modified time | relevance | path

Searched refs:cp_val (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/rtadvd/
H A Dcontrol_server.c111 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 in cm_getprop_rti()
[all...]
H A Dcontrol.c388 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()
H A Dcontrol.h61 char *cp_val; member
/freebsd/usr.sbin/rtadvctl/
H A Drtadvctl.c258 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()
435 p = cp.cp_val; in action_show()
486 ifi_s = (struct ifinfo *)cp.cp_val; in action_show()
555 rai = (struct rainfo *)cp.cp_val; in action_show()
607 rat = (struct rtadvd_timer *)cp.cp_val; in action_show()
637 rti = (struct rtinfo *)cp.cp_val; in action_show()
654 pfx = (struct prefix *)cp.cp_val; in action_show()
672 len = *((uint16_t *)cp.cp_val); in action_show()
[all...]