Home
last modified time | relevance | path

Searched refs:udp_hdr (Results 1 – 9 of 9) sorted by relevance

/reactos/drivers/network/tcpip/lwip/test/unit/ip6/
H A Dtest_ip6.c310 u8_t udp_hdr[] = { in START_TEST() local
318 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()
/reactos/drivers/network/tcpip/lwip/src/core/
H A Dudp.c196 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()
/reactos/drivers/network/tcpip/lwip/src/include/lwip/prot/
H A Dudp.h53 struct udp_hdr { struct
/reactos/drivers/network/tcpip/lwip/test/unit/udp/
H A Dtest_udp.c176 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()
/reactos/drivers/network/tcpip/lwip/src/include/lwip/
H A Dudp.h182 void udp_debug_print(struct udp_hdr *udphdr);
/reactos/drivers/network/tcpip/lwip/src/core/ipv4/
H A Dip4.c350 ((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);
/reactos/drivers/network/tcpip/lwip/src/netif/
H A Dlowpan6_common.c709 struct udp_hdr *udphdr; in lowpan6_decompress_hdr()
714 udphdr = (struct udp_hdr *)((u8_t *)decomp_buffer + ip6_offset); in lowpan6_decompress_hdr()
/reactos/drivers/network/tcpip/lwip/src/api/
H A Dapi_msg.c264 const struct udp_hdr *udphdr = (const struct udp_hdr *)ip_next_header_ptr();
/reactos/drivers/network/tcpip/lwip/
H A DCHANGELOG3632 * udp.h: Fixed bug #20259: struct udp_hdr was lacking the packin defines.