EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of the protobuf middleware utilities. More...
#include "../../middleware.h"
Go to the source code of this file.
Functions | |
int | pipe_protobuf_tuple_packet (const char *path, int *fd, struct tuple_packet *p) |
pipe the serialised protobuf tuple packets More... | |
int | pipe_protobuf_packets (const char *path, int *fd, UT_array *packets) |
pipe the serialised protobuf packets More... | |
Variables | |
struct capture_middleware | protobuf_middleware |
protobuf Capture Middleware. The protobuf capture middleware generates protobuf messages from caprtured traffic. More... | |
File containing the definition of the protobuf middleware utilities.
int pipe_protobuf_packets | ( | const char * | path, |
int * | fd, | ||
UT_array * | packets | ||
) |
pipe the serialised protobuf packets
path[in] | The pipe file path |
fd[in] | The pipe file descriptor |
packets[in] | The array of packets |
int pipe_protobuf_tuple_packet | ( | const char * | path, |
int * | fd, | ||
struct tuple_packet * | p | ||
) |
pipe the serialised protobuf tuple packets
path[in] | The pipe file path |
fd[in,out] | The pipe file descriptor. If 0 , this will be set to a new fd pointing to path . |
p[in] | The tuple packet |
|
extern |
protobuf Capture Middleware. The protobuf capture middleware generates protobuf messages from caprtured traffic.