Home | History | Annotate | Download | only in radius

Lines Matching refs:tun

1218 	struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun;
1234 tun = &tunnel[0];
1236 tun = &tunnel[data[0]];
1242 tun->tag_used++;
1243 tun->type = WPA_GET_BE24(data + 1);
1248 tun->tag_used++;
1249 tun->medium_type = WPA_GET_BE24(data + 1);
1260 tun->tag_used++;
1261 tun->vlanid = atoi(buf);
1267 tun = &tunnel[i];
1268 if (tun->tag_used &&
1269 tun->type == RADIUS_TUNNEL_TYPE_VLAN &&
1270 tun->medium_type == RADIUS_TUNNEL_MEDIUM_TYPE_802 &&
1271 tun->vlanid > 0)
1272 return tun->vlanid;