Lines Matching refs:callbacks
144 int lapb_register(void *token, struct lapb_register_struct *callbacks) in lapb_register() argument
155 lapb->callbacks = *callbacks; in lapb_register()
348 if (lapb->callbacks.connect_confirmation != NULL) in lapb_connect_confirmation()
349 (lapb->callbacks.connect_confirmation)(lapb->token, reason); in lapb_connect_confirmation()
354 if (lapb->callbacks.connect_indication != NULL) in lapb_connect_indication()
355 (lapb->callbacks.connect_indication)(lapb->token, reason); in lapb_connect_indication()
360 if (lapb->callbacks.disconnect_confirmation != NULL) in lapb_disconnect_confirmation()
361 (lapb->callbacks.disconnect_confirmation)(lapb->token, reason); in lapb_disconnect_confirmation()
366 if (lapb->callbacks.disconnect_indication != NULL) in lapb_disconnect_indication()
367 (lapb->callbacks.disconnect_indication)(lapb->token, reason); in lapb_disconnect_indication()
372 if (lapb->callbacks.data_indication != NULL) { in lapb_data_indication()
373 return (lapb->callbacks.data_indication)(lapb->token, skb); in lapb_data_indication()
383 if (lapb->callbacks.data_transmit != NULL) { in lapb_data_transmit()
384 (lapb->callbacks.data_transmit)(lapb->token, skb); in lapb_data_transmit()