Lines Matching full:protocol
57 struct ax25_protocol *protocol; in ax25_protocol_release() local
60 protocol = protocol_list; in ax25_protocol_release()
61 if (protocol == NULL) in ax25_protocol_release()
64 if (protocol->pid == pid) { in ax25_protocol_release()
65 protocol_list = protocol->next; in ax25_protocol_release()
69 while (protocol != NULL && protocol->next != NULL) { in ax25_protocol_release()
70 if (protocol->next->pid == pid) { in ax25_protocol_release()
71 protocol->next = protocol->next->next; in ax25_protocol_release()
75 protocol = protocol->next; in ax25_protocol_release()
161 struct ax25_protocol *protocol; in ax25_protocol_function() local
164 for (protocol = protocol_list; protocol != NULL; protocol = protocol->next) in ax25_protocol_function()
165 if (protocol->pid == pid) { in ax25_protocol_function()
166 res = protocol->func; in ax25_protocol_function()
202 struct ax25_protocol *protocol; in ax25_protocol_is_registered() local
206 for (protocol = protocol_list; protocol != NULL; protocol = protocol->next) in ax25_protocol_is_registered()
207 if (protocol->pid == pid) { in ax25_protocol_is_registered()