/titanic_41/usr/src/cmd/smbsrv/fksmbd/ |
H A D | fksmbd_ksock.c | 35 char portstr[12]; in ksocket_bind_helper() local 49 (void) snprintf(portstr, sizeof (portstr), "%d", in ksocket_bind_helper() 55 (void) snprintf(portstr, sizeof (portstr), "%d", in ksocket_bind_helper() 73 familystr, addrstr, portstr); in ksocket_bind_helper() 79 argv[4] = portstr; in ksocket_bind_helper()
|
/titanic_41/usr/src/lib/libdladm/common/ |
H A D | libdlaggr.c | 120 write_port(dladm_handle_t handle, char *portstr, datalink_id_t portid, in write_port() argument 130 if (strlcat(portstr, pname, portstrsize) >= portstrsize) in write_port() 136 read_port(dladm_handle_t handle, char **portstr, datalink_id_t *portid) in read_port() argument 141 if ((pname = strtok(*portstr, PORT_DELIMITER)) == NULL) in read_port() 143 *portstr += (strlen(pname) + 1); in read_port() 271 char *portstr = NULL, *next; in i_dladm_aggr_info_persist() local 336 if ((portstr = calloc(1, size)) == NULL) { in i_dladm_aggr_info_persist() 341 status = dladm_get_conf_field(handle, conf, FPORTS, portstr, size); in i_dladm_aggr_info_persist() 351 for (next = portstr, i = 0; i < nports; i++) { in i_dladm_aggr_info_persist() 358 free(portstr); in i_dladm_aggr_info_persist() [all …]
|
/titanic_41/usr/src/lib/nsswitch/ldap/common/ |
H A D | getservent.c | 377 char portstr[12]; in getbyport() local 383 ret = snprintf(portstr, sizeof (portstr), " %d", in getbyport() 385 if (ret >= sizeof (portstr) || ret < 0) in getbyport() 390 _F_GETSERVBYPORT, strtol(portstr, (char **)NULL, 10)); in getbyport() 395 _F_GETSERVBYPORT_SSD, strtol(portstr, (char **)NULL, 10)); in getbyport() 404 strtol(portstr, (char **)NULL, 10), protocol); in getbyport() 410 strtol(portstr, (char **)NULL, 10), protocol); in getbyport()
|
/titanic_41/usr/src/lib/nsswitch/files/common/ |
H A D | getservent.c | 180 char portstr[12]; local 182 (void) snprintf(portstr, 12, "%d", ntohs(argp->key.serv.serv.port)); 183 return (_nss_files_XY_all(be, argp, 1, portstr, check_port));
|
/titanic_41/usr/src/lib/nsswitch/nis/common/ |
H A D | getservent.c | 284 char portstr[12]; local 286 (void) snprintf(portstr, 12, "%d", port); 293 return (_nss_nis_XY_all(be, argp, 1, portstr, 296 return (_nss_nis_XY_all(be, argp, 1, portstr,
|
/titanic_41/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_sv.c | 157 char portstr[16]; in sv_byport() local 160 sprintf(portstr, "%d", ntohs(port)); in sv_byport() 161 if (!(hes_list = hesiod_resolve(dns->hes_ctx, portstr, "port"))) in sv_byport()
|
/titanic_41/usr/src/cmd/devfsadm/ |
H A D | port_link.c | 682 char *portstr; in rm_dangling_port() local 688 if ((portstr = strrchr(devname, (int)'/')) == NULL) { in rm_dangling_port() 693 portstr++; in rm_dangling_port() 698 if ((portnum = parse_portno(portstr)) != -1) in rm_dangling_port()
|
/titanic_41/usr/src/uts/common/io/sata/adapters/ahci/ |
H A D | ahci.c | 1336 char portstr[10]; in ahci_tran_probe_port() local 1351 SET_PORTSTR(portstr, &addr); in ahci_tran_probe_port() 1354 "ahci_tran_probe_port enter: port %s", portstr); in ahci_tran_probe_port() 1362 "pmult is removed from port %s", portstr); in ahci_tran_probe_port() 1414 "ahci_tran_probe_port: port %s PORT FAILED", portstr); in ahci_tran_probe_port() 1420 "ahci_tran_probe_port: port %s PORT SHUTDOWN", portstr); in ahci_tran_probe_port() 1426 "ahci_tran_probe_port: port %s PORT PWROFF", portstr); in ahci_tran_probe_port() 1432 "ahci_tran_probe_port: port %s PORT PWRON", portstr); in ahci_tran_probe_port() 1439 portstr, port_state); in ahci_tran_probe_port() 1450 "ahci_tran_probe_port: port %s DISK found", portstr); in ahci_tran_probe_port() [all …]
|
/titanic_41/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex.c | 1275 char *portstr; in ibnex_config_root_iocnode() local 1283 portstr = strstr(device_name, ":port="); in ibnex_config_root_iocnode() 1284 if (portstr == NULL) { in ibnex_config_root_iocnode() 1288 portstr[0] = 0; portstr++; in ibnex_config_root_iocnode() 1289 if (ibnex_devname2port(portstr, &port)) { in ibnex_config_root_iocnode() 1347 ibnex_devname2port(char *portstr, int *port) in ibnex_devname2port() argument 1354 temp = strchr(portstr, '='); in ibnex_devname2port()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_scf.c | 402 char *ipaddr, *ipverstr, *portstr, *flagstr; in ilbd_get_svr_field() local 410 portstr = strtok(NULL, ";"); in ilbd_get_svr_field() 413 if (ipaddr == NULL || ipverstr == NULL || portstr == NULL || in ilbd_get_svr_field() 435 *min_port = atoi(strtok(portstr, "-")); in ilbd_get_svr_field()
|
/titanic_41/usr/src/cmd/idmap/idmapd/ |
H A D | idmap_config.c | 353 char *host, *portstr; in get_val_ds() local 428 if ((portstr = strchr(host, ':')) != NULL) { in get_val_ds() 429 *portstr++ = '\0'; in get_val_ds() 430 servers[i].port = strtol(portstr, in get_val_ds()
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | pkgweb.c | 1211 char *host = NULL, *portstr = NULL, *path = "/", *p, *q, *r; in ocsp_verify() local 1224 if (OCSP_parse_url(uri, &host, &portstr, &path, &use_ssl) == NULL) { in ocsp_verify() 1236 if (portstr == NULL) { in ocsp_verify() 1239 port = (int)strtoul(portstr, &r, 10); in ocsp_verify()
|