• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:strcmp

194 		if (strcmp(*argv, "remote") == 0) {  in iptunnel_parse_opt()
196 if (strcmp(*argv, "any")) in iptunnel_parse_opt()
200 } else if (strcmp(*argv, "local") == 0) { in iptunnel_parse_opt()
202 if (strcmp(*argv, "any")) in iptunnel_parse_opt()
211 } else if (strcmp(*argv, "ttl") == 0 || in iptunnel_parse_opt()
212 strcmp(*argv, "hoplimit") == 0) { in iptunnel_parse_opt()
214 if (strcmp(*argv, "inherit") != 0) { in iptunnel_parse_opt()
219 } else if (strcmp(*argv, "tos") == 0 || in iptunnel_parse_opt()
220 strcmp(*argv, "tclass") == 0 || in iptunnel_parse_opt()
225 if (strcmp(*argv, "inherit") != 0) { in iptunnel_parse_opt()
231 } else if (strcmp(*argv, "nopmtudisc") == 0) { in iptunnel_parse_opt()
233 } else if (strcmp(*argv, "pmtudisc") == 0) { in iptunnel_parse_opt()
235 } else if (strcmp(lu->id, "sit") == 0 && in iptunnel_parse_opt()
236 strcmp(*argv, "isatap") == 0) { in iptunnel_parse_opt()
238 } else if (strcmp(lu->id, "sit") == 0 && in iptunnel_parse_opt()
239 strcmp(*argv, "mode") == 0) { in iptunnel_parse_opt()
241 if (strcmp(*argv, "ipv6/ipv4") == 0 || in iptunnel_parse_opt()
242 strcmp(*argv, "ip6ip") == 0) in iptunnel_parse_opt()
244 else if (strcmp(*argv, "ipv4/ipv4") == 0 || in iptunnel_parse_opt()
245 strcmp(*argv, "ipip") == 0 || in iptunnel_parse_opt()
246 strcmp(*argv, "ip4ip4") == 0) in iptunnel_parse_opt()
248 else if (strcmp(*argv, "mpls/ipv4") == 0 || in iptunnel_parse_opt()
249 strcmp(*argv, "mplsip") == 0) in iptunnel_parse_opt()
251 else if (strcmp(*argv, "any/ipv4") == 0 || in iptunnel_parse_opt()
252 strcmp(*argv, "any") == 0) in iptunnel_parse_opt()
256 } else if (strcmp(lu->id, "ipip") == 0 && in iptunnel_parse_opt()
257 strcmp(*argv, "mode") == 0) { in iptunnel_parse_opt()
259 if (strcmp(*argv, "ipv4/ipv4") == 0 || in iptunnel_parse_opt()
260 strcmp(*argv, "ipip") == 0 || in iptunnel_parse_opt()
261 strcmp(*argv, "ip4ip4") == 0) in iptunnel_parse_opt()
263 else if (strcmp(*argv, "mpls/ipv4") == 0 || in iptunnel_parse_opt()
264 strcmp(*argv, "mplsip") == 0) in iptunnel_parse_opt()
266 else if (strcmp(*argv, "any/ipv4") == 0 || in iptunnel_parse_opt()
267 strcmp(*argv, "any") == 0) in iptunnel_parse_opt()
271 } else if (strcmp(*argv, "noencap") == 0) { in iptunnel_parse_opt()
273 } else if (strcmp(*argv, "encap") == 0) { in iptunnel_parse_opt()
275 if (strcmp(*argv, "fou") == 0) in iptunnel_parse_opt()
277 else if (strcmp(*argv, "gue") == 0) in iptunnel_parse_opt()
279 else if (strcmp(*argv, "none") == 0) in iptunnel_parse_opt()
283 } else if (strcmp(*argv, "encap-sport") == 0) { in iptunnel_parse_opt()
285 if (strcmp(*argv, "auto") == 0) in iptunnel_parse_opt()
289 } else if (strcmp(*argv, "encap-dport") == 0) { in iptunnel_parse_opt()
293 } else if (strcmp(*argv, "encap-csum") == 0) { in iptunnel_parse_opt()
295 } else if (strcmp(*argv, "noencap-csum") == 0) { in iptunnel_parse_opt()
297 } else if (strcmp(*argv, "encap-udp6-csum") == 0) { in iptunnel_parse_opt()
299 } else if (strcmp(*argv, "noencap-udp6-csum") == 0) { in iptunnel_parse_opt()
301 } else if (strcmp(*argv, "encap-remcsum") == 0) { in iptunnel_parse_opt()
303 } else if (strcmp(*argv, "noencap-remcsum") == 0) { in iptunnel_parse_opt()
305 } else if (strcmp(*argv, "external") == 0) { in iptunnel_parse_opt()
307 } else if (strcmp(*argv, "6rd-prefix") == 0) { in iptunnel_parse_opt()
315 } else if (strcmp(*argv, "6rd-relay_prefix") == 0) { in iptunnel_parse_opt()
323 } else if (strcmp(*argv, "6rd-reset") == 0) { in iptunnel_parse_opt()
331 } else if (strcmp(*argv, "fwmark") == 0) { in iptunnel_parse_opt()
336 usage(strcmp(lu->id, "sit") == 0); in iptunnel_parse_opt()
363 if (strcmp(lu->id, "ipip") == 0 || strcmp(lu->id, "sit") == 0) in iptunnel_parse_opt()
366 if (strcmp(lu->id, "sit") == 0) { in iptunnel_parse_opt()
574 print_usage(f, strcmp(lu->id, "sit") == 0); in iptunnel_print_help()