Lines Matching refs:matches
116 if (matches(*argv, "mode") == 0) { in parse_args()
118 if (matches(*argv, "tun") == 0) { in parse_args()
124 } else if (matches(*argv, "tap") == 0) { in parse_args()
134 } else if (uid && matches(*argv, "user") == 0) { in parse_args()
149 } else if (gid && matches(*argv, "group") == 0) { in parse_args()
165 } else if (matches(*argv, "pi") == 0) { in parse_args()
167 } else if (matches(*argv, "one_queue") == 0) { in parse_args()
169 } else if (matches(*argv, "vnet_hdr") == 0) { in parse_args()
171 } else if (matches(*argv, "dev") == 0) { in parse_args()
175 if (matches(*argv, "name") == 0) { in parse_args()
177 } else if (matches(*argv, "help") == 0) in parse_args()
307 if (matches(*argv, "add") == 0) in do_iptuntap()
309 if (matches(*argv, "del") == 0) in do_iptuntap()
311 if (matches(*argv, "show") == 0 || in do_iptuntap()
312 matches(*argv, "lst") == 0 || in do_iptuntap()
313 matches(*argv, "list") == 0) in do_iptuntap()
315 if (matches(*argv, "help") == 0) in do_iptuntap()