43 lines
834 B
C++
43 lines
834 B
C++
|
|
/*
|
||
|
|
**********************************************************************************************
|
||
|
|
* 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) {
|
||
|
|
|
||
|
|
}
|