[PAKCET_IO] framework intermediate state
This commit is contained in:
43
src/packet_io/pcap_file_mode/pio_pcap_file.cpp
Normal file
43
src/packet_io/pcap_file_mode/pio_pcap_file.cpp
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
**********************************************************************************************
|
||||
* File: pcap_file.cpp
|
||||
* Description: pcap file runmode api
|
||||
* Authors: Liu WenTan <liuwentan@geedgenetworks.com>
|
||||
* Date: 2022-07-15
|
||||
* Copyright: (c) 2018-2022 Geedge Networks, Inc. All rights reserved.
|
||||
***********************************************************************************************
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "pio_pcap_file.h"
|
||||
|
||||
int pio_pcap_file_device_open(const void *init_data) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int pio_pcap_file_device_close(const void *init_data) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int pio_pcap_file_device_receive(struct packet_io_device *pdev, uint32_t rxq_id, struct packet *p[], int nr_p) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int pio_pcap_file_device_send(struct packet_io_device *pdev, uint32_t txq_id, struct packet *p[], int nr_p) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int pio_pcap_file_instance_create(struct packet_io_instance *pinst, int worker_thread_num) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void pio_pcap_file_instance_destroy(void) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user