Lines Matching refs:port
615 const char *port = NULL; in nm_open() local
628 for (port = ifname; *port && !index("-*^{}/", *port); port++) in nm_open()
630 namelen = port - ifname; in nm_open()
637 while (*port) { in nm_open()
640 switch (*port) { in nm_open()
665 snprintf(errmsg, MAXERRMSG, "unknown modifier: '%c'", *port); in nm_open()
668 port++; in nm_open()
671 switch (*port) { in nm_open()
676 snprintf(errmsg, MAXERRMSG, "unexpected character: '%c'", *port); in nm_open()
679 port++; in nm_open()
682 num = strtol(port, (char **)&port, 10); in nm_open()
693 switch (*port) { in nm_open()
713 snprintf(errmsg, MAXERRMSG, "unrecognized flag: '%c'", *port); in nm_open()
716 port++; in nm_open()