Home | History | Annotate | Download | only in libpcap

Lines Matching defs:cp

97 	const char *cp;
103 cp = strrchr(device, '/');
104 if (cp == NULL)
105 cp = device;
107 if (strncmp(cp, "can", 3) == 0) {
109 cp += 3; /* skip past "can" */
110 } else if (strncmp(cp, "vcan", 4) == 0) {
112 cp += 4;
119 devnum = strtol(cp, &cpend, 10);
120 if (cpend == cp || *cpend != '\0') {