Lines Matching refs:first_word

891 	char *first_word;  in read_interfaces()  local
917 first_word = next_word(&rest_of_line); in read_interfaces()
918 if (!first_word || *first_word == '#') { in read_interfaces()
923 if (strcmp(first_word, "mapping") == 0) { in read_interfaces()
927 while ((first_word = next_word(&rest_of_line)) != NULL) { in read_interfaces()
929 currmap->match[currmap->n_matches++] = xstrdup(first_word); in read_interfaces()
945 } else if (strcmp(first_word, "iface") == 0) { in read_interfaces()
1010 } else if (strcmp(first_word, "auto") == 0) { in read_interfaces()
1011 while ((first_word = next_word(&rest_of_line)) != NULL) { in read_interfaces()
1014 if (llist_find_str(defn->autointerfaces, first_word)) { in read_interfaces()
1019 llist_add_to_end(&(defn->autointerfaces), xstrdup(first_word)); in read_interfaces()
1020 debug_noise("\nauto %s\n", first_word); in read_interfaces()
1023 } else if (strcmp(first_word, "source") == 0) { in read_interfaces()
1025 } else if (is_prefixed_with(first_word, "source-dir")) { in read_interfaces()
1047 if (strcmp(first_word, "post-up") == 0) in read_interfaces()
1048 first_word += 5; /* "up" */ in read_interfaces()
1049 else if (strcmp(first_word, "pre-down") == 0) in read_interfaces()
1050 first_word += 4; /* "down" */ in read_interfaces()
1053 if (index_in_strings(keywords_up_down, first_word) < 0) { in read_interfaces()
1056 if (strcmp(currif->option[i].name, first_word) == 0) in read_interfaces()
1060 debug_noise("\t%s=%s\n", first_word, rest_of_line); in read_interfaces()
1062 currif->option[currif->n_options].name = xstrdup(first_word); in read_interfaces()
1068 if (strcmp(first_word, "script") == 0) { in read_interfaces()
1072 } else if (strcmp(first_word, "map") == 0) { in read_interfaces()