iproute2

dlsymdlopen

5.8.0

12 / 597 files match, 12 filtered matches.

genl/static-syms.c



7 | #include <string.h>
8 | #include "dlfcn.h"
9 | 
10 | void *_dlsym(const char *sym)
11 | {
12 | #include "static-syms.h"


genl/genl.c



74 | 
75 | 	snprintf(buf, sizeof(buf), "%s_genl_util", str);
76 | 
77 | 	f = dlsym(dlh, buf);
78 | 	if (f == NULL)
79 | 		goto noexist;


include/dlfcn.h



19 | 		return NULL;
20 | }
21 | 
22 | void *_dlsym(const char *sym);
23 | static inline void *dlsym(void *handle, const char *sym)
24 | {
25 | 	if (handle != _FAKE_DLFCN_HDL)
26 | 		return NULL;
27 | 	return _dlsym(sym);
28 | }
29 | 


ip/iplink.c



168 | 	}
169 | 
170 | 	snprintf(buf, sizeof(buf), "%s_link_util", id);
171 | 	l = dlsym(dlh, buf);
172 | 	if (l == NULL)
173 | 		return NULL;


ip/static-syms.c



7 | #include <string.h>
8 | #include "dlfcn.h"
9 | 
10 | void *_dlsym(const char *sym)
11 | {
12 | #include "static-syms.h"


tc/m_ipt.c



215 | 		}
216 | 	}
217 | 
218 | 	m = dlsym(handle, new_name);
219 | 	if ((error = dlerror()) != NULL) {
220 | 		m = (struct xtables_target *) dlsym(handle, lname);
221 | 		if ((error = dlerror()) != NULL) {
222 | 			m = find_t(new_name);


tc/tc.c



129 | 	}
130 | 
131 | 	snprintf(buf, sizeof(buf), "%s_qdisc_util", str);
132 | 	q = dlsym(dlh, buf);
133 | 	if (q == NULL)
134 | 		goto noexist;
172 | 	}
173 | 
174 | 	snprintf(buf, sizeof(buf), "%s_filter_util", str);
175 | 	q = dlsym(dlh, buf);
176 | 	if (q == NULL)
177 | 		goto noexist;


tc/m_action.c



112 | 	}
113 | 
114 | 	snprintf(buf, sizeof(buf), "%s_action_util", str);
115 | 	a = dlsym(dlh, buf);
116 | 	if (a == NULL)
117 | 		goto noexist;


tc/m_ematch.c



150 | 	}
151 | 
152 | 	snprintf(buf, sizeof(buf), "%s_ematch_util", kind);
153 | 	e = dlsym(dlh, buf);
154 | 	if (e == NULL)
155 | 		return NULL;


tc/static-syms.c



7 | #include <string.h>
8 | #include "dlfcn.h"
9 | 
10 | void *_dlsym(const char *sym)
11 | {
12 | #include "static-syms.h"


tc/tc_exec.c



62 | 	}
63 | 
64 | 	snprintf(buf, sizeof(buf), "%s_exec_util", name);
65 | 	eu = dlsym(dlh, buf);
66 | 	if (eu == NULL)
67 | 		goto noexist;


tc/m_pedit.c



98 | 	}
99 | 
100 | 	snprintf(buf, sizeof(buf), "p_pedit_%s", str);
101 | 	p = dlsym(dlh, buf);
102 | 	if (p == NULL)
103 | 		goto noexist;