Lines Matching refs:udphdr
709 struct udp_hdr *udphdr; in lowpan6_decompress_hdr() local
714 udphdr = (struct udp_hdr *)((u8_t *)decomp_buffer + ip6_offset); in lowpan6_decompress_hdr()
729 …udphdr->src = lwip_htons(lowpan6_buffer[lowpan6_offset] << 8 | lowpan6_buffer[lowpan6_offset + 1]); in lowpan6_decompress_hdr()
730 …udphdr->dest = lwip_htons(lowpan6_buffer[lowpan6_offset + 2] << 8 | lowpan6_buffer[lowpan6_offset … in lowpan6_decompress_hdr()
733 …udphdr->src = lwip_htons(lowpan6_buffer[lowpan6_offset] << 8 | lowpan6_buffer[lowpan6_offset + 1]); in lowpan6_decompress_hdr()
734 udphdr->dest = lwip_htons(0xf000 | lowpan6_buffer[lowpan6_offset + 2]); in lowpan6_decompress_hdr()
737 udphdr->src = lwip_htons(0xf000 | lowpan6_buffer[lowpan6_offset]); in lowpan6_decompress_hdr()
738 …udphdr->dest = lwip_htons(lowpan6_buffer[lowpan6_offset + 1] << 8 | lowpan6_buffer[lowpan6_offset … in lowpan6_decompress_hdr()
741 udphdr->src = lwip_htons(0xf0b0 | ((lowpan6_buffer[lowpan6_offset] >> 4) & 0x0f)); in lowpan6_decompress_hdr()
742 udphdr->dest = lwip_htons(0xf0b0 | (lowpan6_buffer[lowpan6_offset] & 0x0f)); in lowpan6_decompress_hdr()
746 …udphdr->chksum = lwip_htons(lowpan6_buffer[lowpan6_offset] << 8 | lowpan6_buffer[lowpan6_offset + … in lowpan6_decompress_hdr()
752 udphdr->len = lwip_htons(datagram_size - IP6_HLEN); in lowpan6_decompress_hdr()