|
EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of the protobuf encoder utilities. More...
#include "../header_middleware/packet_decoder.h"Go to the source code of this file.
Functions | |
| ssize_t | encode_protobuf_packet (struct tuple_packet *tp, uint8_t **buffer) |
| Encodes the packet into a protobuf message. More... | |
| ssize_t | encode_protobuf_sync_wrapper (struct tuple_packet *tp, uint8_t **buffer) |
| Encodes the packet into a wrapper protobuf message. More... | |
File containing the definition of the protobuf encoder utilities.
| ssize_t encode_protobuf_packet | ( | struct tuple_packet * | tp, |
| uint8_t ** | buffer | ||
| ) |
Encodes the packet into a protobuf message.
| [in] | tp | The packet |
| [out] | buffer | The encoded protobuf packet |
| ssize_t encode_protobuf_sync_wrapper | ( | struct tuple_packet * | tp, |
| uint8_t ** | buffer | ||
| ) |
Encodes the packet into a wrapper protobuf message.
| [in] | tp | The packet |
| [out] | buffer | The encoded wrapper protobuf packet |