Lines Matching refs:matches
80 if (matches(*argv, "action") == 0) { in parse_egress()
82 } else if (matches(*argv, "egress") == 0) { in parse_egress()
88 if (matches(*argv, "index") == 0) { in parse_egress()
104 } else if (!mirror && matches(*argv, "mirror") == 0) { in parse_egress()
113 } else if (!redir && matches(*argv, "redirect") == 0) { in parse_egress()
122 } else if ((redir || mirror) && matches(*argv, "dev") == 0) { in parse_egress()
160 if (matches(*argv, "reclassify") == 0) { in parse_egress()
163 } else if (matches(*argv, "pipe") == 0) { in parse_egress()
166 } else if (matches(*argv, "drop") == 0 || in parse_egress()
167 matches(*argv, "shot") == 0) { in parse_egress()
170 } else if (matches(*argv, "continue") == 0) { in parse_egress()
173 } else if (matches(*argv, "pass") == 0) { in parse_egress()
181 if (iok && matches(*argv, "index") == 0) { in parse_egress()
185 if (matches(*argv, "index") == 0) { in parse_egress()
220 if (matches(*argv, "mirred") == 0) { in parse_mirred()
228 if (matches(*argv, "egress") == 0 || matches(*argv, "index") == 0) { in parse_mirred()
236 } else if (matches(*argv, "ingress") == 0) { in parse_mirred()
238 } else if (matches(*argv, "help") == 0) { in parse_mirred()