Home
last modified time | relevance | path

Searched refs:udp_data (Results 1 – 5 of 5) sorted by relevance

/third_party/lwip/src/include/lwip/distributed_net/
Dudp_transmit.h42 typedef struct udp_data { struct
46 } udp_data; typedef
57 #define UDP_PAYLOAD_LEN(send_len) ((send_len) - (ssize_t)sizeof(udp_data))
/third_party/lwip/src/core/distributed_net/
Ddistributed_net_core.c208 size_t new_buf_len = buf_len + sizeof(udp_data); in distributed_net_recvfrom()
236 if (ret <= sizeof(udp_data)) { in distributed_net_recvfrom()
242 udp_data *data = (udp_data *)new_buf; in distributed_net_recvfrom()
243 (void)memcpy_s(buf, buf_len, data->payload, ret - sizeof(udp_data)); in distributed_net_recvfrom()
256 return ret - (ssize_t)sizeof(udp_data); in distributed_net_recvfrom()
Dudp_transmit.c70 udp_data data = {0}; in udp_transmit_sendto()
109 udp_data data = {0}; in udp_transmit_sendmsg()
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-udpsender.c428 struct udp_info udp_data; in main() local
434 memset(&udp_data, '\0', sizeof(struct udp_info)); in main()
435 parse_options(argc, argv, &udp_data, &background); in main()
437 create_udp_datagram(&udp_data); in main()
443 send_udp_datagram(&udp_data); in main()
/third_party/lwip/src/core/
Ddns.c814 …(u16_t)(sizeof(udp_data) + SIZEOF_DNS_HDR + strlen(entry->name) + 2 + SIZEOF_DNS_QUERY), PBUF_RAM); in dns_send()
833 udp_data udp_data_hdr = {0}; in dns_send()
859 query_idx = sizeof(udp_data) + SIZEOF_DNS_HDR; in dns_send()