Lines Matching refs:ip_header_ptr
96 NX_IPV4_HEADER *ip_header_ptr; in _nx_ipv4_packet_receive() local
122 ip_header_ptr = (NX_IPV4_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ipv4_packet_receive()
128 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_INTERNAL_IP_RECEIVE, ip_ptr, ip_header_ptr -> nx_ip_header_source… in _nx_ipv4_packet_receive()
132 val = ip_header_ptr -> nx_ip_header_word_0; in _nx_ipv4_packet_receive()
337 NX_CHANGE_ULONG_ENDIAN(ip_header_ptr -> nx_ip_header_word_0); in _nx_ipv4_packet_receive()
338 NX_CHANGE_ULONG_ENDIAN(ip_header_ptr -> nx_ip_header_word_1); in _nx_ipv4_packet_receive()
339 NX_CHANGE_ULONG_ENDIAN(ip_header_ptr -> nx_ip_header_word_2); in _nx_ipv4_packet_receive()
340 NX_CHANGE_ULONG_ENDIAN(ip_header_ptr -> nx_ip_header_source_ip); in _nx_ipv4_packet_receive()
341 NX_CHANGE_ULONG_ENDIAN(ip_header_ptr -> nx_ip_header_destination_ip); in _nx_ipv4_packet_receive()
348 …if (((ip_header_ptr -> nx_ip_header_source_ip & ~(if_ptr -> nx_interface_ip_network_mask)) == ~(if… in _nx_ipv4_packet_receive()
349 … (((ip_header_ptr -> nx_ip_header_source_ip & ~(if_ptr -> nx_interface_ip_network_mask)) == 0) && in _nx_ipv4_packet_receive()
350 (ip_header_ptr -> nx_ip_header_source_ip != 0)) || in _nx_ipv4_packet_receive()
351 ((ip_header_ptr -> nx_ip_header_source_ip & NX_IP_CLASS_D_MASK) == NX_IP_CLASS_D_TYPE)) in _nx_ipv4_packet_receive()
398 word_ptr = ((ULONG *)((VOID *)ip_header_ptr)) + ip_header_length - 1; in _nx_ipv4_packet_receive()
401 *word_ptr-- = ip_header_ptr -> nx_ip_header_destination_ip; in _nx_ipv4_packet_receive()
402 *word_ptr-- = ip_header_ptr -> nx_ip_header_source_ip; in _nx_ipv4_packet_receive()
403 *word_ptr-- = ip_header_ptr -> nx_ip_header_word_2; in _nx_ipv4_packet_receive()
404 *word_ptr-- = ip_header_ptr -> nx_ip_header_word_1; in _nx_ipv4_packet_receive()
405 …*word_ptr = (ULONG)(((ip_header_ptr -> nx_ip_header_word_0) & (~NX_IP_LENGTH_MASK)) | NX_IP_VERSIO… in _nx_ipv4_packet_receive()
409 ip_header_ptr = (NX_IPV4_HEADER *)word_ptr; in _nx_ipv4_packet_receive()
435 if (ip_header_ptr -> nx_ip_header_word_1 & NX_IP_FRAGMENT_MASK) in _nx_ipv4_packet_receive()
530 if ((ip_header_ptr -> nx_ip_header_destination_ip == if_ptr -> nx_interface_ip_address) || in _nx_ipv4_packet_receive()
534 (ip_header_ptr -> nx_ip_header_destination_ip == 0) || in _nx_ipv4_packet_receive()
537 (((ip_header_ptr -> nx_ip_header_destination_ip & if_ptr -> nx_interface_ip_network_mask) == in _nx_ipv4_packet_receive()
539 … ((ip_header_ptr -> nx_ip_header_destination_ip & ~(if_ptr -> nx_interface_ip_network_mask)) == in _nx_ipv4_packet_receive()
543 (ip_header_ptr -> nx_ip_header_destination_ip == NX_IP_LIMITED_BROADCAST) || in _nx_ipv4_packet_receive()
546 ((ip_header_ptr -> nx_ip_header_destination_ip >= NX_IP_LOOPBACK_FIRST) && in _nx_ipv4_packet_receive()
547 (ip_header_ptr -> nx_ip_header_destination_ip <= NX_IP_LOOPBACK_LAST)) || in _nx_ipv4_packet_receive()
550 (_nx_igmp_multicast_check(ip_ptr, ip_header_ptr -> nx_ip_header_destination_ip, if_ptr))) in _nx_ipv4_packet_receive()
555 if (ip_header_ptr -> nx_ip_header_word_1 & NX_IP_FRAGMENT_MASK) in _nx_ipv4_packet_receive()
579 if ((ip_header_ptr -> nx_ip_header_word_1 & NX_IP_MORE_FRAGMENT) && in _nx_ipv4_packet_receive()
648 protocol = (ip_header_ptr -> nx_ip_header_word_2 >> 16) & 0xFF; in _nx_ipv4_packet_receive()
677 protocol = ip_header_ptr -> nx_ip_header_word_2 & NX_IP_PROTOCOL_MASK; in _nx_ipv4_packet_receive()