Searched refs:pkt_offset (Results 1 – 1 of 1) sorted by relevance
205 uint16_t pkt_offset; in check_ipv4_fragment_header() local224 pkt_offset = ntohs(*((uint16_t *)&hdr->offset)); in check_ipv4_fragment_header()225 pkt_flags = (pkt_offset & ~NET_IPV4_FRAGH_OFFSET_MASK) >> 13; in check_ipv4_fragment_header()226 pkt_offset &= NET_IPV4_FRAGH_OFFSET_MASK; in check_ipv4_fragment_header()227 pkt_offset *= 8; in check_ipv4_fragment_header()236 zassert_equal(pkt_offset, current_length, "IPv4 header length mismatch"); in check_ipv4_fragment_header()366 uint16_t pkt_offset; in udp_data_received() local396 pkt_offset = ntohs(*((uint16_t *)&hdr->offset)); in udp_data_received()397 pkt_flags = (pkt_offset & ~NET_IPV4_FRAGH_OFFSET_MASK) >> 13; in udp_data_received()398 pkt_offset &= NET_IPV4_FRAGH_OFFSET_MASK; in udp_data_received()[all …]