1 /*
2  * Hostapd / Zephyr socket pair -based control interface
3  * Copyright (c) 2022, Jouni Malinen <j@w1.fi>
4  * Copyright (c) 2024, NXP
5  *
6  * This software may be distributed under the terms of the BSD license.
7  * See README for more details.
8  */
9 /* Per-interface ctrl_iface */
10 
11 #include "utils/includes.h"
12 
13 #include "utils/common.h"
14 #include "eloop.h"
15 #include "config.h"
16 #include "eapol_supp/eapol_supp_sm.h"
17 #include "hostapd.h"
18 #include "ctrl_iface.h"
19 #include "common/wpa_ctrl.h"
20 
21 #define MAX_CTRL_MSG_LEN 1024
22 
23 struct conn_msg {
24 	int msg_len;
25 	char msg[MAX_CTRL_MSG_LEN];
26 };
27 
28 void hostapd_ctrl_iface_receive(int sock, void *eloop_ctx, void *sock_ctx);
29