-PcktSieve special return functionality added -ARP multicast learning bug fixed -include guards have been refactored -Doxygen style tweaked
19 lines
371 B
C
19 lines
371 B
C
#ifndef ETHERLIB_PCKT_ASSEMBLER_H
|
|
#define ETHERLIB_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_PCKT_ASSEMBLER_H
|