Searched refs:portstr (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_ksock.c35 char portstr[12]; local
49 (void) snprintf(portstr, sizeof (portstr), "%d",
55 (void) snprintf(portstr, sizeof (portstr), "%d",
73 familystr, addrstr, portstr);
79 argv[4] = portstr;
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetservent.c377 char portstr[12]; local
383 ret = snprintf(portstr, sizeof (portstr), " %d",
385 if (ret >= sizeof (portstr) || ret < 0)
390 _F_GETSERVBYPORT, strtol(portstr, (char **)NULL, 10));
395 _F_GETSERVBYPORT_SSD, strtol(portstr, (char **)NULL, 10));
404 strtol(portstr, (char **)NULL, 10), protocol);
410 strtol(portstr, (char **)NULL, 10), protocol);
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlaggr.c120 write_port(dladm_handle_t handle, char *portstr, datalink_id_t portid, argument
130 if (strlcat(portstr, pname, portstrsize) >= portstrsize)
136 read_port(dladm_handle_t handle, char **portstr, datalink_id_t *portid) argument
141 if ((pname = strtok(*portstr, PORT_DELIMITER)) == NULL)
143 *portstr += (strlen(pname) + 1);
271 char *portstr = NULL, *next; local
336 if ((portstr = calloc(1, size)) == NULL) {
341 status = dladm_get_conf_field(handle, conf, FPORTS, portstr, size);
351 for (next = portstr, i = 0; i < nports; i++) {
358 free(portstr);
381 char *orig_portstr = NULL, *portstr = NULL; local
1016 char *portstr = NULL; local
[all...]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetservent.c180 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));
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetservent.c284 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,
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Ddns_sv.c157 char portstr[16]; local
160 sprintf(portstr, "%d", ntohs(port));
161 if (!(hes_list = hesiod_resolve(dns->hes_ctx, portstr, "port")))
/illumos-gate/usr/src/cmd/devfsadm/
H A Dport_link.c682 char *portstr; local
688 if ((portstr = strrchr(devname, (int)'/')) == NULL) {
693 portstr++;
698 if ((portnum = parse_portno(portstr)) != -1)
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c1336 char portstr[10]; local
1351 SET_PORTSTR(portstr, &addr);
1354 "ahci_tran_probe_port enter: port %s", portstr);
1362 "pmult is removed from port %s", portstr);
1414 "ahci_tran_probe_port: port %s PORT FAILED", portstr);
1420 "ahci_tran_probe_port: port %s PORT SHUTDOWN", portstr);
1426 "ahci_tran_probe_port: port %s PORT PWROFF", portstr);
1432 "ahci_tran_probe_port: port %s PORT PWRON", portstr);
1439 portstr, port_state);
1450 "ahci_tran_probe_port: port %s DISK found", portstr);
1554 char portstr[10]; local
4315 char portstr[10]; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_scf.c402 char *ipaddr, *ipverstr, *portstr, *flagstr; local
410 portstr = strtok(NULL, ";");
413 if (ipaddr == NULL || ipverstr == NULL || portstr == NULL ||
435 *min_port = atoi(strtok(portstr, "-"));
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Didmap_config.c382 char *host, *portstr; local
465 if ((portstr = strchr(host, ':')) != NULL) {
466 *portstr++ = '\0';
467 servers[i].port = strtol(portstr,
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex.c1275 char *portstr; local
1283 portstr = strstr(device_name, ":port=");
1284 if (portstr == NULL) {
1288 portstr[0] = 0; portstr++;
1289 if (ibnex_devname2port(portstr, &port)) {
1347 ibnex_devname2port(char *portstr, int *port) argument
1354 temp = strchr(portstr, '=');
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgweb.c1211 char *host = NULL, *portstr = NULL, *path = "/", *p, *q, *r; local
1224 if (OCSP_parse_url(uri, &host, &portstr, &path, &use_ssl) == NULL) {
1236 if (portstr == NULL) {
1239 port = (int)strtoul(portstr, &r, 10);

Completed in 120 milliseconds