Lines Matching refs:cfgfile
2307 char cfgfile[MAXPATHLEN];
2324 (void) snprintf(cfgfile, MAXPATHLEN, CFGFILE_FMT_IPV4, ifinst);
2325 rcm_log_message(RCM_TRACE1, "IP: Scanning %s\n", cfgfile);
2326 if ((hostfp = fopen(cfgfile, "r")) != NULL) {
2327 if (isgrouped(cfgfile))
2331 (void) snprintf(cfgfile, MAXPATHLEN, CFGFILE_FMT_IPV6, ifinst);
2332 rcm_log_message(RCM_TRACE1, "IP: Scanning %s\n", cfgfile);
2333 if ((host6fp = fopen(cfgfile, "r")) != NULL) {
2334 if (!ipmp && isgrouped(cfgfile))
2441 isgrouped(const char *cfgfile)
2448 rcm_log_message(RCM_TRACE1, "IP: isgrouped(%s)\n", cfgfile);
2450 if (stat(cfgfile, &statb) != 0) {
2452 _("IP: No config file(%s)\n"), cfgfile);
2464 _("IP: Empty config file(%s)\n"), cfgfile);
2468 if ((fp = fopen(cfgfile, "r")) == NULL) {
2470 _("IP: Cannot open configuration file(%s): %s\n"), cfgfile,
2477 _("IP: malloc failure(%s): %s\n"), cfgfile,
2500 rcm_log_message(RCM_TRACE1, "IP: isgrouped(%s): %d\n", cfgfile,
2753 char cfgfile[MAXPATHLEN];
2756 (void) snprintf(cfgfile, MAXPATHLEN, CFGFILE_FMT_IPV4, ifname);
2757 if (access(cfgfile, W_OK|F_OK) == 0)
2760 (void) snprintf(cfgfile, MAXPATHLEN, CFGFILE_FMT_IPV6, ifname);
2761 if (access(cfgfile, W_OK|F_OK) == 0)