Lines Matching refs:queue_ptr
606 …_packet_receive_callback_add(NX_IP *ip_ptr, UINT interface_index, NX_LINK_RECEIVE_QUEUE *queue_ptr, in nx_link_packet_receive_callback_add() argument
613 (queue_ptr == NX_NULL) || (callback_ptr == NX_NULL)) in nx_link_packet_receive_callback_add()
628 queue_ptr -> packet_type = (USHORT)(packet_type & 0xFFFF); in nx_link_packet_receive_callback_add()
629 queue_ptr -> context = context; in nx_link_packet_receive_callback_add()
630 queue_ptr -> callback = callback_ptr; in nx_link_packet_receive_callback_add()
637 … queue_ptr -> previous_ptr = interface_ptr -> nx_interface_link_receive_queue_head -> previous_ptr; in nx_link_packet_receive_callback_add()
638 … interface_ptr -> nx_interface_link_receive_queue_head -> previous_ptr -> next_ptr = queue_ptr; in nx_link_packet_receive_callback_add()
644 queue_ptr -> previous_ptr = queue_ptr; in nx_link_packet_receive_callback_add()
645 interface_ptr -> nx_interface_link_receive_queue_head = queue_ptr; in nx_link_packet_receive_callback_add()
647 queue_ptr -> next_ptr = interface_ptr -> nx_interface_link_receive_queue_head; in nx_link_packet_receive_callback_add()
695 …cket_receive_callback_remove(NX_IP *ip_ptr, UINT interface_index, NX_LINK_RECEIVE_QUEUE *queue_ptr) in nx_link_packet_receive_callback_remove() argument
700 if ((ip_ptr == NX_NULL) || (ip_ptr -> nx_ip_id != NX_IP_ID) || (queue_ptr == NX_NULL)) in nx_link_packet_receive_callback_remove()
714 if (queue_ptr -> next_ptr == queue_ptr) in nx_link_packet_receive_callback_remove()
724 queue_ptr -> previous_ptr -> next_ptr = queue_ptr -> next_ptr; in nx_link_packet_receive_callback_remove()
725 queue_ptr -> next_ptr -> previous_ptr = queue_ptr -> previous_ptr; in nx_link_packet_receive_callback_remove()
727 if (interface_ptr -> nx_interface_link_receive_queue_head == queue_ptr) in nx_link_packet_receive_callback_remove()
731 interface_ptr -> nx_interface_link_receive_queue_head = queue_ptr -> next_ptr; in nx_link_packet_receive_callback_remove()
1120 NX_LINK_RECEIVE_QUEUE *queue_ptr; in nx_link_ethernet_packet_received() local
1137 queue_ptr = interface_ptr -> nx_interface_link_receive_queue_head; in nx_link_ethernet_packet_received()
1291 queue_ptr = interface_ptr -> nx_interface_link_receive_queue_head; in nx_link_ethernet_packet_received()
1292 while (queue_ptr) in nx_link_ethernet_packet_received()
1296 …if ((queue_ptr -> packet_type == packet_type) || (queue_ptr -> packet_type == NX_LINK_PACKET_TYPE_… in nx_link_ethernet_packet_received()
1300 if (queue_ptr -> callback(ip_ptr, interface_index, packet_ptr, in nx_link_ethernet_packet_received()
1302 … packet_type, header_size, queue_ptr -> context, time_ptr) == NX_SUCCESS) in nx_link_ethernet_packet_received()
1311 queue_ptr = queue_ptr -> next_ptr; in nx_link_ethernet_packet_received()
1312 if (queue_ptr == interface_ptr -> nx_interface_link_receive_queue_head) in nx_link_ethernet_packet_received()