Home
last modified time | relevance | path

Searched refs:target_port (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/stat/common/
H A Ddsr.c294 char target_port[MAXNAMELEN]; in drvpid2port() local
315 ioc.addr = target_port; in drvpid2port()
317 (void) snprintf(target_port, sizeof (target_port), "%d", pid); in drvpid2port()
320 *target_portp = safe_strdup(target_port); in drvpid2port()
355 char *target_port = NULL; in lookup_ks_name() local
422 if (drvpid2port(pid, &target_port) == 0) in lookup_ks_name()
427 "%s.t%s.%s", adevpath, target_port, initiator); in lookup_ks_name()
428 free(target_port); in lookup_ks_name()
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dserverloop.c1056 int target_port, originator_port; in server_request_direct_tcpip() local
1059 target_port = packet_get_int(); in server_request_direct_tcpip()
1065 originator, originator_port, target, target_port); in server_request_direct_tcpip()
1068 sock = channel_connect_to(target, target_port); in server_request_direct_tcpip()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c2962 unsigned short target_port; local
3111 target_port = ((struct sockaddr_in *)(host->ai_addr))->sin_port;
3113 target_port = ((struct sockaddr_in6 *)(host->ai_addr))
3122 dest_port = ntohs(target_port);
3129 target_port = sp->s_port;
3221 target_port;
3226 target_port;
/titanic_41/usr/src/lib/libsun_ima/common/
H A Dima.c1311 int target_port; in IMA_AddStaticDiscoveryTarget() local
1352 target_port = atoi(target_port_str); in IMA_AddStaticDiscoveryTarget()
1354 target_port = ISCSI_LISTEN_PORT; in IMA_AddStaticDiscoveryTarget()
1358 target_port = ISCSI_LISTEN_PORT; in IMA_AddStaticDiscoveryTarget()
1366 target_port = ISCSI_LISTEN_PORT; in IMA_AddStaticDiscoveryTarget()
1378 target_port = atoi(target_port_str); in IMA_AddStaticDiscoveryTarget()
1380 target_port = ISCSI_LISTEN_PORT; in IMA_AddStaticDiscoveryTarget()
1415 target.te_entry.e_port = target_port; in IMA_AddStaticDiscoveryTarget()
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c4940 char *target_port, *target_port_dup; in vhci_kstat_create_pathinfo() local
4981 SCSI_ADDR_PROP_TARGET_PORT, &target_port) == MDI_SUCCESS) { in vhci_kstat_create_pathinfo()
4982 target_port_dup = i_ddi_strdup(target_port, KM_SLEEP); in vhci_kstat_create_pathinfo()
4983 (void) mdi_prop_free(target_port); in vhci_kstat_create_pathinfo()
5968 char *target_port; in vhci_ctl() local
5986 target_port = (char *)hv; in vhci_ctl()
5987 if (copyoutstr(target_port, pioc->addr, MAXNAMELEN, NULL)) { in vhci_ctl()
5990 s, (int)strlen(target_port))); in vhci_ctl()