Lines Matching refs:sa_proto_handle
54 static struct sa_proto_handle sa_proto_handle; variable
159 sa_proto_handle.sa_proto = in proto_plugin_init()
161 sa_proto_handle.sa_ops = in proto_plugin_init()
164 if (sa_proto_handle.sa_proto != NULL && in proto_plugin_init()
165 sa_proto_handle.sa_ops != NULL) { in proto_plugin_init()
181 sa_proto_handle.sa_num_proto++; in proto_plugin_init()
182 sa_proto_handle.sa_ops[i] = in proto_plugin_init()
184 sa_proto_handle.sa_proto[i] = in proto_plugin_init()
229 if (sa_proto_handle.sa_ops != NULL) { in proto_plugin_fini()
230 free(sa_proto_handle.sa_ops); in proto_plugin_fini()
231 sa_proto_handle.sa_ops = NULL; in proto_plugin_fini()
233 if (sa_proto_handle.sa_proto != NULL) { in proto_plugin_fini()
234 free(sa_proto_handle.sa_proto); in proto_plugin_fini()
235 sa_proto_handle.sa_proto = NULL; in proto_plugin_fini()
237 sa_proto_handle.sa_num_proto = 0; in proto_plugin_fini()
256 for (i = 0; i < sa_proto_handle.sa_num_proto; i++) { in find_protocol()
257 if (strcmp(proto, sa_proto_handle.sa_proto[i]) == 0) { in find_protocol()
258 ops = sa_proto_handle.sa_ops[i]; in find_protocol()