Home | History | Annotate | Download | only in radius

Lines Matching refs:tun

1176 	struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun;
1192 tun = &tunnel[0];
1194 tun = &tunnel[data[0]];
1200 tun->tag_used++;
1201 tun->type = WPA_GET_BE24(data + 1);
1206 tun->tag_used++;
1207 tun->medium_type = WPA_GET_BE24(data + 1);
1218 tun->tag_used++;
1219 tun->vlanid = atoi(buf);
1225 tun = &tunnel[i];
1226 if (tun->tag_used &&
1227 tun->type == RADIUS_TUNNEL_TYPE_VLAN &&
1228 tun->medium_type == RADIUS_TUNNEL_MEDIUM_TYPE_802 &&
1229 tun->vlanid > 0)
1230 return tun->vlanid;