Searched refs:port (Results 176 - 200 of 302) sorted by relevance

1234567891011>>

/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dsmp-imps.c73 inb (unsigned short port) argument
77 __asm __volatile ("inb %1,%0" :"=a" (data):"d" (port));
82 outb (unsigned short port, unsigned char val) argument
84 __asm __volatile ("outb %0,%1"::"a" (val), "d" (port));
/osnet-11/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c58 test_socket_access(struct in6_addr *addr, int port) argument
67 sin6.sin6_port = htons(port);
82 is_listening(char *hostname, int port) argument
96 return (test_socket_access(ipv6addr, 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/libc/
H A DMakefile123 CHECKHDRS= $(BASEHDRS:%.h=port/gen/%.check)
127 $(ROOTHDRDIR)/%: port/gen/%
172 $(ECHO) "Error: See comments in port/gen/env_data.c" ; \
185 $(ECHO) "Error: See comments in port/gen/env_data.c" ; \
254 $(ROOTFS_LINTDIR)/%: port/%
256 $(ROOTFS_LINTDIR64)/%: port/%
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dirp_sv.c226 * struct servent * sv_byport(struct irs_sv *this, int port,
232 sv_byport(struct irs_sv *this, int port, const char *proto) { argument
241 port == sv->s_port &&
251 ntohs((short)port), proto) != 0) {
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;
H A Ddns_sv.c153 sv_byport(struct irs_sv *this, int port, const char *proto) { argument
160 sprintf(portstr, "%d", ntohs(port));
161 if (!(hes_list = hesiod_resolve(dns->hes_ctx, portstr, "port")))
H A Dgen_sv.c149 sv_byport(struct irs_sv *this, int port, const char *proto) { argument
158 rval = (*sv->byport)(sv, port, proto);
H A Dgetservent_r.c62 getservbyport_r(int port, const char *proto, argument
64 struct servent *se = getservbyport(port, proto);
162 /* copy port value */
197 /* copy port value */
/osnet-11/usr/src/lib/libadutils/common/
H A Dadutils.c58 static void delete_ds(adutils_ad_t *ad, const char *host, int port);
560 delete_ds((*ad), p->host, p->port);
606 adh->ld = ldap_init(adh->host, adh->port);
609 "%s port %d failed. (%s)", adh->host,
610 adh->port, strerror(errno));
643 "%s port %d failed. (%s)", adh->host, adh->port,
649 adh->host, adh->port);
764 delete_ds(NULL, adh->host, adh->port);
773 adutils_add_ds(adutils_ad_t *ad, const char *host, int port) argument
841 delete_ds(adutils_ad_t *ad, const char *host, int port) argument
[all...]
H A Dlibadutils.h87 * We use the port numbers for normal LDAP and global catalog LDAP as
89 * Although we never actually use these enum values as port numbers and
102 * - a DS (hostname + port, if port != 0) can be added/removed from an
152 const char *host, int 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/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/libast/
H A DMakefile.com233 common/port/astconf.o \
234 common/port/astcopy.o \
235 common/port/astdynamic.o \
236 common/port/astlicense.o \
237 common/port/astquery.o \
238 common/port/aststatic.o \
239 common/port/astwinsize.o \
240 common/port/iblocks.o \
241 common/port/lc.o \
242 common/port/m
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c112 { CVT, CFGA_LIB_ERROR, "Cannot determine sata port number for " },
248 get_port_num(const char *ap_id, uint32_t *port);
615 * Checking device type. A port multiplier is not configurable - it is
774 * If the port originally with device attached and was
825 * If the port needs to be forced into the
1441 uint32_t port; local
1709 /* This is an empty port */
1710 if (get_port_num(ap_id, &port) != SATA_CFGA_OK) {
1714 if (port & SATA_CFGA_PMPORT_QUAL) {
1715 (void) strlcpy((*ap_id_list)->ap_type, "pmult-port",
1866 get_port_num(const char *ap_id, uint32_t *port) argument
1917 uint_t port; local
2006 uint_t port; local
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_connect.c1508 uint16_t port = USE_DEFAULT_PORT; local
1518 /* determine if the host name contains a port number */
1522 if (sscanf(s + 1, "%hu", &port) != 1) {
1527 "port number for the "
1540 port,
2191 uint16_t port, int timeoutMilliSec,
2238 *ldp = ldapssl_init(serverAddr, port, 1);
2258 * server - \[IPv6_address\][:port]
2259 * - IPv4_address[:port]
2260 * - hostname[:port]
2190 createTLSSession(const ns_cred_t *auth, const char *serverAddr, uint16_t port, int timeoutMilliSec, LDAP **ldp, ns_ldap_error_t **errorp) argument
2284 unsigned short port = 0; local
2370 createNonTLSSession(const char *serverAddr, uint16_t port, int gssapi, LDAP **ldp, ns_ldap_error_t **errorp) argument
2439 createSession(const ns_cred_t *auth, const char *serverAddr, uint16_t port, int timeoutMilliSec, LDAP **ldp, ns_ldap_error_t **errorp) argument
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dclnt_generic.c279 * Create a client handle for a well known service or a specific port on
282 * rpcbind is not available, e.g., the remote rpcbind port is blocked by a
285 * a non zero port number, the service name is ignored and the port will be
286 * used. A non-zero port number limits the protocol family to inet or inet6.
292 const ushort_t port, const char *netclass,
354 hs.h_serv = port ? NULL : serv;
384 if (port) {
423 if (port) {
426 tbind->addr.buf)->sin_port = htons(port);
290 clnt_create_service_timed(const char *host, const char *service, const rpcprog_t prog, const rpcvers_t vers, const ushort_t port, const char *netclass, const struct timeval *tmout) argument
[all...]
/osnet-11/usr/src/lib/sun_fc/common/
H A DFCSyseventBridge.cc78 HBAPort *port) {
91 HBAPort *port) {
104 HBAPort *port, uint64_t targetWWN, bool filter) {
241 // All events of this class type have instance and port-wwn for
242 // the HBA port.
254 if (nvlist_lookup_byte_array(list, (char *)"port-wwn",
257 "Improperly formed event: no port-wwn field.");
395 if (nvlist_lookup_byte_array(list, (char *)"target-port-wwn",
398 "Improperly formed event: no target-port-wwn field.");
427 if (nvlist_lookup_byte_array(list, (char *)"target-port
77 addListener(AdapterPortEventListener *listener, HBAPort *port) argument
90 addListener(AdapterDeviceEventListener *listener, HBAPort *port) argument
103 addListener(TargetEventListener *listener, HBAPort *port, uint64_t targetWWN, bool filter) argument
[all...]
/osnet-11/usr/src/lib/libresolv/
H A Dnetdb.h79 int s_port; /* port # */
99 (int port, const char *, struct servent *, char *, int);
/osnet-11/usr/src/lib/libsmbns/common/
H A Dlibsmbns.h52 int port; /* ldap port */ member in struct:smb_ads_host_info
/osnet-11/usr/src/grub/grub2/util/grub.d/
H A D30_os-prober.in192 --host-priv-port='\${host-port}' \\
193 --device-master-port='\${device-port}' \\
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c89 { CVT, CFGA_LIB_ERROR, "Cannot determine hub port number for " },
473 * Takes a validated ap_id and extracts the port number.
476 get_port_num(const char *ap_id, uint_t *port) argument
487 *port = strtol(port_nbr_str, NULL, 10);
489 DPRINTF("get_port_num: conversion of port str failed\n");
516 uint32_t port; local
529 /* Set up to pass port number down to driver */
539 if ((rv = get_port_num(ap_id, &port)) != CFGA_USB_OK) {
546 if (nvlist_add_int32(*user_nvlistp, PORT, port) == -1) {
625 uint_t port; local
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c542 hp_node_t port; local
569 port = hp_child(connector);
570 while (port != NULL) {
571 DBG(1, ("cfga_get_state:(%x)\n", hp_state(port)));
578 if (hp_state(port) >= DDI_HP_CN_STATE_OFFLINE)
581 port = hp_sibling(port);
584 if (port != NULL)
/osnet-11/usr/src/lib/sun_sas/common/
H A DSun_sasGetPhyStatistics.c31 * Retrieves the statistics for a specified port.phy on an adapter
34 HBA_UINT32 port, HBA_UINT32 phy, SMHBA_PHYSTATISTICS *pStatistics) {
86 if (hba_port_ptr->index == port) {
93 "Invalid port index of phyIndex: %08lx", phy);
33 Sun_sasGetPhyStatistics(HBA_HANDLE handle, HBA_UINT32 port, HBA_UINT32 phy, SMHBA_PHYSTATISTICS *pStatistics) argument
/osnet-11/usr/src/lib/libldap4/common/
H A Dcldap.c81 * ld = cldap_open( hostname, port );
85 cldap_open( char *host, int port )
104 if ( port == 0 ) {
105 port = LDAP_PORT;
120 if (( ld = ldap_init( host, port )) == NULL ) {
135 sock.sin_port = htons( port );

Completed in 114 milliseconds

1234567891011>>