Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-dag.c727 char * newDev = NULL; in dag_activate() local
743 newDev = (char *)malloc(strlen(device) + 16); in dag_activate()
744 if (newDev == NULL) { in dag_activate()
750 if (dag_parse_name(device, newDev, strlen(device) + 16, &handlep->dag_stream) < 0) { in dag_activate()
754 device = newDev; in dag_activate()
762 newDev = (char *)malloc(strlen(device) + 5); in dag_activate()
763 if (newDev == NULL) { in dag_activate()
767 strcpy(newDev, "/dev/"); in dag_activate()
768 strcat(newDev, device); in dag_activate()
769 device = newDev; in dag_activate()
[all …]