History log of /src/tests/net/if_vlan/
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
1.4 19-Aug-2021 yamaguchi

Make the test program run in background after doing BIOCPROMISC

t_vlan has rarely failed by checking IFF_PROMISC before the
test program do BIOCPROMISC. To solve this, BIOCPROMISC is
done in the foreground.

fixes PR/56357


1.3 09-Jul-2021 yamaguchi

added tests for IFF_PROMISC of vlan(4)


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
1.2 14-Jun-2018 yamaguchi

Add test cases for multicast address handling of vlan(4)

ok ozaki-r@


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107
1.1 26-Nov-2016 ozaki-r

branches: 1.1.2; 1.1.14;
Add basic tests for vlan(4)


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
1.2 19-Aug-2021 yamaguchi

Make the test program run in background after doing BIOCPROMISC

t_vlan has rarely failed by checking IFF_PROMISC before the
test program do BIOCPROMISC. To solve this, BIOCPROMISC is
done in the foreground.

fixes PR/56357


1.1 09-Jul-2021 yamaguchi

added tests for IFF_PROMISC of vlan(4)


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
1.3 19-Aug-2021 yamaguchi

Added description of license


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
1.2 13-Oct-2019 mrg

ifr_name is nul terminated. make it so.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
1.1 14-Jun-2018 yamaguchi

branches: 1.1.2; 1.1.4;
Add test cases for multicast address handling of vlan(4)

ok ozaki-r@


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
1.27 18-Mar-2025 ozaki-r

tests, vlan: add a test case for link state sync

A vlan interface synchronizes its link state with its parent's one.


1.26 18-Mar-2025 ozaki-r

tests: dedup t_vlan.sh like others (NFC)


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
1.25 02-Nov-2023 yamaguchi

branches: 1.25.2;
Added the test for vlan over l2tp


Revision tags: netbsd-10-base
1.24 19-Aug-2021 yamaguchi

branches: 1.24.2;
Make the test program run in background after doing BIOCPROMISC

t_vlan has rarely failed by checking IFF_PROMISC before the
test program do BIOCPROMISC. To solve this, BIOCPROMISC is
done in the foreground.

fixes PR/56357


1.23 14-Jul-2021 yamaguchi

vlan: Added missing $HIJACKING before brconfig


1.22 14-Jul-2021 yamaguchi

Added tests for adding vlan(4) to a bridge and deleting from it

- add vlan(4) that has no parent interface to a bridge member
- the vlan(4) cannot be added to a bridge member
- detach the parent interface of vlan(4) that is in a bridge member
- vlan(4) is deleted from a bridge member at the detaching


1.21 14-Jul-2021 yamaguchi

Added a test about clearing IFF_PROMISC at vlan_unconfig

This test is related to PR/49196


1.20 09-Jul-2021 yamaguchi

added tests for IFF_PROMISC of vlan(4)


1.19 06-Jul-2021 yamaguchi

vlan: added checks of linkstate


1.18 02-Jul-2021 yamaguchi

Added tests for changing a MTU when the vlan(4) is added to bridge(4)

The tests is for PR kern/56292


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
1.17 08-Mar-2020 nisimura

address to ATF t_vlan failure. adapt ifmcstat(8) output format change.


Revision tags: is-mlppp-base phil-wifi-20191119
1.16 11-Nov-2019 yamaguchi

atf: add test cases for MTU that is increased on SIOCSETVLAN

From t-kusaba@IIJ, thanks


Revision tags: netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
1.15 11-Dec-2018 ozaki-r

branches: 1.15.2;
tests: add missing $af


1.14 07-Dec-2018 ozaki-r

tests: check error messages strictly


1.13 07-Dec-2018 ozaki-r

tests: reduce repeated phrases... (NFC)


Revision tags: pgoyette-compat-1126
1.12 14-Nov-2018 knakahara

let ATF detect a bug fixed by if_vla.c:r1.132.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
1.11 14-Jun-2018 yamaguchi

branches: 1.11.2;
Update the error message in t_vlan (ENXIO => EINVAL)

ok ozaki-r@


1.10 14-Jun-2018 yamaguchi

Add test cases for multicast address handling of vlan(4)

ok ozaki-r@


1.9 12-Jun-2018 ozaki-r

Add tests of vlan with bridge

The tests trigger a panic reported in PR kern/53357.


Revision tags: pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
1.8 01-Feb-2018 ozaki-r

branches: 1.8.2;
Commonalize and add tests of creating/destroying interfaces


1.7 23-Nov-2017 kre

Since there was already a test to verify that vlan tag 4096 is
detected as invalid, become the "someone" referred to in the
previous commit log, and add tests for 0 and 4095 as well, and
while here, throw in a few more that might elicit bugs.

And if the shell running the tests is able, add tests of a few
random vlan tags between 2 and 4093 (1 and 4094 are always tested)
to check that anything in range works (well, partially check...)


1.6 23-Nov-2017 kre

Don't attempt to test vlan tags 0 or 4095, which are now rejected
as invalid (perhaps someone could add a test to verify that they
continue to be rejected?)


1.5 16-Nov-2017 msaitoh

Add test case of vlan(4)'s re-configure without destroy
(see also if_vlan.c rev. 1.104). Written by s-yamaguchi@iij.


1.4 11-Oct-2017 msaitoh

Add a test case for duplicated VLAN ID.


1.3 09-Aug-2017 knakahara

Add counter check to vlan(4) ATF. Implemented by s-yamaguchi@IIJ, thanks.


Revision tags: perseant-stdc-iso10646-base
1.2 14-Jun-2017 ozaki-r

Add test cases for vlan(4)

From s-yamaguchi@IIJ


Revision tags: matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107
1.1 26-Nov-2016 ozaki-r

branches: 1.1.2; 1.1.8;
Add basic tests for vlan(4)