mirror of
https://github.com/martin-ger/esp_wifi_repeater.git
synced 2026-07-27 19:56:03 +00:00
16 lines
455 B
C
16 lines
455 B
C
#ifndef _BRIDGE_H_
|
|
#define _BRIDGE_H_
|
|
|
|
#ifdef REPEATER_MODE
|
|
|
|
#include "lwip/netif.h"
|
|
|
|
/* Called once from user_main.c EVENT_STAMODE_GOT_IP when both netifs are ready.
|
|
Installs input hooks on both netifs, saves linkoutput pointers for forwarding,
|
|
and locks the AP channel to the current STA channel. */
|
|
void bridge_init(struct netif *sta_netif, struct netif *ap_netif);
|
|
void bridge_show_fdb(void);
|
|
|
|
#endif /* REPEATER_MODE */
|
|
#endif /* _BRIDGE_H_ */
|