std :: net::udp
#include <std/net/udp.h> source ยท definition
#include <std/net/udp.h>
int udp_parse(&PacketBuf pkt, unsigned long offset, &UdpHdr hdr_out)
Parse UDP header from pkt at byte offset offset. Returns 0 on success, -1 on truncation.
offset