Home
last modified time | relevance | path

Searched refs:NET_UDPH_LEN (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/tests/net/lib/mdns_responder/src/
Dmain.c306 res = net_pkt_write_be16(pkt, len + NET_UDPH_LEN); in send_msg()
318 res = net_pkt_write_be16(pkt, len + NET_UDPH_LEN); in send_msg()
/Zephyr-latest/subsys/net/lib/ptp/
Dmsg.c292 payload = ntohs(hdr->len) - NET_UDPH_LEN; in ptp_msg_from_pkt()
300 msg = (struct ptp_msg *)((uintptr_t)hdr + NET_UDPH_LEN); in ptp_msg_from_pkt()
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h646 #define NET_UDPH_LEN 8 /* Size of UDP header */ macro
652 #define NET_IPV6UDPH_LEN (NET_UDPH_LEN + NET_IPV6H_LEN) /* IPv6 + UDP */
659 #define NET_IPV4UDPH_LEN (NET_UDPH_LEN + NET_IPV4H_LEN) /* IPv4 + UDP */
/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c1491 size_t expected_pkt_length = NET_IPV6H_LEN + NET_UDPH_LEN + 1600U; in udp_data_received()
1492 uint16_t expected_udp_length = htons(1600U + NET_UDPH_LEN); in udp_data_received()
1523 net_pkt_read(pkt, verify_buf, NET_UDPH_LEN); in udp_data_received()
1534 i = NET_IPV6H_LEN + NET_UDPH_LEN; in udp_data_received()
/Zephyr-latest/tests/net/ieee802154/6lo_fragment/src/
Dmain.c260 len = NET_UDPH_LEN + remaining; in create_pkt()
/Zephyr-latest/subsys/net/ip/
Dnet_pkt.c85 #define MAX_NEXT_PROTO_LEN NET_UDPH_LEN
1143 hdr_len += NET_UDPH_LEN;
D6lo.c757 inline_pos += NET_UDPH_LEN; in compress_IPHC_header()
/Zephyr-latest/tests/net/6lo/src/
Dmain.c505 len = NET_UDPH_LEN + remaining; in create_pkt()
/Zephyr-latest/drivers/modem/
Dwncm14a2a.c474 hdr_len += NET_UDPH_LEN; in pkt_setup_ip_data()
Dhl7800.c1621 hdr_len += NET_UDPH_LEN; in pkt_setup_ip_data()