diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2004-07-26 13:25:45 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2004-07-26 13:25:45 +0000 |
| commit | e82866fea62c12bccb1d5e4f7e53adfae572acca (patch) | |
| tree | 380d733d85d213c395d65ddf0f5a25f3ca274c5b /sbin | |
| parent | b2a1393ee2d6a30384bdd9518918fb6ecf4ce256 (diff) | |
Notes
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/ifconfig/ifconfig.8 | 13 | ||||
| -rw-r--r-- | sbin/ifconfig/ifconfig.c | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index a9c6a21db08e3..2812eb3394be1 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -450,6 +450,19 @@ This breaks the link between the .Xr vlan 4 interface and its parent, clears its VLAN tag, flags and its link address and shuts the interface down. +.It Cm vlanmtu , vlanhwtag +If the driver offers user-configurable VLAN support, enable +reception of extended frames or tag processing in hardware, +respectively. +Note that this must be issued on a physical interface associated with +.Xr vlan 4 , +not on a +.Xr vlan 4 +interface itself. +.It Fl vlanmtu , Fl vlanhwtag +If the driver offers user-configurable VLAN support, disable +reception of extended frames or tag processing in hardware, +respectively. .It Cm metric Ar n Set the routing metric of the interface to .Ar n , diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index b35ed9e9f0957..8070bfe776426 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -285,6 +285,10 @@ struct cmd { { "-netcons", -IFCAP_NETCONS, setifcap }, { "polling", IFCAP_POLLING, setifcap }, { "-polling", -IFCAP_POLLING, setifcap }, + { "vlanmtu", IFCAP_VLAN_MTU, setifcap }, + { "-vlanmtu", -IFCAP_VLAN_MTU, setifcap }, + { "vlanhwtag", IFCAP_VLAN_HWTAGGING, setifcap }, + { "-vlanhwtag", -IFCAP_VLAN_HWTAGGING, setifcap }, { "normal", -IFF_LINK0, setifflags }, { "compress", IFF_LINK0, setifflags }, { "noicmp", IFF_LINK1, setifflags }, |
