Home | History | Annotate | Download | only in ap

Lines Matching refs:piface

44 	struct rsn_preauth_interface *piface = ctx;
45 struct hostapd_data *hapd = piface->hapd;
51 "from interface '%s'", piface->ifname);
91 sta->preauth_iface = piface;
99 struct rsn_preauth_interface *piface;
103 piface = os_zalloc(sizeof(*piface));
104 if (piface == NULL)
106 piface->hapd = hapd;
108 piface->ifname = os_strdup(ifname);
109 if (piface->ifname == NULL) {
113 piface->l2 = l2_packet_init(piface->ifname, NULL, ETH_P_PREAUTH,
114 rsn_preauth_receive, piface, 1);
115 if (piface->l2 == NULL) {
121 piface->next = hapd->preauth_iface;
122 hapd->preauth_iface = piface;
126 os_free(piface->ifname);
128 os_free(piface);
135 struct rsn_preauth_interface *piface, *prev;
137 piface = hapd->preauth_iface;
139 while (piface) {
140 prev = piface;
141 piface = piface->next;
234 struct rsn_preauth_interface *piface;
237 piface = hapd->preauth_iface;
238 while (piface) {
239 if (piface == sta->preauth_iface)
241 piface = piface->next;
244 if (piface == NULL) {
259 if (l2_packet_send(piface->l2, sta->addr, ETH_P_PREAUTH, (u8 *) ethhdr,