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

18 lines
348 B
C
Raw Normal View History

2024-07-01 15:51:36 +08:00
#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
#include "stellar/packet.h"
2024-08-28 19:00:32 +08:00
int packet_dump_pcap(const struct packet *pkt, const char *file);
void packet_dump_hex(const struct packet *pkt, int fd);
2024-08-13 10:24:26 +08:00
int packet_dump_str(const struct packet *pkt, char *buff, int size);
void packet_print(const struct packet *pkt);
2024-07-01 15:51:36 +08:00
#ifdef __cplusplus
}
#endif