Lines Matching refs:next
38 struct listen_struct *next; member
51 ap->next = protocol_list; in ax25_register_pid()
68 protocol_list = protocol->next; in ax25_protocol_release()
72 while (protocol != NULL && protocol->next != NULL) { in ax25_protocol_release()
73 if (protocol->next->pid == pid) { in ax25_protocol_release()
74 protocol->next = protocol->next->next; in ax25_protocol_release()
78 protocol = protocol->next; in ax25_protocol_release()
118 listen->next = listen_list; in ax25_listen_register()
139 listen_list = listen->next; in ax25_listen_release()
145 while (listen != NULL && listen->next != NULL) { in ax25_listen_release()
146 if (ax25cmp(&listen->next->callsign, callsign) == 0 && listen->next->dev == dev) { in ax25_listen_release()
147 s = listen->next; in ax25_listen_release()
148 listen->next = listen->next->next; in ax25_listen_release()
154 listen = listen->next; in ax25_listen_release()
167 for (protocol = protocol_list; protocol != NULL; protocol = protocol->next) in ax25_protocol_function()
182 for (listen = listen_list; listen != NULL; listen = listen->next) in ax25_listen_mine()
209 for (protocol = protocol_list; protocol != NULL; protocol = protocol->next) in ax25_protocol_is_registered()