/third_party/lwip/src/core/ |
D | udp.c | 196 struct udp_hdr *udphdr; in udp_input() local 226 udphdr = (struct udp_hdr *)p->payload; in udp_input() 234 src = lwip_ntohs(udphdr->src); in udp_input() 235 dest = lwip_ntohs(udphdr->dest); in udp_input() 237 udp_debug_print(udphdr); in udp_input() 242 LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F") <-- (", lwip_ntohs(udphdr->dest))); in udp_input() 244 LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F")\n", lwip_ntohs(udphdr->src))); in udp_input() 336 u16_t chklen = lwip_ntohs(udphdr->len); in udp_input() 356 if (udphdr->chksum != 0) { in udp_input() 717 struct udp_hdr *udphdr; in udp_sendto_if_src_chksum() local [all …]
|
/third_party/lwip/src/netif/ |
D | lowpan6_common.c | 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() [all …]
|
/third_party/lwip/src/include/lwip/ |
D | udp.h | 182 void udp_debug_print(struct udp_hdr *udphdr); 184 #define udp_debug_print(udphdr) argument
|
/third_party/musl/include/netinet/ |
D | udp.h | 18 struct udphdr { struct
|
/third_party/musl/porting/liteos_m/kernel/include/netinet/ |
D | udp.h | 18 struct udphdr { struct
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/ |
D | udp.h | 18 struct udphdr { struct
|
/third_party/musl/ndk_musl_include/netinet/ |
D | udp.h | 18 struct udphdr { struct
|
/third_party/musl/porting/uniproton/kernel/include/netinet/ |
D | udp.h | 18 struct udphdr { struct
|
/third_party/toybox/toys/pending/ |
D | traceroute.c | 266 struct udphdr *hudp; in do_trace() 271 hudp = (struct udphdr*) ((char*)hip + (hip->ip_hl << 2)); in do_trace() 389 struct udphdr *hudp; in do_trace() 393 hudp = (struct udphdr*) (hip + 1); in do_trace()
|
D | dhcp6.c | 114 struct udphdr udph;
|
D | dhcpd.c | 164 struct udphdr udph; 170 struct udphdr udph;
|
D | dhcp.c | 170 struct udphdr udph;
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | fils_hlp.c | 162 struct udphdr *udph; in fils_dhcp_handler() 483 const struct udphdr *udph; in fils_process_hlp_udp() 489 udph = (const struct udphdr *) (iph + 1); in fils_process_hlp_udp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | fils_hlp.c | 162 struct udphdr *udph; in fils_dhcp_handler() 483 const struct udphdr *udph; in fils_process_hlp_udp() 489 udph = (const struct udphdr *) (iph + 1); in fils_process_hlp_udp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dhcp.h | 43 struct udphdr udph;
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | dhcp.h | 43 struct udphdr udph;
|
/third_party/lwip/src/core/ipv4/ |
D | ip4.c | 582 const struct udp_hdr *udphdr = (const struct udp_hdr *)((const u8_t *)iphdr + iphdr_hlen); local 584 lwip_ntohs(udphdr->dest))); 585 if (IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(udphdr->dest)) {
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/ |
D | user_socket.c | 2862 struct udphdr *udp; 2891 len = sizeof(struct ip) + sizeof(struct udphdr); 2899 udp = (struct udphdr *)(ip + 1); 2930 m_adj(m, sizeof(struct ip) + sizeof(struct udphdr)); 3007 struct udphdr *udp; 3038 len = sizeof(struct ip6_hdr) + sizeof(struct udphdr); 3046 udp = (struct udphdr *)(ip6 + 1); 3074 m_adj(m, sizeof(struct ip6_hdr) + sizeof(struct udphdr));
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctputil.c | 8078 struct udphdr *uhdr; 8087 uhdr = (struct udphdr *)((caddr_t)iph + off); 8098 if (sp->m_pkthdr.len < sizeof(struct udphdr) + sizeof(struct sctphdr)) { 8104 sp = m_pullup(sp, sizeof(struct udphdr) + sizeof(struct sctphdr)); 8110 m_adj(sp, sizeof(struct udphdr)); 8132 iph->ip_len = htons(ntohs(iph->ip_len) - sizeof(struct udphdr)); 8139 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - sizeof(struct udphdr)); 8159 struct udphdr *udp; 8172 sizeof(struct ip) + 8 + (inner_ip->ip_hl << 2) + sizeof(struct udphdr) + 8) { 8175 udp = (struct udphdr *)((caddr_t)inner_ip + (inner_ip->ip_hl << 2)); [all …]
|
D | sctp_output.c | 4133 struct udphdr *udp = NULL; 4183 len += sizeof(struct udphdr); 4335 udp = (struct udphdr *)((caddr_t)ip + sizeof(struct ip)); 4352 sctphdr = (struct sctphdr *)((caddr_t)udp + sizeof(struct udphdr)); 4407 sctphdr->checksum = sctp_calculate_cksum(m, sizeof(struct ip) + sizeof(struct udphdr)); 4494 mtu -= sizeof(struct udphdr); 4559 len += sizeof(struct udphdr); 4824 udp = (struct udphdr *)((caddr_t)ip6h + sizeof(struct ip6_hdr)); 4829 sctphdr = (struct sctphdr *)((caddr_t)udp + sizeof(struct udphdr)); 4874 sctphdr->checksum = sctp_calculate_cksum(m, sizeof(struct ip6_hdr) + sizeof(struct udphdr)); [all …]
|
D | sctp_os_userspace.h | 349 struct udphdr { struct
|
D | sctp_input.c | 5793 net->mtu -= sizeof(struct udphdr); 5799 net->mtu += sizeof(struct udphdr); 5835 net->mtu -= sizeof(struct udphdr); 5841 net->mtu += sizeof(struct udphdr); 5959 net->mtu -= sizeof(struct udphdr); 5965 net->mtu += sizeof(struct udphdr);
|
D | sctp_timer.c | 1544 mtu -= sizeof(struct udphdr);
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet6/ |
D | sctp6_usrreq.c | 376 next_mtu -= sizeof(struct udphdr); 382 sctp_hc_set_mtu(&net->ro._l_addr, inp->fibnum, next_mtu + sizeof(struct udphdr));
|
/third_party/lwip/src/api/ |
D | api_msg.c | 263 const struct udp_hdr *udphdr = (const struct udp_hdr *)ip_next_header_ptr(); local 266 buf->toport_chksum = udphdr->dest;
|