This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
stellar-stellar-2022/src/packet_io/pcap_file_mode/pcap_file.cpp

43 lines
834 B
C++
Raw Normal View History

2022-07-26 15:05:14 +08:00
/*
**********************************************************************************************
* 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) {
}