Lines Matching refs:buffer
575 char buffer[DLADM_PROP_VAL_MAX];
580 buffer, sizeof (buffer));
588 if (strstr(buffer, snsp[i].sns_val) != NULL)
598 char buffer[DLADM_PROP_VAL_MAX];
634 error = solaris_get_dlprop(netdev_name, "speed", "current", buffer,
635 sizeof (buffer));
641 speed = atoi(buffer);
643 error = solaris_get_dlprop(netdev_name, "duplex", "current", buffer,
644 sizeof (buffer));
650 full = (strcmp(buffer, "full") == 0);
1026 char buffer[DLADM_PROP_VAL_MAX];
1055 "current", buffer, sizeof (buffer));
1120 char buffer[128];
1140 (void) snprintf(buffer, sizeof (buffer), ETH_ADDR_FMT,
1142 error = solaris_set_dlprop_string(netdev_name, "mac-address", buffer,
1146 buffer, netdev_name, ovs_strerror(error));
1164 char buffer[DLADM_PROP_VAL_MAX];
1173 error = solaris_get_dlclass(netdev_name, buffer, sizeof (buffer));
1180 (void) strlcpy(netdev->class, buffer, sizeof (netdev->class));
1207 char buffer[DLADM_PROP_VAL_MAX];
1228 buffer, sizeof (buffer));
1235 if (!eth_addr_from_string(buffer, mac)) {
1252 char buffer[DLADM_PROP_VAL_MAX];
1264 error = solaris_get_dlprop(netdev_name, "mtu", "current", buffer,
1265 sizeof (buffer));
1272 mtu = atoi(buffer);
1551 char buffer[DLADM_PROP_VAL_MAX];
1560 error = solaris_get_dllower(netdev_name, buffer,
1561 sizeof (buffer));
1564 physname = buffer;
2170 char buffer[INET_ADDRSTRLEN];
2171 (void) inet_ntop(AF_INET, &router, buffer, sizeof (buffer));
2173 VLOG_ERR("failed to add router %s: %s", buffer,
2591 char buffer[DLADM_PROP_VAL_MAX];
2607 error = solaris_get_dllower(netdev_name, buffer,
2608 sizeof (buffer));
2611 physname = buffer;