Home
last modified time | relevance | path

Searched refs:fromp (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/common/
H A Daddr_match.c46 const struct sockaddr_storage *fromp, in find_match() argument
53 if ((fromp->ss_family == AF_INET && sin == NULL) || in find_match()
54 (fromp->ss_family == AF_INET6 && sin6 == NULL)) in find_match()
63 if (ai->ai_family != fromp->ss_family) in find_match()
88 const struct sockaddr_storage *fromp, in check_address() argument
106 hints.ai_family = fromp->ss_family; in check_address()
108 match_found = find_match(res, fromp, sin, sin6); in check_address()
H A Daddr_match.h40 void check_address(const char *prog, const struct sockaddr_storage *fromp,
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rexecd.c78 static void doit(int f, struct sockaddr_storage *fromp);
162 doit(int f, struct sockaddr_storage *fromp) in doit() argument
202 if (fromp->ss_family == AF_INET) { in doit()
203 sin = (struct sockaddr_in *)fromp; in doit()
206 } else if (fromp->ss_family == AF_INET6) { in doit()
207 sin6 = (struct sockaddr_in6 *)fromp; in doit()
212 fromp->ss_family); in doit()
219 if (getnameinfo((const struct sockaddr *) fromp, fromplen, hostname, in doit()
221 if (fromp->ss_family == AF_INET6) { in doit()
233 } else if (fromp->ss_family == AF_INET) { in doit()
[all …]
H A Din.rshd.c432 doit(int f, struct sockaddr_storage *fromp, char **renvp) in doit() argument
488 if (fromp->ss_family == AF_INET) { in doit()
489 sin = (struct sockaddr_in *)fromp; in doit()
492 } else if (fromp->ss_family == AF_INET6) { in doit()
493 sin6 = (struct sockaddr_in6 *)fromp; in doit()
501 if (fromp->ss_family == AF_INET6) { in doit()
512 } else if (fromp->ss_family == AF_INET) { in doit()
528 no_name = (getnameinfo((const struct sockaddr *) fromp, fromplen, in doit()
557 check_address("rshd", fromp, sin, sin6, abuf, hostname, in doit()
619 if (fromp->ss_family == AF_INET) { in doit()
[all …]
H A Din.rlogind.c934 struct sockaddr_storage *fromp, in doit() argument
961 if (fromp->ss_family == AF_INET) { in doit()
962 sin = (struct sockaddr_in *)fromp; in doit()
969 } else if (fromp->ss_family == AF_INET6) { in doit()
970 sin6 = (struct sockaddr_in6 *)fromp; in doit()
989 fromp->ss_family); in doit()
1004 no_name = getnameinfo((const struct sockaddr *) fromp, in doit()
1020 check_address("rlogind", fromp, sin, sin6, rhost_addra, in doit()
/titanic_50/usr/src/uts/i86pc/io/apix/
H A Dapix_utils.c649 apix_vector_t *fromp, *top; in apix_dup_vectors() local
657 fromp = xv_vector(oldcpu, oldvec + i); in apix_dup_vectors()
659 ASSERT(fromp != NULL && top != NULL); in apix_dup_vectors()
662 top->v_state = fromp->v_state; in apix_dup_vectors()
663 top->v_type = fromp->v_type; in apix_dup_vectors()
664 top->v_bound_cpuid = fromp->v_bound_cpuid; in apix_dup_vectors()
665 top->v_inum = fromp->v_inum; in apix_dup_vectors()
666 top->v_flags = fromp->v_flags; in apix_dup_vectors()
667 top->v_intrmap_private = fromp->v_intrmap_private; in apix_dup_vectors()
669 for (avp = fromp->v_autovect; avp != NULL; avp = avp->av_link) { in apix_dup_vectors()
[all …]
/titanic_50/usr/src/cmd/sendmail/aux/
H A Dmailcompat.c43 char *fromp; variable
98 fromuser = getfrom(&fromp);
/titanic_50/usr/src/uts/common/cpr/
H A Dcpr_dump.c961 caddr_t fromp = buffer; in cpr_write() local
980 cprbcopy(fromp, cpr_wptr, bytes); in cpr_write()
982 fromp += bytes; in cpr_write()
999 (void *)fromp, (void *)cpr_wptr, bytes); in cpr_write()