Searched defs:port (Results 126 - 150 of 202) sorted by relevance

123456789

/osnet-11/usr/src/lib/libc/port/rt/
H A Dsigev_thread.c38 #include <port.h>
197 dprintf("port_get on port %d failed with %d <%s>\n",
209 dprintf("port_get on port %d returned %u "
290 dprintf("port_get on port %d failed with %d <%s>\n",
302 dprintf("port_get on port %d returned %u "
447 * Initialize data structure and create the port.
620 * the port number for notifications. Create the
632 int port; local
647 port = tcdp->tcd_port;
654 port
[all...]
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_print.c382 u_int priority, weight, port; local
391 port = ns_get16(rdata); rdata += NS_INT16SZ;
392 len = SPRINTF((t, "%u %u %u ", priority, weight, port));
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c299 PRNetAddr *addrp, int port, int timeout, unsigned long options )
305 PRLDAP_DEFAULT_ADDRESS_FAMILY, (PRUint16)port, addrp )) {
345 fprintf( stderr, fmtstr, p, PR_ntohs( addrp->ipv6.port ));
383 int rc, parse_err, port; local
405 for ( parse_err = ldap_x_hostlist_first( hostlist, defport, &host, &port,
408 parse_err = ldap_x_hostlist_next( &host, &port, status )) {
420 rc = prldap_try_one_address( prsockp, &addr, port,
429 enumIndex, &hent, (PRUint16)port, &addr )) > 0 ) {
430 rc = prldap_try_one_address( prsockp, &addr, port,
298 prldap_try_one_address( struct lextiof_socket_private *prsockp, PRNetAddr *addrp, int port, int timeout, unsigned long options ) argument
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dclnt_bcast.c141 rpcport_t *port; /* Remote port number */ local
302 port = &bres_pmap.port; /* for use later on */
495 * We should never see any ICMP port
557 /* convert port to taddr */
560 htons((ushort_t)*port);
H A Drpc_soc.c81 int port; local
123 (void) __rpc_bindresvport(fd, NULL, &port, 0);
197 int port; local
220 res = __rpc_bindresvport(fd, NULL, &port, 8);
230 port = (((struct sockaddr_in *)svc->xp_ltaddr.buf)->sin_port);
231 svc->xp_port = ntohs(port);
267 * Bind a fd to a privileged IP port.
278 static in_port_t port, *sinport; local
285 /* VARIABLES PROTECTED BY portnum_lock: port */
336 if (port
[all...]
H A Drpcb_clnt.c731 ushort_t port = 0; local
799 (xdrproc_t)xdr_u_short, (caddr_t)&port,
808 } else if (port == 0) {
813 port = htons(port);
826 (void) memcpy(&((char *)address->buf)[sizeof (short)], &port,
/osnet-11/usr/src/lib/libdns_sd/java/com/apple/dnssd/docs/examples/src/
H A DBrowserApp.java184 String hostName, int port, TXTRecord txtRecord)
187 portLabel.setText( String.valueOf( port));
183 serviceResolved( DNSSDService resolver, int flags, int ifIndex, String fullName, String hostName, int port, TXTRecord txtRecord) argument
H A DSimpleChat.java75 int buddyPort; // and port
169 String hostName, int port, TXTRecord txtRecord)
171 buddyPort = port;
168 serviceResolved( DNSSDService resolver, int flags, int ifIndex, String fullName, String hostName, int port, TXTRecord txtRecord) argument
/osnet-11/usr/src/lib/libfedfs/common/
H A Dnsdb_primitives.c97 nsdb_connect(char *nsdb, int port, char *admin, char *password) argument
109 nsdb, port, admin, password);
125 info = fedfs_smf_lookup(host, port, 0);
186 } else if (port == LDAPS_PORT) {
206 rc = snprintf(url, len, "%s://%s:%d", prefix, host, port);
212 * Get a handle to an LDAP connection to host:port
/osnet-11/usr/src/lib/libbsm/common/
H A Dgeneric.c131 * Return the raw device number of the port to which the
133 * through file descriptor 0) or 0 if can't stat the port.
246 aug_save_tid(dev_t port, int machine) argument
248 aug_tid.at_port = port;
254 aug_save_tid_ex(dev_t port, uint32_t *machine, uint32_t type) argument
258 aug_tid.at_port = port;
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_devinfo.c90 strip_w(char *port) argument
92 if (port == NULL)
94 if (port[0] == 'w')
95 return (port + 1);
96 return (port);
172 * Get initiator-port from the driver properties of the parent node. It is used
182 return (strip_w(get_string_prop(parent, "initiator-port",
194 target = get_string_prop(node, "target-port", di_prop_hw_next);
229 * Find the target-port and lun properties in a path.
237 /* Target port i
[all...]
H A Dsuri_iscsi.c122 * Based on resolved hostname:port provided in 'tgt', add discovery addresses.
247 * Remove all discovery addresses based on a resolved hostname and port in the
258 int16_t port = SURI_ISCSI_DEFAULT_PORT; local
280 port = suri_iscsi->si_prop_port;
311 if (props.discoveryAddress.portNumber != port)
538 * For a given target iqn, fill out a hostname and port properties of the handle
541 * and port unset and return ESURI_OK. If the target is found but the IP address
579 /* Find our iSCSI target port name (or not) */
591 * We found our target port name, let's try to find the hostname for the
641 * it does not clash with the ":port" suffi
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c990 int port; local
1032 port = atoi(servname);
1033 if (port < 0 || port > 65535)
1035 port = htons(port);
1051 port = sp->s_port;
1058 ai->ai_addr)->sin_port = port;
1062 ai->ai_addr)->sin6_port = port;
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c952 int port; member in struct:valuelist
978 slp->port = ntohs((u_int16_t)sp->s_port); /*%< host byt order */
1020 slp->port = pp->p_proto; /*%< host byte order */
1057 return (lp->port); /*%< host byte order */
1085 cgetservbyport(u_int16_t port, const char *proto) { /*%< Host byte order. */ argument
1090 port = ntohs(port);
1092 if (port != (u_int16_t)lp->port) /*%< Host byte order. */
1104 serv.s_port = htons((u_int16_t)lp->port);
1151 res_servicename(u_int16_t port, const char *proto) argument
[all...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c56 * This function will establish a socket to the host on the specified port.
59 static int init_socket(char *host, short port) argument
67 sin.sin_port = htons(port);
97 * This function will connect to host on the port.
101 connect_to_server(char *host, short port) argument
107 if ((sd = init_socket(host, port)) == -1) {
478 int port, char *proxy, int proxy_port, char *respfile,
496 final_port = (port == 0 || port == -1) ? 80 : port;
476 kmf_get_encoded_ocsp_response(KMF_HANDLE_T handle, char *reqfile, char *hostname, int port, char *proxy, int proxy_port, char *respfile, unsigned int maxsecs) argument
541 send_download_request(int sock, char *hostname, int port, boolean_t is_proxy, char *loc) argument
580 int port; local
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Drequest.c120 "LDAP server %s: dn %s, port %d\n",
645 sprintf( msg, "* host: %s port: %d secure: %s%s\n",
1027 * - no hostport (no host, no port) provided in LDAP URL, use those
1029 * - no port but a host, use default LDAP port
1035 "chase_one_referral: using port (%d) from original "
1041 "chase_one_referral: using default port (%d) \n",
1046 "chase_one_referral: using port (%d) as specified on "
1273 int i, port; local
1290 port
[all...]
/osnet-11/usr/src/lib/libnsl/nis/gen/
H A Dnis_subr.c741 ushort_t port; local
751 port = (ushort_t)pmap_getport(sa, prog, ver, protocol);
753 if (port != 0) {
754 port = htons(port);
760 (port >> 8) & 0xff,
761 port & 0xff);
/osnet-11/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c102 case ND_SET_RESERVEDPORT: /* bind to a resered port */
124 * address and p1-p2 are the port number.
213 /* convert the port */
248 /* retrieve the ipv6 address and port info */
279 /* convert the port */
807 * ... and the port number part (last two dotted-decimal values)
875 /* now extract the port info */
964 * Use *_ANONPRIVBIND to ask the kernel to pick a port in the
1034 unsigned short port; local
1042 * both address structure point to family and port # respectivel
[all...]
/osnet-11/usr/src/lib/libcommputil/common/
H A Dsdp.c662 * m=<media> <port>[/portcount] <proto> <fmt> ...
665 sdp_add_media(sdp_session_t *session, const char *name, uint_t port, argument
683 new_media->m_port = port;
/osnet-11/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientstub.c82 Fix opaque port passing problem
317 *len += 2; // Allocate space for two-byte port number
342 // Put dummy data in for the port, since we don't know what
438 union { uint16_t s; u_char b[2]; } port; local
446 port.s = caddr.sin_port;
447 data[0] = port.b[0]; // don't switch the byte order, as the
448 data[1] = port.b[1]; // daemon expects it in network byte order
562 union { uint16_t s; u_char b[2]; } port; local
574 port.b[0] = *data++;
575 port
873 union { uint16_t s; u_char b[2]; } port = { PortInNetworkByteOrder }; local
[all...]
/osnet-11/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DDNSSD.java180 /** Resolve a service name discovered via browse() to a target host name, port number, and txt record.<P>
259 @param port
260 The port on which the service accepts connections. Pass 0 for a
279 String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener)
281 { return getInstance()._register( flags, ifIndex, serviceName, regType, domain, host, port, txtRecord, listener); }
294 @param port
295 The port on which the service accepts connections. Pass 0 for a
308 public static DNSSDRegistration register( String serviceName, String regType, int port, RegisterListener listener) argument
310 { return register( 0, 0, serviceName, regType, null, null, port, null, listener); }
485 String domain, String host, int port, TXTRecor
278 register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) argument
484 _register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) argument
604 _register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener client) argument
804 AppleRegistration( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, byte[] txtRecord, RegisterListener client) argument
830 BeginRegister( int ifIndex, int flags, String serviceName, String regType, String domain, String host, int port, byte[] txtRecord) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocate_kdc.c285 int port, int secport,
294 hostname, ntohs (port), ntohs (secport),
303 result = snprintf(portbuf, sizeof(portbuf), "%d", ntohs(port));
646 htons (entry->port), 0,
650 htons (entry->port), 0,
654 htons (entry->port), 0,
782 char *cp, *port, *host; local
785 /* Find port number, and strip off any excess characters. */
790 port = (*cp == ':') ? cp + 1 : NULL;
793 if (port) {
284 krb5int_add_host_to_list(struct addrlist *lp, const char *hostname, int port, int secport, int socktype, int family) argument
1058 krb5_get_servername(krb5_context context, const krb5_data *realm, const char *name, const char *proto, char *srvhost, unsigned short *port) argument
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dalt_prof.c451 * Similar, for (host-order) port number, if not already set in the
507 * Parse out the port number from an admin_server setting. Modify server to
508 * contain just the hostname or address. If a port is given, set *port, and
512 parse_admin_server_port(char *server, int *port, long *mask) argument
529 /* If we found a port string, parse it and set the appropriate bit. */
531 *port = atoi(portstr);
710 /* Get the value for the kadmind port */
714 /* Get the value for the kpasswd port */
966 * determine the port t
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/
H A Duhci.c176 unsigned int port, unsigned int enable);
703 unsigned int port, unsigned int enable)
712 grub_dprintf ("uhci", "enable=%d port=%d\n", enable, port);
714 if (port == 0)
716 else if (port == 1)
720 "UHCI Root Hub port does not exist");
725 if (!enable) /* We don't need reset port */
727 /* Disable the port. */
729 grub_dprintf ("uhci", "waiting for the port t
702 grub_uhci_portstatus(grub_usb_controller_t dev, unsigned int port, unsigned int enable) argument
782 grub_uhci_detect_dev(grub_usb_controller_t dev, int port, int *changed) argument
[all...]
/osnet-11/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c121 * get_port_default() - set the default port number; note, that "solaris-audit"
134 DPRINT((dfile, "unable to get default port number\n"));
143 DPRINT((dfile, "default port: %d\n", *port_default));
275 int port; local
296 port = port_default;
300 DPRINT((dfile, "parsing host:port:mech %s\n", hostportmech));
302 if (strncmp(hostportmech, ":", 1 == 0)) { /* ":port:" case */
308 /* parse single host:port:mech target */
325 *error = strdup(gettext("invalid host:port:mech "
372 /* trim port */
[all...]

Completed in 99 milliseconds

123456789