/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | io.c | 937 int r,port=20000; local 945 sin.sin_port = htons(++port); 961 pv[2] = port;
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_common.c | 852 /* Remove port number. */ 1524 * serverAddr = host:port 1527 * [host]:port 1835 int i, seg, digit, port; local 1840 digit = seg = port = 0; 1857 port++; 1865 if ((seg == 3 && port == 0 && digit > 0 && digit < 4) || 1866 (seg == 4 && port == 1 && digit > 0)) 1880 int i, col, digit, port, dc, tc; local 1888 digit = col = port 1960 int i, seg, alpha, digit, port; local [all...] |
H A D | ns_connect.c | 1508 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...] |
H A D | ns_standalone.c | 125 /* INET6_ADDRSTRLEN + ":" + <5-digit port> + some round-up */ 567 char *port = NULL, local 580 * Assume it's [ipv6]:port 588 /* extract port */ 589 port = end + 2; 595 /* assume it's ipv4:port */ 599 port = end + 1; 601 /* No port */ 617 if (port) 618 /* ':' + port */ [all...] |
H A D | ns_sldap.h | 596 uint16_t port; /* A directory server's port. */ member in struct:ns_dir_server 626 #define SA_PORT ds_profile.server.port
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | ldap_op.c | 393 int port; member in struct:__anon1943 510 /* Accept a server/port indication, and call ldap_init() */ 512 ldapInit(char *srv, int port, bool_t use_ssl) { argument 524 ld = ldapssl_init(srv, port, 1); 526 ld = ldap_init(srv, port); 836 lc->ld = ldapInit(lc->sp, lc->port, proxyInfo.tls_method != no_tls); 940 createCon(char *sp, char *who, char *cred, auth_method_t method, int port) { argument 976 port = atoi(r); 977 } else if (port == 0) 978 port [all...] |
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | pkgweb.c | 200 * on success, *proxy and *port are set to either 201 * the user-supplied proxy and port, or the 206 get_proxy_port(PKG_ERR *err, char **proxy, ushort_t *port) argument 215 if (!get_ENV_proxyport(err, port)) { 230 if (!get_ENV_proxyport(err, port)) { 336 * proxy_port - HTTP proxy port to use, ignored 638 * Description: Returns "port" portion of a "hostname:port" string 640 * Arguments: proxy - full "hostname:port" string pointer 642 * Returns : the "port" portio 1209 int port, status, reason; local 2917 get_ENV_proxyport(PKG_ERR *err, ushort_t *port) argument [all...] |
/osnet-11/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 122 int port; member in struct:conf_entry 453 confent->port = -1; 561 if (strcmp(prop_name, "port") == 0) { 562 if (confent->port != -1) { 564 "'port' property already specified\n"); 567 confent->port = 763 int match_class, char *parent, char *unit_addr, int port) 769 "port = %d\n", (match_class) ? "class" : "parent", parent, 770 STRVAL(unit_addr), port)); 780 if (confent->port 762 lookup_in_confent_list(struct conf_entry *confent_list, int match_class, char *parent, char *unit_addr, int port) argument 813 int port = -1; local [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_printf.c | 502 uint16_t port = htons(*((uint16_t *)addr)); local 506 if ((sv = getservbyport_r(port, NULL, &res, buf, sizeof (buf))) != NULL)
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/ |
H A D | ohci.c | 1214 unsigned int port, unsigned int enable) 1221 grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port)); 1223 if (!enable) /* We don't need reset port */ 1225 /* Disable the port and wait for it. */ 1226 grub_ohci_writereg32 (o, GRUB_OHCI_REG_RHUBPORT + port, 1229 while ((grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port) 1235 grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port)); 1244 /* Reset the port - timing of reset is done by OHCI */ 1245 grub_ohci_writereg32 (o, GRUB_OHCI_REG_RHUBPORT + port, 1250 while (! (grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port) 1211 grub_ohci_portstatus(grub_usb_controller_t dev, unsigned int port, unsigned int enable) argument 1285 grub_ohci_detect_dev(grub_usb_controller_t dev, int port, int *changed) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/ |
H A D | bsd.c | 1560 unsigned port = 0; local 1572 port = grub_strtoul (ptr, &ptr, 0); 1573 if (port >= 4) 1585 serial.device = (GRUB_OPENBSD_COM_MAJOR << 8) | port;
|
/osnet-11/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 542 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/cmd/sendmail/src/ |
H A D | deliver.c | 1312 SM_NONVOLATILE unsigned short port = 0; local 1995 port = htons((unsigned short) atoi(pv[2])); 1996 if (port == 0) 1999 syserr("Invalid port number: %s", pv[2]); 2006 port = sp->s_port; 2133 if (port == 0) 2137 message("Connecting to %s port %d via %s...", 2138 hostbuf, ntohs(port), 2140 i = makeconnection(hostbuf, port, mci, e,
|
H A D | milter.c | 675 /* protocol:filename or protocol:port@host */ 824 unsigned short port; local 826 /* Parse port@host */ 831 sm_dprintf("X%s: bad address %s (expected port@host)\n", 834 syserr("X%s: bad address %s (expected port@host)", 838 "Milter (%s): bad address %s (expected port@host)", 845 port = htons((unsigned short) atoi(colon)); 850 sm_dprintf("X%s: invalid port number %s\n", 853 syserr("X%s: invalid port number %s", 857 "Milter (%s): invalid port numbe 3918 unsigned short port; local [all...] |
H A D | map.c | 3355 ** single server connection to a host (with the same host, port, 3802 ** Cache LDAP connections based on the host, port, bind DN, 4193 case 'p': /* ldap port */ 7436 /* protocol:filename or protocol:port@host */ 7554 unsigned short port; local 7556 /* Parse port@host */ 7560 syserr("socket map \"%s\": bad address %s (expected port@host)", 7566 port = htons((unsigned short) atoi(colon)); 7570 syserr("socket map \"%s\": invalid port number %s", 7579 syserr("socket map \"%s\": unknown port nam [all...] |
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | e1000.c | 4 Drivers are port from Intel's Linux driver e1000-4.3.15 171 e1000_io_read(struct e1000_hw *hw __unused, uint32_t port) argument 173 return inl(port); 177 e1000_io_write(struct e1000_hw *hw __unused, uint32_t port, uint32_t value) argument 179 outl(value, port); 718 * Writes a value to one of the devices registers using port I/O (as opposed to 719 * memory mapped I/O). Only 82544 and newer devices support port I/O. *
|
H A D | tulip.c | 964 /* On some chip revs we must set the MII/SYM port before the reset!? */ 1879 int port = tp->if_port <= 4 ? tp->if_port : 0; local 1883 tp->nic_name, medianame[port == 3 ? 12: port], 1887 outl(t21041_csr14[port], ioaddr + CSR14); 1888 outl(t21041_csr15[port], ioaddr + CSR15); 1889 outl(t21041_csr13[port], ioaddr + CSR13);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | pp_sys.c | 2724 /* If the call succeeded, make sure we don't have a zeroed port/addr */ 4991 unsigned short port = (unsigned short)POPu; local 4997 port = PerlSock_htons(port); 4999 sent = PerlSock_getservbyport(port, proto);
|
/osnet-11/usr/src/cmd/ldap/common/ |
H A D | common.c | 115 fprintf( stderr, gettext(" -p port\tLDAP server1 TCP port number (default: %d)\n"), LDAP_PORT ); 117 fprintf( stderr, gettext(" -p port\tLDAP server2 TCP port number (default: %d)\n"), LDAP_PORT ); 120 fprintf( stderr, gettext(" -p port\tLDAP server TCP port number (default: %d)\n"), LDAP_PORT ); 479 case 'p': /* ldap port */ 1032 int port, rc, user_port; local 1040 port = ldaptool_port2; 1044 port [all...] |
/osnet-11/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 1551 (void) strlcpy(parse_err_msg, gettext("no port"), 1560 * port (col 3) 1568 (void) strlcpy(parse_err_msg, gettext("bad port/proto"), 1596 gettext("invalid port number: %s"), 1680 ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *port = NULL; local 1701 port = attrptr; 1708 port == NULL || port->attrvalue == NULL || 1709 port->attrvalue[0] == NULL || protocol == NULL || 1721 /* port [all...] |
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_ads.c | 359 ld = ldap_init(ads_host->name, ads_host->port); 453 * Decodes ADS hosts, priority, weight and port number from the answer 483 /* port */ 485 NS_GET16(ads_host->port, *ptr); 1238 (void) smb_ads_anon_update_dsattr(host->name, host->port); 1442 if ((ld = ldap_init(ads_host->name, ads_host->port)) == NULL) { 1995 smb_ads_update_dsattr(const char *domain, const char *hostname, int port) argument 2000 rc = smb_ads_host_update_dsattr(domain, hostname, port); 2002 rc = smb_ads_anon_update_dsattr(hostname, port); 2008 smb_ads_host_update_dsattr(const char *domain, const char *hostname, int port) argument 2044 smb_ads_anon_update_dsattr(const char *hostname, int port) argument [all...] |
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 271 * If servname is NULL, return 0 as the port number 272 * If servname is rpcbind, return 111 as the port number 273 * If servname is a number, return it back as the port 395 * If servname is NULL, return 0 as the port number. 396 * If servname is rpcbind, return 111 as the port number 397 * If servname is a number, return it back as the port 545 * We go through all this for just one port number, 641 * one port number, 761 * accept a match using tcp or udp for the port 955 se = _switch_getservbyport_r(args->arg.nss.serv.port, 1403 _switch_getservbyport_r(int port, const char *proto, struct servent *result, char *buffer, int buflen) argument 2158 hsents2ndhostservs(struct hostent *he, struct servent *se, ushort_t port, struct nd_hostservlist **hslist) argument 2299 ndaddr2srent(const char *name, const char *proto, ushort_t port, struct servent *result, char *buffer, int buflen) argument 2406 ndhostserv2srent(int port, const char *proto, struct nd_hostservlist *addrs, struct servent *result, char *buffer, int buflen) argument [all...] |
/osnet-11/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 281 uint16_t port; local 291 port = sin->sin_port; 300 port = sin6->sin6_port; 327 "%s: port %d, %s"), protocol, 328 ntohs(port), printable_addr) < 0) 1292 return (dgettext(TEXT_DOMAIN, "malformed local port")); 1294 return (dgettext(TEXT_DOMAIN, "duplicate local port")); 1296 return (dgettext(TEXT_DOMAIN, "malformed remote port")); 1298 return (dgettext(TEXT_DOMAIN, "duplicate remote port")); 2911 * The port i [all...] |
/osnet-11/usr/src/lib/libuefi_rt/common/ |
H A D | libuefi_rt_path.c | 57 int uefi_add_sata(uint16_t port, uint16_t port_mult, uint16_t lun, 1338 uint16_t port = target & 0x1f; local 1342 * set, it indicates it is connected to port mult. 1343 * If not connected to port mult, set bit 15 of 1351 return (uefi_add_sata(port, port_mult, 0, 1625 uefi_add_sata(uint16_t port, uint16_t port_mult, uint16_t lun, argument 1641 sata->port = port; 2864 sata->port, sata->port_mult, sata->lun);
|
/osnet-11/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 208 * map - loop map returned from fc port 251 * Inserts any missing port wwns for mpxio device paths 264 * port wwns and insert a new wwn list entry for the missed 265 * port wwn 382 * gets the port wwn for a scsi_vhci device using ONLINE path priority 399 * If that fails, get the STANDBY path port WWN 530 /* get port wwn of first ONLINE, STANDBY */ 600 * any missing port wwns. 601 * This allows a search on port wwn for any paths which are 901 /* append a port 4560 uchar_t port = 0; local [all...] |