Lines Matching defs:physname
98 char physname[MAXLINKNAMELEN];
133 char *physname;
157 char *physname;
184 char *physname, struct dpif_solaris_lowerlink **lowerlinkp);
441 name = (char *)port->physname;
443 if (strchr(port->physname, '/') != NULL) {
445 port->physname, kstat_name, &zid);
471 "kstat:/net/link/%s/%d", lowerlink->physname, 0);
658 const char *physname, struct dpif_solaris_port *port)
666 port->port_no, physname);
668 if (strcmp(physname, NETDEV_IMPL_ETHERSTUB) == 0)
678 brname = physname;
764 char physname[MAXLINKNAMELEN];
780 physname[0] = '\0';
789 if (strlcpy(physname, linkname, sizeof (physname)) >=
790 sizeof (physname))
800 if (strlcpy(physname, dlbuffer, sizeof (physname)) >=
801 sizeof (physname))
840 port->physname = xstrdup(physname);
868 (void) dpif_solaris_bridge_add_port(dpif, physname, port);
883 free(port->physname);
958 strcmp(port->physname, uport->linkname) == 0) {
1005 free(port->physname);
1322 dpif_solaris_flow_add(struct dpif_solaris *dpif, const char *physname,
1331 solaris_flow->physname = xstrdup(physname);
1359 free(solaris_flow->physname);
1506 char physname[MAXLINKNAMESPECIFIER];
1560 (void) strlcpy(physname, port->physname, sizeof (physname));
1564 VLOG_DBG("dpif_solaris_flow_put on %s", physname);
1566 solaris_flow = dpif_solaris_flow_add(dpif, physname, &f,
1583 physname, flowname, &f,
1588 "(port:%s)%d", flowname, physname, portname, error);
1597 "(port:%s)", flowname, physname, portname);
1669 char *physname;
1694 physname = xstrdup(solaris_flow->physname);
1707 error = solaris_remove_flow(physname, flowname);
1716 free(physname);
1734 physnames[i++] = xstrdup(solaris_flow->physname);
2133 * Migrate the internal port to a different lower link, sets its physname, and
2139 dpif_solaris_migrate_internal_port(const char *bridge, const char *physname)
2146 physname);
2154 free(port->physname);
2155 port->physname = xstrdup(physname);
2160 " on %s succeed", bridge, physname);
2163 " on %s failed %d", bridge, physname, err);
2329 VLOG_DBG("dpif_solaris_destroy_lowerlink %s", lowerlink->physname);
2353 port->linkname, port->physname);
2407 port->linkname, port->port_no, port->physname,
2411 if (strcmp(lowerlink->physname, port->physname) == 0) {
2419 error = dpif_solaris_create_lowerlink(dpif, port->physname,
2423 "%s creation failed %s", port->physname,
2467 dpif_solaris_create_upfd(struct dpif_solaris *dpif, const char *physname,
2480 VLOG_DBG("dpif_solaris_create_upfd() on %s", physname);
2485 "create socket: %s", physname, ovs_strerror(errno));
2489 status = dladm_name2info(dpif->dh, physname, &linkid,
2494 "linkid: %s", physname, ovs_strerror(error));
2506 "%s", physname, ovs_strerror(error));
2515 "PACKET_AUXDATAQ: %s", physname,
2528 "PACKET_ADD_OF_DEFFLOW port 0: %s", physname,
2538 "non-block: %s", physname, ovs_strerror(error));
2543 VLOG_DBG("dpif_solaris_create_upfd %s fd=%d", physname, fd);
2550 dpif_solaris_create_lowerlink(struct dpif_solaris *dpif, char *physname,
2562 "link %s", dpif->n_handlers, physname);
2565 if (strlcpy(lowerlink->physname, physname,
2566 sizeof (lowerlink->physname)) >= sizeof (lowerlink->physname)) {
2582 lowerlink->physname, &(lowerlink->handlers[i].upcall_fd));
2585 "upfd over %s failed %s", i, lowerlink->physname,
2590 "upfd over %s: %d", i, lowerlink->physname,
2598 lowerlink->physname);
2604 lowerlink->physname, pf_port_no);
2609 hash_string(lowerlink->physname, 0));
2858 lowerlink->physname, fd, pktlen,
2867 lowerlink->physname, fd, pktlen);
2873 lowerlink->physname, fd, pktlen,
2898 "failed %d", lowerlink->physname,