Searched defs:peer (Results 1 - 12 of 12) sorted by relevance

/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_settid.c44 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 Dadt.c561 adt_do_ipv6_address(struct sockaddr_in6 *peer, struct sockaddr_in6 *sock, argument
565 termid->at_port = ((peer->sin6_port<<16) | (sock->sin6_port));
567 (void) memcpy(termid->at_addr, &peer->sin6_addr, 4 * sizeof (uint_t));
571 adt_do_ipv4_address(struct sockaddr_in *peer, struct sockaddr_in *sock, argument
575 termid->at_port = ((peer->sin_port<<16) | (sock->sin_port));
578 termid->at_addr[0] = (uint32_t)peer->sin_addr.s_addr;
594 struct sockaddr_in6 peer; local
596 int peerlen = sizeof (peer);
599 /* get peer name if its a socket, else assume local terminal */
601 if (getpeername(fd, (struct sockaddr *)&peer, (socklen_
[all...]
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dstandalone.c59 separatePort(char *peer, char **name, uint16_t *port) argument
63 chr = strchr(peer, '[');
66 chr = strchr(peer, ']');
74 *name = peer;
79 chr = strchr(peer, ']');
87 *name = peer;
89 chr = strchr(peer, ':');
H A Dldapclient.c1459 char peer[MAX_HOSTADDR_LEN]; local
1520 (void) strncpy(peer, arglist->defaultServerList, MAX_HOSTADDR_LEN - 1);
1521 if (separatePort(peer, &cfg.SA_SERVER, &cfg.SA_PORT) > 0) {
/osnet-11/usr/src/lib/libfru/libfruraw/
H A Dfruraw.c164 frt_get_peer(fru_treehdl_t sibling, fru_treehdl_t *peer) argument
/osnet-11/usr/src/lib/efcode/engine/
H A Dpackage.c188 CHECK_DEPTH(env, 1, "peer");
190 REVERT_PHANDLE(env, TOS, d->peer);
197 device_t *peer; local
206 /* Insert new child at end of peer list */
207 for (peer = parent->child; peer->peer; peer = peer->peer)
[all...]
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c346 struct sockaddr_storage peer; local
362 peerlen = sizeof(peer);
364 (struct sockaddr *)&peer, &peerlen) < 0) {
368 if (!sock_eq((struct sockaddr *)&peer,
714 struct sockaddr_storage peer; local
715 ISC_SOCKLEN_T size = sizeof peer;
718 (struct sockaddr *)&peer, &size) < 0 ||
719 !sock_eq((struct sockaddr *)&peer, nsap)) {
/osnet-11/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c257 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 */
/osnet-11/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c268 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 */
/osnet-11/usr/src/lib/efcode/include/fcode/
H A Dengine.h120 device_t *peer; member in struct:DEVICE
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_sbd.c1216 * 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);
/osnet-11/usr/src/lib/libfru/libfru/
H A Dlibfru.cc551 * if the child is not valid try and find a peer of the child which is
575 fru_get_peer(fru_nodehdl_t handle, fru_nodehdl_t *peer) argument
599 *peer = TREEHDL_TO_NODEHDL(tr_peer);

Completed in 61 milliseconds