Searched refs:NET_UDPH_LEN (Results 1 – 10 of 10) sorted by relevance
306 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()
292 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()
646 #define NET_UDPH_LEN 8 /* Size of UDP header */ macro652 #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 */
1491 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()
260 len = NET_UDPH_LEN + remaining; in create_pkt()
85 #define MAX_NEXT_PROTO_LEN NET_UDPH_LEN1143 hdr_len += NET_UDPH_LEN;
757 inline_pos += NET_UDPH_LEN; in compress_IPHC_header()
505 len = NET_UDPH_LEN + remaining; in create_pkt()
474 hdr_len += NET_UDPH_LEN; in pkt_setup_ip_data()
1621 hdr_len += NET_UDPH_LEN; in pkt_setup_ip_data()