This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
stellar-stellar/infra/packet_manager/packet_dump.h
2024-10-21 10:49:41 +08:00

18 lines
348 B
C

#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
#include "stellar/packet.h"
int packet_dump_pcap(const struct packet *pkt, const char *file);
void packet_dump_hex(const struct packet *pkt, int fd);
int packet_dump_str(const struct packet *pkt, char *buff, int size);
void packet_print(const struct packet *pkt);
#ifdef __cplusplus
}
#endif