Lines Matching full:argv
46 char **argv = *argvp;
54 char *colon = strchr(*argv, ':');
60 if (get_u32(&m.from, *argv, 0))
64 argc--, argv++;
72 *argvp = argv;
76 static int vlan_parse_opt(struct link_util *lu, int argc, char **argv,
83 if (matches(*argv, "id") == 0) {
85 if (get_u16(&id, *argv, 0))
86 invarg("id is invalid", *argv);
88 } else if (matches(*argv, "reorder_hdr") == 0) {
91 if (strcmp(*argv, "on") == 0)
93 else if (strcmp(*argv, "off") == 0)
97 } else if (matches(*argv, "gvrp") == 0) {
100 if (strcmp(*argv, "on") == 0)
102 else if (strcmp(*argv, "off") == 0)
106 } else if (matches(*argv, "loose_binding") == 0) {
109 if (strcmp(*argv, "on") == 0)
111 else if (strcmp(*argv, "off") == 0)
115 } else if (matches(*argv, "ingress-qos-map") == 0) {
117 if (vlan_parse_qos_map(&argc, &argv, n,
119 invarg("invalid ingress-qos-map", *argv);
121 } else if (matches(*argv, "egress-qos-map") == 0) {
123 if (vlan_parse_qos_map(&argc, &argv, n,
125 invarg("invalid egress-qos-map", *argv);
127 } else if (matches(*argv, "help") == 0) {
131 fprintf(stderr, "vlan: what is \"%s\"?\n", *argv);
135 argc--, argv++;