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