[ADD] packet_io framework
This commit is contained in:
43
src/packet_io/pcap_file_mode/pcap_file.cpp
Normal file
43
src/packet_io/pcap_file_mode/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 "pcap_file.h"
|
||||
|
||||
int pcap_file_device_init(const void *init_data) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int pcap_file_device_fini(const void *init_data) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int pcap_file_device_receive(void *data) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int pcap_file_device_send(void *data) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int pcap_file_instance_create(struct packet_io_instance *pinst) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void pcap_file_instance_destroy(void) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user