summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper_queues_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-11 16:50:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-11 16:50:00 +0000
commit800e5d8eea43a14c7bda3e5b8602de2c85a3b166 (patch)
tree785a805a13f1a4e9aec89041423942bcd69fc0af /usr/local/www/firewall_shaper_queues_edit.php
parent7a3ec8606d35928e365f3f5e985569d13b6f7037 (diff)
downloadpfsense-800e5d8eea43a14c7bda3e5b8602de2c85a3b166.zip
pfsense-800e5d8eea43a14c7bda3e5b8602de2c85a3b166.tar.gz
Add needed options for HFSC/CBQ screens.
Diffstat (limited to 'usr/local/www/firewall_shaper_queues_edit.php')
-rwxr-xr-xusr/local/www/firewall_shaper_queues_edit.php33
1 files changed, 25 insertions, 8 deletions
diff --git a/usr/local/www/firewall_shaper_queues_edit.php b/usr/local/www/firewall_shaper_queues_edit.php
index 5d5f1e6..a810072 100755
--- a/usr/local/www/firewall_shaper_queues_edit.php
+++ b/usr/local/www/firewall_shaper_queues_edit.php
@@ -161,30 +161,47 @@ if ($_POST) {
<br> <span class="vexpl">Select which type of queueing you would like to use
</span></td>
</tr>
-
-
-
-
<tr>
<td width="22%" valign="top" class="vncell">Scheduler options</td>
<td width="78%" class="vtable">
<?php
$red = strpos($pconfig['options'], "red");
$ecn = strpos($pconfig['options'], "ecn");
+ $upperlimit = strpos($pconfig['options'], "upperlimit");
+ $realtime = strpos($pconfig['options'], "realtime");
+ $parentqueue = strpos($pconfig['options'], "parentqueue");
+ $linkshare = strpos($pconfig['options'], "linkshare");
$default = strpos($pconfig['options'], "default");
?>
+ <input type=checkbox name="default" <?php if($default) echo " CHECKED";?> > Default (Classed based queueing only)<br>
+ <input type=checkbox name="parentqueue" <?php if($parentqueue) echo " CHECKED";?> > This is a parent queue of HFSC/CBQ<br>
<input type=checkbox name="red" <?php if($red) echo " CHECKED";?> > Random Early Detection<br>
<input type=checkbox name="ecn" <?php if($ecn) echo " CHECKED";?> > Explicit Congestion Notification<br>
- <input type=checkbox name="default" <?php if($default) echo " CHECKED";?> > Default (Classed based queueing only)<br>
+ <input type=checkbox name="upperlimit" <?php if($upperlimit) echo " CHECKED";?> > Upperlimit: <input size="3" name="upperlimit1"> <input size="3" name="upperlimit2"> <input size="3" name="upperlimit3"> <br>
+ <input type=checkbox name="realtime" <?php if($realtime) echo " CHECKED";?> > Real time: <input size="3" name="realtime1"> <input size="3" name="realtime2"> <input size="3" name="realtime3"><br>
+ <input type=checkbox name="linkshare" <?php if($linkshare) echo " CHECKED";?> > Link share: <input size="3" name="linkshare1"> <input size="3" name="linkshare2"> <input size="3" name="linkshare3"><br>
<br> <span class="vexpl">Select options for this queue
</span></td>
</tr>
+ <tr>
+ <td width="22%" valign="top" class="vncell">Parent queue (CBQ or HFSC only):</td>
+ <td width="78%" class="vtable">
+ <select name="childqueue">
+ <?php
+ if (is_array($config['pfqueueing']['queue'])) {
+ foreach ($config['pfqueueing']['queue'] as $queue) {
+ if(is_subqueue($queue['name']) == 0)
+ echo "<option value=\"" . $queue['name'] . "\">" . $queue['name'] . "</option>";
+ }
+ }
+ ?>
+ </select>
+ </td>
+ </tr>
- <!-- XXX: add javascript to show/hide queueing options such as low bandwidth (hfsc, cbq) -->
-
+ <!-- XXX: add javascript to show/hide queueing options such as low bandwidth (hfsc, cbq) -->
-
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%"> <input name="Submit" type="submit" class="formbtn" value="Save">
OpenPOWER on IntegriCloud