Lines Matching refs:lname
225 char *new_name, *lname; in get_target_name() local
234 lname = malloc(strlen(name) + 1); in get_target_name()
240 if (lname) in get_target_name()
241 memset(lname, '\0', strlen(name) + 1); in get_target_name()
246 strcpy(lname, name); in get_target_name()
248 if (isupper(lname[0])) { in get_target_name()
251 lname[i] = tolower(lname[i]); in get_target_name()
271 sprintf(path, "%s/libxt_%s.so", lib_dir , lname); in get_target_name()
276 sprintf(path, "%s/libipt_%s.so", lib_dir , lname); in get_target_name()
284 free(lname); in get_target_name()
291 m = (struct iptables_target *) dlsym(handle, lname); in get_target_name()
295 m = find_t(lname); in get_target_name()
301 free(lname); in get_target_name()
309 free(lname); in get_target_name()