EtherLib/prefab/conn_blocks/arp_connblock.h

19 lines
541 B
C

#ifndef ETHERLIB_TEST_ARP_CONNBLOCK_H
#define ETHERLIB_TEST_ARP_CONNBLOCK_H
#endif //ETHERLIB_TEST_ARP_CONNBLOCK_H
#include <stdint.h>
#include "../../connection_block.h"
#include "../../eth_interface.h"
#include "../packet_parsers/arp_packet.h"
/**
* Create new ARP connection block.
* @param intf associated Ethernet interface
* @param cbFn callback function
* @return ARP connection block
*/
ConnBlock arp_new_connblock(EthInterface * intf, SieveCallBackFn cb);
void arp_send(const ConnBlock * connBlock, const ArpProps * props);