Lines Matching +full:bridge +full:- +full:enable
20 struct hostapd_bss_config *conf = hapd->conf;
22 if (!conf->isolate) {
25 return -1;
28 if (conf->bridge[0] == '\0') {
30 "x_snoop: Bridge must be configured for x_snoop");
31 return -1;
34 hapd->x_snoop_initialized = true;
39 "x_snoop: Failed to enable hairpin_mode on the bridge port");
40 return -1;
45 "x_snoop: Failed to enable proxyarp on the bridge port");
46 return -1;
52 "x_snoop: Failed to enable accepting gratuitous ARP on the bridge");
53 return -1;
59 "x_snoop: Failed to enable multicast snooping on the bridge");
60 return -1;
74 struct hostapd_bss_config *conf = hapd->conf;
77 l2 = l2_packet_init(conf->bridge, NULL, ETH_P_ALL, handler, hapd, 1);
108 wpa_printf(MSG_EXCESSIVE, "x_snoop: Multicast-to-unicast conversion "
109 MACSTR " -> " MACSTR " (len %u)",
110 MAC2STR(dst_addr), MAC2STR(sta->addr), (unsigned int) len);
115 os_memcpy(buf, sta->addr, ETH_ALEN);
116 res = l2_packet_send(hapd->sock_dhcp, NULL, 0, buf, len);
120 MACSTR, MAC2STR(sta->addr));
130 if (!hapd->x_snoop_initialized)
135 hapd->x_snoop_initialized = false;