[PACKET_IO] finish marsio mode
This commit is contained in:
@@ -17,7 +17,7 @@ int pio_pcap_file_device_open(struct packet_io_device *pdev, const char *path, u
|
||||
return 0;
|
||||
}
|
||||
|
||||
int pio_pcap_file_device_close(const void *init_data) {
|
||||
int pio_pcap_file_device_close(const struct packet_io_device *pdev) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -33,7 +33,7 @@ int pio_pcap_file_device_send(struct packet_io_device *pdev, uint32_t txq_id, st
|
||||
}
|
||||
|
||||
|
||||
int pio_pcap_file_instance_create(struct packet_io_instance *pinst, int worker_thread_num) {
|
||||
int pio_pcap_file_instance_create(struct packet_io_instance *pinst, int wrk_thread_num) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -39,12 +39,12 @@ int pio_pcap_file_device_open(struct packet_io_device *pdev, const char *path, u
|
||||
/*
|
||||
@brief close pcap_live device
|
||||
*/
|
||||
int pio_pcap_file_device_close(const void *init_data);
|
||||
int pio_pcap_file_device_close(const struct packet_io_device *pdev);
|
||||
|
||||
int pio_pcap_file_device_receive(struct packet_io_device *pdev, uint32_t rxq_id, struct packet *p[], int nr_p);
|
||||
|
||||
int pio_pcap_file_device_send(struct packet_io_device *pdev, uint32_t txq_id, struct packet *p[], int nr_p);
|
||||
|
||||
int pio_pcap_file_instance_create(struct packet_io_instance *pinst, int worker_thread_num);
|
||||
int pio_pcap_file_instance_create(struct packet_io_instance *pinst, int wrk_thread_num);
|
||||
|
||||
void pio_pcap_file_instance_destroy(void);
|
||||
Reference in New Issue
Block a user