Lines Matching refs:strcmp
101 if (strcmp(l->id, id) == 0) in get_link_kind()
188 if (strcmp(*argv, "up") == 0) { in iplink_parse()
191 } else if (strcmp(*argv, "down") == 0) { in iplink_parse()
194 } else if (strcmp(*argv, "name") == 0) { in iplink_parse()
207 strcmp(*argv, "brd") == 0) { in iplink_parse()
214 strcmp(*argv, "qlen") == 0 || in iplink_parse()
222 } else if (strcmp(*argv, "mtu") == 0) { in iplink_parse()
229 } else if (strcmp(*argv, "netns") == 0) { in iplink_parse()
236 } else if (strcmp(*argv, "multicast") == 0) { in iplink_parse()
239 if (strcmp(*argv, "on") == 0) { in iplink_parse()
241 } else if (strcmp(*argv, "off") == 0) { in iplink_parse()
245 } else if (strcmp(*argv, "allmulticast") == 0) { in iplink_parse()
248 if (strcmp(*argv, "on") == 0) { in iplink_parse()
250 } else if (strcmp(*argv, "off") == 0) { in iplink_parse()
254 } else if (strcmp(*argv, "promisc") == 0) { in iplink_parse()
257 if (strcmp(*argv, "on") == 0) { in iplink_parse()
259 } else if (strcmp(*argv, "off") == 0) { in iplink_parse()
263 } else if (strcmp(*argv, "trailers") == 0) { in iplink_parse()
266 if (strcmp(*argv, "off") == 0) { in iplink_parse()
268 } else if (strcmp(*argv, "on") == 0) { in iplink_parse()
272 } else if (strcmp(*argv, "arp") == 0) { in iplink_parse()
275 if (strcmp(*argv, "on") == 0) { in iplink_parse()
277 } else if (strcmp(*argv, "off") == 0) { in iplink_parse()
285 if (strcmp(*argv, "on") == 0) { in iplink_parse()
287 } else if (strcmp(*argv, "off") == 0) { in iplink_parse()
304 if (strcmp(*argv, "dev") == 0) { in iplink_parse()
624 if (strcmp(*argv, "up") == 0) { in do_set()
627 } else if (strcmp(*argv, "down") == 0) { in do_set()
630 } else if (strcmp(*argv, "name") == 0) { in do_set()
637 strcmp(*argv, "brd") == 0) { in do_set()
641 strcmp(*argv, "qlen") == 0 || in do_set()
648 } else if (strcmp(*argv, "mtu") == 0) { in do_set()
654 } else if (strcmp(*argv, "multicast") == 0) { in do_set()
657 if (strcmp(*argv, "on") == 0) { in do_set()
659 } else if (strcmp(*argv, "off") == 0) { in do_set()
663 } else if (strcmp(*argv, "allmulticast") == 0) { in do_set()
666 if (strcmp(*argv, "on") == 0) { in do_set()
668 } else if (strcmp(*argv, "off") == 0) { in do_set()
672 } else if (strcmp(*argv, "promisc") == 0) { in do_set()
675 if (strcmp(*argv, "on") == 0) { in do_set()
677 } else if (strcmp(*argv, "off") == 0) { in do_set()
681 } else if (strcmp(*argv, "trailers") == 0) { in do_set()
684 if (strcmp(*argv, "off") == 0) { in do_set()
686 } else if (strcmp(*argv, "on") == 0) { in do_set()
690 } else if (strcmp(*argv, "arp") == 0) { in do_set()
693 if (strcmp(*argv, "on") == 0) { in do_set()
695 } else if (strcmp(*argv, "off") == 0) { in do_set()
703 if (strcmp(*argv, "on") == 0) { in do_set()
705 } else if (strcmp(*argv, "off") == 0) { in do_set()
711 if (strcmp(*argv, "dev") == 0) { in do_set()
742 if (newname && strcmp(dev, newname)) { in do_set()