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