lwip/contrib/ports/win32/pcapif_helper.h
Dirk Ziegelmeier ac46e42aa2 Import lwIP contrib rep
... from http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git/ into contrib/ subdir, STABLE-2_1_0_RELEASE tag
lwIP contrib is now officially frozen
TODO: Fix build
2018-10-02 12:19:13 +02:00

25 lines
508 B
C

#ifndef LWIP_PCAPIF_HELPER_H
#define LWIP_PCAPIF_HELPER_H
#ifdef __cplusplus
extern "C" {
#endif
struct pcapifh_linkstate;
enum pcapifh_link_event {
PCAPIF_LINKEVENT_UNKNOWN,
PCAPIF_LINKEVENT_UP,
PCAPIF_LINKEVENT_DOWN
};
struct pcapifh_linkstate* pcapifh_linkstate_init(char *adapter_name);
enum pcapifh_link_event pcapifh_linkstate_get(struct pcapifh_linkstate* state);
void pcapifh_linkstate_close(struct pcapifh_linkstate* state);
#ifdef __cplusplus
}
#endif
#endif /* LWIP_PCAPIF_HELPER_H */