Triggered by the eth_injector object when all contents of the pcap file has been sent. The callback function will have the pcap file name, next packet index, total number of packets in the pcap file, and auto-restart as arguments.
Callback Type
void (*)(lang_void *callback_data,
conf_object_t *trigger_obj, char *pcap_file,
int num_injected, int pcap_num_pkgs,
int auto_restart);