1
9
10
11
12
13
14
15
16
17
21
26
27
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* ... */
#pragma once
#include "esp_eth_driver.h"
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
typedef enum {
SNIFFER_INTF_UNKNOWN = 0,
SNIFFER_INTF_WLAN,
SNIFFER_INTF_ETH,
}{ ... } sniffer_intf_t;
/* ... */
typedef enum {
SNIFFER_WLAN_FILTER_MGMT = 0,
SNIFFER_WLAN_FILTER_CTRL,
SNIFFER_WLAN_FILTER_DATA,
SNIFFER_WLAN_FILTER_MISC,
SNIFFER_WLAN_FILTER_MPDU,
SNIFFER_WLAN_FILTER_AMPDU,
SNIFFER_WLAN_FILTER_FCSFAIL,
SNIFFER_WLAN_FILTER_MAX
}{ ... } sniffer_wlan_filter_t;
void register_sniffer_cmd(void);
esp_err_t sniffer_reg_eth_intf(esp_eth_handle_t eth_handle);
#ifdef __cplusplus
}{...}
#endif