Lines Matching refs:cp
38 static int setdevname_pppoatm(const char *cp, const char **argv, int doit);
58 * 0 if we can't parse "cp" as a valid name of a device
59 * 1 if "cp" is a reasonable thing to name a device
68 int (*old_setdevname_hook)(const char* cp) = NULL;
69 static int setdevname_pppoatm(const char *cp, const char **argv, int doit)
75 //info("PPPoATM setdevname_pppoatm: '%s'", cp);
77 if (text2atm(cp, (struct sockaddr *) &addr, sizeof(addr),
80 info("atm does not recognize: %s", cp);
86 strlcpy(devnam, cp, sizeof devnam);
96 info("PPPoATM setdevname_pppoatm - SUCCESS:%s", cp);