Lines Matching refs:lname
159 char *new_name, *lname; in get_target_name() local
168 lname = calloc(1, strlen(name) + 1); in get_target_name()
171 if (!lname) in get_target_name()
175 strcpy(lname, name); in get_target_name()
177 if (isupper(lname[0])) { in get_target_name()
181 lname[i] = tolower(lname[i]); in get_target_name()
202 sprintf(path, "%s/libxt_%s.so", lib_dir, lname); in get_target_name()
207 sprintf(path, "%s/libipt_%s.so", lib_dir, lname); in get_target_name()
215 free(lname); in get_target_name()
222 m = (struct xtables_target *) dlsym(handle, lname); in get_target_name()
226 m = find_t(lname); in get_target_name()
232 free(lname); in get_target_name()
240 free(lname); in get_target_name()