Searched refs:udp_hdr (Results 1 – 9 of 9) sorted by relevance
310 u8_t udp_hdr[] = { in START_TEST() local318 struct pbuf *header = pbuf_alloc(PBUF_RAW, sizeof(udp_hdr), PBUF_ROM); in START_TEST()327 header->payload = udp_hdr; in START_TEST()345 fail_unless(cloned_pbuf->len == IP6_HLEN + ICMP6_HLEN + sizeof(udp_hdr) + sizeof(udp_payload)); in START_TEST()355 fail_unless(memcmp(icmpptr, udp_hdr, sizeof(udp_hdr)) == 0, "mismatch in copied ip6/udp header"); in START_TEST()356 icmpptr += sizeof(udp_hdr); in START_TEST()
196 struct udp_hdr *udphdr; in udp_input()226 udphdr = (struct udp_hdr *)p->payload; in udp_input()337 if (chklen < sizeof(struct udp_hdr)) { in udp_input()713 struct udp_hdr *udphdr; in udp_sendto_if_src_chksum()782 (q->len >= sizeof(struct udp_hdr))); in udp_sendto_if_src_chksum()784 udphdr = (struct udp_hdr *)q->payload; in udp_sendto_if_src_chksum()806 if ((chklen < sizeof(struct udp_hdr)) || (chklen > q->tot_len)) { in udp_sendto_if_src_chksum()1308 udp_debug_print(struct udp_hdr *udphdr) in udp_debug_print()
53 struct udp_hdr { struct
176 struct udp_hdr *uh; in test_udp_create_test_packet()191 ret = pbuf_add_header(p, sizeof(struct udp_hdr)); in test_udp_create_test_packet()193 uh = (struct udp_hdr *)p->payload; in test_udp_create_test_packet()
182 void udp_debug_print(struct udp_hdr *udphdr);
350 ((struct udp_hdr *)((u8_t *)iphdr + IPH_HL_BYTES(iphdr)))->chksum = 0; in ip4_forward()616 const struct udp_hdr *udphdr = (const struct udp_hdr *)((const u8_t *)iphdr + iphdr_hlen);
709 struct udp_hdr *udphdr; in lowpan6_decompress_hdr()714 udphdr = (struct udp_hdr *)((u8_t *)decomp_buffer + ip6_offset); in lowpan6_decompress_hdr()
264 const struct udp_hdr *udphdr = (const struct udp_hdr *)ip_next_header_ptr();
3632 * udp.h: Fixed bug #20259: struct udp_hdr was lacking the packin defines.