Searched refs:ip_header_length (Results 1 – 3 of 3) sorted by relevance
94 ULONG ip_header_length; in _nx_ipv4_packet_receive() local253 ip_header_length = (val & NX_IP_LENGTH_MASK) >> 24; in _nx_ipv4_packet_receive()262 if ((packet_ptr -> nx_packet_length <= (ip_header_length << 2)) || in _nx_ipv4_packet_receive()263 (ip_header_length < NX_IP_NORMAL_LENGTH)) in _nx_ipv4_packet_receive()299 (UINT)(ip_header_length << 2), in _nx_ipv4_packet_receive()370 if (ip_header_length > NX_IP_NORMAL_LENGTH) in _nx_ipv4_packet_receive()394 word_ptr = ((ULONG *)((VOID *)ip_header_ptr)) + ip_header_length - 1; in _nx_ipv4_packet_receive()410 …packet_ptr -> nx_packet_length = packet_ptr -> nx_packet_length - ((ip_header_length - NX_IP_NORM… in _nx_ipv4_packet_receive()
96 ULONG ip_header_length; in _nx_ip_packet_checksum_compute() local145 ip_header_length = (val & NX_IP_LENGTH_MASK) >> 24; in _nx_ip_packet_checksum_compute()153 ip_header_length << 2, in _nx_ip_packet_checksum_compute()183 …cket_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_prepend_ptr + (ip_header_length << 2); in _nx_ip_packet_checksum_compute()184 data_length = packet_ptr -> nx_packet_length - (ip_header_length << 2); in _nx_ip_packet_checksum_compute()
453 uint16_t ip_header_length = (uint16_t)((version_byte & 0x0f) * 4); in _ipv4_callback() local486 uint32_t *transport_header_ptr = (uint32_t*) (((uint8_t*)ip_packet) + ip_header_length); in _ipv4_callback()492 uint16_t total_bytes = (uint16_t)((ip_header_word_0 & 0xffff) - ip_header_length); in _ipv4_callback()