/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_settid.c | 44 struct sockaddr_in6 peer; local 46 int peerlen = sizeof (peer); 54 /* get peer name */ 55 if (getpeername(fd, (struct sockaddr *)&peer, (socklen_t *)&peerlen) 66 if (peer.sin6_family == AF_INET6) 67 rv = do_ipv6_address(&peer, &sock); 69 rv = do_ipv4_address((struct sockaddr_in *)&peer, 76 do_ipv6_address(struct sockaddr_in6 *peer, struct sockaddr_in6 *sock) argument 96 ai.ai_termid.at_port = ((peer->sin6_port<<16) | (sock->sin6_port)); 98 bcopy(&peer 108 do_ipv4_address(struct sockaddr_in *peer, struct sockaddr_in *sock) argument [all...] |
H A D | adt_token.c | 911 struct sockaddr_in6 peer; local 912 int peerlen = sizeof (peer); 926 if (getpeername(sock, (struct sockaddr *)&peer, (socklen_t *)&peerlen) 932 if (peer.sin6_family == AF_INET6) { 934 au_to_in_addr_ex(&(peer.sin6_addr))); 936 au_to_iport((ushort_t)peer.sin6_port)); 939 au_to_in_addr(&(((struct sockaddr_in *)&peer)->sin_addr))); 942 (ushort_t)(((struct sockaddr_in *)&peer)->sin_port)));
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | standalone.c | 62 separatePort(char *peer, char **name, uint16_t *port) argument 66 chr = strchr(peer, '['); 71 chr = strchr(peer, ']'); 87 chr = strchr(peer, ']'); 95 chr = strchr(peer, ':'); 101 *name = peer;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/logindmux/ |
H A D | logindmux.c | 34 * Print our peer's upper queue pointer, and our lower queue pointer. 40 uintptr_t peer, lower; local 50 * Now read in the lower's peer, and follow that to up to our peer. 54 peer = (uintptr_t)tmx.rdq; 56 (void) mdb_snprintf(buf, nbytes, "peer rq : %p\nlower wq : %p", 57 peer, lower); 61 * Print our peer's lower queue pointer, and our upper queue pointer. 69 (void) mdb_snprintf(buf, nbytes, "peer wq : %p\nupper rq : %p",
|
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | print-job.c | 105 "peer-socket", &fp); 108 struct sockaddr_in peer; local 109 socklen_t peer_len = sizeof (peer); 111 /* who is our peer ? */ 112 if (getpeername(fp, (struct sockaddr *)&peer, 121 if ((he = getipnodebyaddr((const char *)&peer.sin_addr, 122 sizeof (peer.sin_addr), peer.sin_family, 129 (char *)inet_ntop(peer.sin_family, 130 &peer [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | nb_name.c | 81 nb_sockaddr(struct sockaddr *peer, struct nb_name *np, argument 89 if (peer && (peer->sa_family != AF_INET)) 105 if (peer) { 107 sin = (struct sockaddr_in *)peer;
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_stree.c | 356 pnode_t peer; local 360 peer = prom_nextnode(node); 361 if (peer == 0) 363 if (prom_getproplen(peer, "name") <= 0) { 364 node = peer; 367 pnp = create_node(np->pn_parent, peer); 369 create_children(pnp, peer); 371 node = peer;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | picllibdevinfo.c | 785 di_node_t rnode, curr, peer; local 807 peer = di_child_node(rnode); 808 while (peer != DI_NODE_NIL) { 809 curr = peer; 810 peer = di_sibling_node(curr);
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 66 struct sockaddr_in6 peer; local 67 socklen_t peer_len = sizeof (peer); 73 /* who is our peer ? */ 74 if (getpeername(fd, (struct sockaddr *)&peer, &peer_len) < 0) { 82 if ((hp = getipnodebyaddr((const char *)&peer.sin6_addr, 85 return (strdup(inet_ntop(peer.sin6_family, 86 &peer.sin6_addr, tmp_buf, sizeof (tmp_buf))));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcpv6.c | 80 in6_addr_t link, peer; local 97 (void) memcpy(&peer, d6r.d6r_peeraddr, sizeof (peer)); 99 " HC=%d link=%s peer=%s", d6r.d6r_hop_count, 102 inet_ntop(AF_INET6, &peer, peerstr,
|
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/ |
H A D | cvcd.c | 151 * If there is no /etc/ssphostname disable peer check after 585 struct sockaddr_in *peer; local 631 * peer since we cant do gethostbyname. 643 * Verify peer is from specified host by comparing the 663 peer = (struct sockaddr_in *)addr; 666 if (memcmp(&peer->sin_addr.s_addr, &tmpaddr, 676 inet_ntoa(peer->sin_addr));
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.c | 164 frt_get_peer(fru_treehdl_t sibling, fru_treehdl_t *peer) argument
|
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | package.c | 208 CHECK_DEPTH(env, 1, "peer"); 210 REVERT_PHANDLE(env, TOS, d->peer); 217 device_t *peer; local 226 /* Insert new child at end of peer list */ 227 for (peer = parent->child; peer->peer; peer = peer->peer) [all...] |
/illumos-gate/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 75 {"peer", no_argument, 0, 'P'}, 570 vrrp_peer_t *peer = &qinfo->show_vp; local 619 VRRPADDR2STR(conf->vvc_af, &peer->vp_addr, 623 (void) snprintf(buf, bufsize, "%d", peer->vp_prio); 626 (void) snprintf(buf, bufsize, "%d", peer->vp_adver_int);
|
/illumos-gate/usr/src/uts/common/inet/nca/ |
H A D | ncadoorhdr.h | 241 nca_offset_t peer; /* offset into meta data area */ member in struct:nca_io2_s 256 * Following this structure is optional meta data, peer and local
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_send.c | 339 struct sockaddr_storage peer; local 355 peerlen = sizeof(peer); 357 (struct sockaddr *)&peer, &peerlen) < 0) { 361 if (!sock_eq((struct sockaddr *)&peer, 632 struct sockaddr_storage peer; local 633 ISC_SOCKLEN_T size = sizeof peer; 636 (struct sockaddr *)&peer, &size) < 0 || 637 !sock_eq((struct sockaddr *)&peer, nsap)) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 1216 * If there is a valid peer physical ap_id specified, 1222 char *peer; local 1240 peer = logid; 1242 peer = physid; 1245 info += snprintf(info, end - info, p[MI_TARGET], peer); 1250 info += snprintf(info, end - info, p[MI_SOURCE], peer);
|
/illumos-gate/usr/src/lib/efcode/include/fcode/ |
H A D | engine.h | 120 device_t *peer; member in struct:DEVICE
|
/illumos-gate/usr/src/lib/libfru/libfrupicl/ |
H A D | frupicl.c | 257 fpt_get_peer(fru_treehdl_t sibling, fru_treehdl_t *peer) argument 269 *peer = PICLHDL_TO_TREEHDL(picl_peer); 363 /* and if this is not good keep trying to find a peer which */ 387 /* and if this is not good keep trying to find a peer which */
|
/illumos-gate/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 268 fpt_get_peer(fru_treehdl_t sibling, fru_treehdl_t *peer) argument 280 *peer = PICLHDL_TO_TREEHDL(picl_peer); 374 /* and if this is not good keep trying to find a peer which */ 398 /* and if this is not good keep trying to find a peer which */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 102 static int peer; variable 362 "Unknown address Family on peer connection %d", 399 "Unknown address Family on peer connection"); 402 peer = socket(addrfmly, SOCK_DGRAM, 0); 403 if (peer < 0) { 414 (void) setsockopt(peer, SOL_SOCKET, SO_DEBUG, 418 if (bind(peer, (struct sockaddr *)&client, fromplen) < 0) { 440 if (getsockname(peer, (struct sockaddr *)&client, 452 (void) close(peer); 507 peer [all...] |
/illumos-gate/usr/src/cmd/iscsiadm/ |
H A D | iscsiadm.h | 180 IMA_ADDRESS_KEY peer; member in struct:_SUN_IMA_CONN_PROPERTIES
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_dma.c | 32 * bypass and peer-to-peer support 54 * strictly for peer-to-peer transfers which do not obey system limits. 163 * mp->dmai_flags - no limit? peer-to-peer only? 337 * peer-to-peer; ensure that the caller has no alignment or 368 * px_dma_type - determine which of the three types DMA (peer-to-peer, 554 int i, ret, peer = PX_DMA_ISPTP(mp); local [all...] |
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | fcode.h | 267 * peer ( phandle -- phandle.sibling ) 281 #define FC_PEER_FCODE "peer" 424 struct fc_device_tree *peer; member in struct:fc_device_tree
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_dma.c | 32 * bypass and peer-to-peer support 245 * strictly for peer-to-peer transfers which do not obey system limits. 344 * mp->dmai_flags - no limit? peer-to-peer only? 485 if (hi <= lo) { /* peer transfers cannot have alignment & nocross */ 487 cmn_err(CE_WARN, "%s%d peer only dev %p", NAMEINST(rdip), mp); 489 cmn_err(CE_WARN, "%s%d peer only device bad attr", 531 * pci_dma_type - determine which of the three types DMA (peer 765 int i, ret, peer = PCI_DMA_ISPTP(mp); local [all...] |