VLCB SDK
An opinionated SDK for VLCB protocol
Loading...
Searching...
No Matches
datagram.c File Reference
#include "vlcb/net/packet/datagram.h"
#include <assert.h>
#include <stdbool.h>
Include dependency graph for packet/datagram.c:

Go to the source code of this file.

Functions

vlcb_error vlcb_net_pkt_dgram_ConstructErrToStr (VlcbNetPacketDatagramConstructErr err)
 
VlcbNetPacketDatagramConstructErr vlcb_net_pkt_dgram_NewUnchecked (VlcbOpCode opc, uint8_t payload_len, const VlcbNetDatagramPayload *const payload, VlcbNetPacketDatagram *const packet)
 
VlcbNetPacketDatagramConstructErr vlcb_net_pkt_dgram_New (VlcbOpCode opc, uint8_t payload_len, const VlcbNetDatagramPayload *const payload, VlcbNetPacketDatagram *const packet)
 

Function Documentation

◆ vlcb_net_pkt_dgram_ConstructErrToStr()

vlcb_error vlcb_net_pkt_dgram_ConstructErrToStr ( VlcbNetPacketDatagramConstructErr err)

Definition at line 7 of file packet/datagram.c.

◆ vlcb_net_pkt_dgram_New()

VlcbNetPacketDatagramConstructErr vlcb_net_pkt_dgram_New ( VlcbOpCode opc,
uint8_t payload_len,
const VlcbNetDatagramPayload *const payload,
VlcbNetPacketDatagram *const packet )

Definition at line 26 of file packet/datagram.c.

Here is the caller graph for this function:

◆ vlcb_net_pkt_dgram_NewUnchecked()

VlcbNetPacketDatagramConstructErr vlcb_net_pkt_dgram_NewUnchecked ( VlcbOpCode opc,
uint8_t payload_len,
const VlcbNetDatagramPayload *const payload,
VlcbNetPacketDatagram *const packet )

Definition at line 21 of file packet/datagram.c.