1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-27 13:21:11 +03:00

First lines of experimental pcap output support

This will serve to debug packets right under wireshark !
This commit is contained in:
Aris Adamantiadis
2009-11-08 23:42:41 +01:00
parent 10f27457d3
commit 10b625e180
9 changed files with 396 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ struct ssh_buffer_struct {
int buffer_add_ssh_string(ssh_buffer buffer, ssh_string string);
int buffer_add_u8(ssh_buffer buffer, uint8_t data);
int buffer_add_u16(ssh_buffer buffer, uint16_t data);
int buffer_add_u32(ssh_buffer buffer, uint32_t data);
int buffer_add_u64(ssh_buffer buffer, uint64_t data);
int buffer_add_data(ssh_buffer buffer, const void *data, uint32_t len);