Lines Matching refs:strcmp
115 if (strcmp(*argv, "mode") == 0) { in parse_args()
117 if (strcmp(*argv, "ipv6/ipv6") == 0 || in parse_args()
118 strcmp(*argv, "ip6ip6") == 0) in parse_args()
120 else if (strcmp(*argv, "ip/ipv6") == 0 || in parse_args()
121 strcmp(*argv, "ipv4/ipv6") == 0 || in parse_args()
122 strcmp(*argv, "ipip6") == 0 || in parse_args()
123 strcmp(*argv, "ip4ip6") == 0) in parse_args()
125 else if (strcmp(*argv, "any/ipv6") == 0 || in parse_args()
126 strcmp(*argv, "any") == 0) in parse_args()
132 } else if (strcmp(*argv, "remote") == 0) { in parse_args()
139 } else if (strcmp(*argv, "local") == 0) { in parse_args()
146 } else if (strcmp(*argv, "dev") == 0) { in parse_args()
149 } else if (strcmp(*argv, "encaplimit") == 0) { in parse_args()
151 if (strcmp(*argv, "none") == 0) { in parse_args()
159 } else if (strcmp(*argv, "hoplimit") == 0 || in parse_args()
160 strcmp(*argv, "ttl") == 0 || in parse_args()
161 strcmp(*argv, "hlim") == 0) { in parse_args()
167 } else if (strcmp(*argv, "tclass") == 0 || in parse_args()
168 strcmp(*argv, "tc") == 0 || in parse_args()
169 strcmp(*argv, "tos") == 0 || in parse_args()
173 if (strcmp(*argv, "inherit") == 0) in parse_args()
181 } else if (strcmp(*argv, "flowlabel") == 0 || in parse_args()
182 strcmp(*argv, "fl") == 0) { in parse_args()
185 if (strcmp(*argv, "inherit") == 0) in parse_args()
195 } else if (strcmp(*argv, "dscp") == 0) { in parse_args()
197 if (strcmp(*argv, "inherit") != 0) in parse_args()
201 if (strcmp(*argv, "name") == 0) { in parse_args()
238 (!p1->name[0] || strcmp(p1->name, p2->name) == 0) && in ip6_tnl_parm_match()
289 if (p->name[0] && strcmp(p->name, name)) in do_tunnels_list()