EtherLib/pckt_assembler.h
Wiesner András 8676a392e5 - TCP basic implementation added
- TCPWindow added
- Checksum bug fixed (again)
- CBD introduced
- ConnBlock modified
- PackSieve report funtionality modified to decrease memory consumption
2023-01-30 11:04:46 +01:00

19 lines
386 B
C

#ifndef ETHERLIB_TEST_PCKT_ASSEMBLER_H
#define ETHERLIB_TEST_PCKT_ASSEMBLER_H
#include "packet.h"
struct EthInterface_;
#define ETH_FRAME_MIN_SIZE (64)
/**
* Assemble packet.
* @param raw raw packet
* @param cooked packet information and headers
* @return 0 on success OR -1 on failure
*/
int pckt_assemble(RawPckt *raw, Pckt *cooked);
#endif //ETHERLIB_TEST_PCKT_ASSEMBLER_H