Home
last modified time | relevance | path

Searched refs:ctrl_sock (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/bhyve/
H A Dnet_backend_netgraph.c58 int ctrl_sock; in ng_init() local
96 &ctrl_sock, &be->fd) < 0) { in ng_init()
101 if (NgSendMsg(ctrl_sock, ".", in ng_init()
105 close(ctrl_sock); in ng_init()
109 close(ctrl_sock); in ng_init()
/freebsd/contrib/wpa/hostapd/
H A Dctrl_iface.c4729 if (hapd->ctrl_sock > -1) { in hostapd_ctrl_iface_init()
4748 hapd->ctrl_sock = -1; in hostapd_ctrl_iface_init()
4771 hapd->ctrl_sock = socket(res->ai_family, res->ai_socktype, in hostapd_ctrl_iface_init()
4773 if (hapd->ctrl_sock < 0) { in hostapd_ctrl_iface_init()
4778 if (bind(hapd->ctrl_sock, res->ai_addr, res->ai_addrlen) < 0) { in hostapd_ctrl_iface_init()
4797 if (eloop_register_read_sock(hapd->ctrl_sock, in hostapd_ctrl_iface_init()
4810 if (hapd->ctrl_sock >= 0) in hostapd_ctrl_iface_init()
4811 close(hapd->ctrl_sock); in hostapd_ctrl_iface_init()
4818 if (hapd->ctrl_sock > -1) { in hostapd_ctrl_iface_init()
4945 hapd->ctrl_sock = s; in hostapd_ctrl_iface_init()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dhostapd.h223 int ctrl_sock; member
H A Dhostapd.c2901 hapd->ctrl_sock = -1; in hostapd_alloc_bss_data()