summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-18 23:43:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-18 23:43:37 +0000
commitc7ab6d5296b90e66f4651a6aa890c22a5cbe66fc (patch)
tree62e4e6d9b99478dfd84d15cdb570f4e477daaa05 /etc/inc/interfaces.inc
parenta2c165121e8a412809c3a427afed194dcc91d6eb (diff)
downloadpfsense-c7ab6d5296b90e66f4651a6aa890c22a5cbe66fc.zip
pfsense-c7ab6d5296b90e66f4651a6aa890c22a5cbe66fc.tar.gz
Move is_jumbo_capable to pfsense-utils
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc25
1 files changed, 0 insertions, 25 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a9b3696..4d63018 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1195,31 +1195,6 @@ function get_current_wan_address() {
}
}
-/****f* interfaces/is_jumbo_capable
- * NAME
- * is_jumbo_capable - Test if interface is jumbo frame capable. Useful for determining VLAN capability.
- * INPUTS
- * $int - string containing interface name
- * RESULT
- * boolean - true or false
- ******/
-
-function is_jumbo_capable($int) {
- /* Per:
- * http://www.freebsd.org/cgi/man.cgi?query=vlan&manpath=FreeBSD+6.0-current&format=html
- * Only the following drivers support large frames
- */
- $capable = array("bfe", "dc", "de", "fxp", "hme", "rl", "sis", "ste",
- "tl", "tx", "xl", "em");
-
- $int_family = preg_split("/[0-9]+/", $int);
-
- if (in_array($int_family[0], $capable))
- return true;
- else
- return false;
-}
-
/****f* interfaces/is_altq_capable
* NAME
* is_altq_capable - Test if interface is capable of using ALTQ
OpenPOWER on IntegriCloud