Lines Matching full:header
37 * @brief Get UDP packet header data from net_pkt.
39 * @details The values in the returned header are in network byte order.
40 * Note that you must access the UDP header values by the returned pointer,
41 * the hdr parameter is just a placeholder for the header data and it might
42 * not contain anything if the header fits properly in the first fragment of
46 * @param hdr Where to place the header if it does not fit in first fragment
47 * of the network packet. This might not be populated if UDP header fits in
50 * @return Return pointer to header or NULL if something went wrong.
51 * Always use the returned pointer to access the UDP header.
65 * @brief Set UDP packet header data in net_pkt.
67 * @details The values in the header must be in network byte order.
70 * net_udp_get_hdr() call. Note that if the UDP header fits in first net_pkt
75 * @param hdr Header data pointer that was returned by net_udp_get_hdr().
77 * @return Return pointer to header or NULL if something went wrong.