Lines Matching refs:strcmp

166 			if (strcmp(*argv, "ipv6/ipv6") == 0 ||  in ip6tunnel_parse_opt()
167 strcmp(*argv, "ip6ip6") == 0) in ip6tunnel_parse_opt()
169 else if (strcmp(*argv, "ip/ipv6") == 0 || in ip6tunnel_parse_opt()
170 strcmp(*argv, "ipv4/ipv6") == 0 || in ip6tunnel_parse_opt()
171 strcmp(*argv, "ipip6") == 0 || in ip6tunnel_parse_opt()
172 strcmp(*argv, "ip4ip6") == 0) in ip6tunnel_parse_opt()
174 else if (strcmp(*argv, "any/ipv6") == 0 || in ip6tunnel_parse_opt()
175 strcmp(*argv, "any") == 0) in ip6tunnel_parse_opt()
179 } else if (strcmp(*argv, "remote") == 0) { in ip6tunnel_parse_opt()
187 } else if (strcmp(*argv, "local") == 0) { in ip6tunnel_parse_opt()
200 } else if (strcmp(*argv, "hoplimit") == 0 || in ip6tunnel_parse_opt()
201 strcmp(*argv, "ttl") == 0 || in ip6tunnel_parse_opt()
202 strcmp(*argv, "hlim") == 0) { in ip6tunnel_parse_opt()
209 } else if (strcmp(*argv, "encaplimit") == 0) { in ip6tunnel_parse_opt()
211 if (strcmp(*argv, "none") == 0) { in ip6tunnel_parse_opt()
221 } else if (strcmp(*argv, "tclass") == 0 || in ip6tunnel_parse_opt()
222 strcmp(*argv, "tc") == 0 || in ip6tunnel_parse_opt()
223 strcmp(*argv, "tos") == 0 || in ip6tunnel_parse_opt()
229 if (strcmp(*argv, "inherit") == 0) in ip6tunnel_parse_opt()
237 } else if (strcmp(*argv, "flowlabel") == 0 || in ip6tunnel_parse_opt()
238 strcmp(*argv, "fl") == 0) { in ip6tunnel_parse_opt()
243 if (strcmp(*argv, "inherit") == 0) in ip6tunnel_parse_opt()
253 } else if (strcmp(*argv, "dscp") == 0) { in ip6tunnel_parse_opt()
255 if (strcmp(*argv, "inherit") != 0) in ip6tunnel_parse_opt()
258 } else if (strcmp(*argv, "fwmark") == 0) { in ip6tunnel_parse_opt()
260 if (strcmp(*argv, "inherit") == 0) { in ip6tunnel_parse_opt()
268 } else if (strcmp(*argv, "noencap") == 0) { in ip6tunnel_parse_opt()
270 } else if (strcmp(*argv, "encap") == 0) { in ip6tunnel_parse_opt()
272 if (strcmp(*argv, "fou") == 0) in ip6tunnel_parse_opt()
274 else if (strcmp(*argv, "gue") == 0) in ip6tunnel_parse_opt()
276 else if (strcmp(*argv, "none") == 0) in ip6tunnel_parse_opt()
280 } else if (strcmp(*argv, "encap-sport") == 0) { in ip6tunnel_parse_opt()
282 if (strcmp(*argv, "auto") == 0) in ip6tunnel_parse_opt()
286 } else if (strcmp(*argv, "encap-dport") == 0) { in ip6tunnel_parse_opt()
290 } else if (strcmp(*argv, "encap-csum") == 0) { in ip6tunnel_parse_opt()
292 } else if (strcmp(*argv, "noencap-csum") == 0) { in ip6tunnel_parse_opt()
294 } else if (strcmp(*argv, "encap-udp6-csum") == 0) { in ip6tunnel_parse_opt()
296 } else if (strcmp(*argv, "noencap-udp6-csum") == 0) { in ip6tunnel_parse_opt()
298 } else if (strcmp(*argv, "encap-remcsum") == 0) { in ip6tunnel_parse_opt()
300 } else if (strcmp(*argv, "noencap-remcsum") == 0) { in ip6tunnel_parse_opt()
302 } else if (strcmp(*argv, "external") == 0) { in ip6tunnel_parse_opt()