Lines Matching defs:protocol
61 struct ax25_protocol *s, *protocol;
64 protocol = protocol_list;
65 if (protocol == NULL)
68 if (protocol->pid == pid) {
69 protocol_list = protocol->next;
73 while (protocol != NULL && protocol->next != NULL) {
74 if (protocol->next->pid == pid) {
75 s = protocol->next;
76 protocol->next = protocol->next->next;
80 protocol = protocol->next;
166 struct ax25_protocol *protocol;
169 for (protocol = protocol_list; protocol != NULL; protocol = protocol->next)
170 if (protocol->pid == pid) {
171 res = protocol->func;
208 struct ax25_protocol *protocol;
212 for (protocol = protocol_list; protocol != NULL; protocol = protocol->next)
213 if (protocol->pid == pid) {