Searched refs:cp_key (Results 1 - 4 of 4) sorted by relevance
/freebsd-10.2-release/usr.sbin/rtadvd/ |
H A D | control.h | 58 char *cp_key; member in struct:ctrl_msg_pl
|
H A D | control.c | 373 cp->cp_key = malloc(len + 1); 374 if (cp->cp_key == NULL) { 378 memcpy(cp->cp_key, p, len); 379 cp->cp_key[len] = '\0'; 414 if (cp->cp_key != NULL) 415 len += strlen(cp->cp_key); 441 if (cp->cp_key != NULL) { 442 *lenp++ = strlen(cp->cp_key); 444 memcpy(p, cp->cp_key, strlen(cp->cp_key)); [all...] |
H A D | control_server.c | 532 if (strcmp(cp->cp_key, getprop_dtable[i].dt_comm) == 0) 543 if (cp == NULL || cp->cp_key == NULL) 546 if (strncmp(cp->cp_key, "reload", sizeof("reload")) == 0) 548 else if (strncmp(cp->cp_key, "shutdown", sizeof("shutdown")) == 0) 550 else if (strncmp(cp->cp_key, "enable", sizeof("enable")) == 0) 552 else if (strncmp(cp->cp_key, "disable", sizeof("disable")) == 0) 554 else if (strncmp(cp->cp_key, "echo", 8) == 0)
|
/freebsd-10.2-release/usr.sbin/rtadvctl/ |
H A D | rtadvctl.c | 249 cp.cp_key = plstr; 252 cp.cp_key = plstr + 1; 256 cp.cp_key = p; 267 __func__,cp.cp_key, cp.cp_val_len, cp.cp_ifname); 293 __func__,cp->cp_key, cp->cp_val_len, cp->cp_ifname);
|
Completed in 46 milliseconds