5 #include "libssh/libssh.h"
8 typedef struct ssh_pcap_context_struct* ssh_pcap_context;
10 int ssh_pcap_file_write_packet(ssh_pcap_file pcap, ssh_buffer packet, uint32_t original_len);
12 ssh_pcap_context ssh_pcap_context_new(ssh_session session);
13 void ssh_pcap_context_free(ssh_pcap_context ctx);
15 enum ssh_pcap_direction{
19 void ssh_pcap_context_set_file(ssh_pcap_context, ssh_pcap_file);
20 int ssh_pcap_context_write(ssh_pcap_context,
enum ssh_pcap_direction direction,
void *data,
21 uint32_t len, uint32_t origlen);