Lines Matching defs:piface
50 struct rsn_preauth_interface *piface = ctx;
51 struct hostapd_data *hapd = piface->hapd;
57 "from interface '%s'", piface->ifname);
97 sta->preauth_iface = piface;
105 struct rsn_preauth_interface *piface;
109 piface = os_zalloc(sizeof(*piface));
110 if (piface == NULL)
112 piface->hapd = hapd;
114 piface->ifname = os_strdup(ifname);
115 if (piface->ifname == NULL) {
119 piface->l2 = l2_packet_init(piface->ifname, NULL, ETH_P_PREAUTH,
120 rsn_preauth_receive, piface, 1);
121 if (piface->l2 == NULL) {
127 piface->next = hapd->preauth_iface;
128 hapd->preauth_iface = piface;
132 os_free(piface->ifname);
134 os_free(piface);
141 struct rsn_preauth_interface *piface, *prev;
143 piface = hapd->preauth_iface;
145 while (piface) {
146 prev = piface;
147 piface = piface->next;
240 struct rsn_preauth_interface *piface;
243 piface = hapd->preauth_iface;
244 while (piface) {
245 if (piface == sta->preauth_iface)
247 piface = piface->next;
250 if (piface == NULL) {
265 if (l2_packet_send(piface->l2, sta->addr, ETH_P_PREAUTH, (u8 *) ethhdr,