mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-08-28 18:29:08 +00:00
18 lines
442 B
C
18 lines
442 B
C
#ifndef __PCAPIF_HELPER_H__
|
|
#define __PCAPIF_HELPER_H__
|
|
|
|
|
|
struct pcapifh_linkstate;
|
|
|
|
enum pcapifh_link_event {
|
|
PCAPIF_LINKEVENT_UNKNOWN,
|
|
PCAPIF_LINKEVENT_UP,
|
|
PCAPIF_LINKEVENT_DOWN
|
|
};
|
|
|
|
struct pcapifh_linkstate* pcapifh_linkstate_init(const char *adapter_name);
|
|
enum pcapif_link_event pcapifh_linkstate_get(struct pcapifh_linkstate* state);
|
|
void pcapifh_linkstate_close(struct pcapifh_linkstate* state);
|
|
|
|
|
|
#endif /* __PCAPIF_HELPER_H__ */ |