EtherLib/pckt_assembler.h
Wiesner András 05288d7a3c - ARP cache auto lookup feature added
- IGMPv2 capabilities added (report membership, leave group)
- ICMP capabilities added (ping)
- Tx Message Queue added
2023-01-14 14:24:56 +01:00

19 lines
392 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, const Pckt *cooked);
#endif //ETHERLIB_TEST_PCKT_ASSEMBLER_H