Home | History | Annotate | Download | only in ifconfig

Lines Matching defs:vlan

1 /*	$NetBSD: vlan.c,v 1.16 2021/06/21 03:14:40 christos Exp $	*/
34 __RCSID("$NetBSD: vlan.c,v 1.16 2021/06/21 03:14:40 christos Exp $");
66 struct pinteger vlantag = PINTEGER_INITIALIZER1(&vlantag, "VLAN tag",
73 {.k_word = "vlan", .k_nextparser = &vlantag.pi_parser}
80 struct pkw vlan = PKW_INITIALIZER(&vlan, "vlan", NULL, NULL,
91 return strncmp(ifname, "vlan", 4) != 0 ||
103 errx(EXIT_FAILURE, "valid only with vlan(4) interfaces");
178 fprintf(stderr, "\t[ vlan n vlanif i ] [ -vlanif i ]\n");
184 cmdloop_branch_init(&branch, &vlan.pk_parser);