Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Daddr_match.c44 const struct sockaddr_storage *fromp, in find_match() argument
51 if ((fromp->ss_family == AF_INET && sin == NULL) || in find_match()
52 (fromp->ss_family == AF_INET6 && sin6 == NULL)) in find_match()
61 if (ai->ai_family != fromp->ss_family) in find_match()
86 const struct sockaddr_storage *fromp, in check_address() argument
104 hints.ai_family = fromp->ss_family; in check_address()
106 match_found = find_match(res, fromp, sin, sin6); in check_address()
H A Daddr_match.h38 void check_address(const char *prog, const struct sockaddr_storage *fromp,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rexecd.c80 static void doit(int f, struct sockaddr_storage *fromp);
164 doit(int f, struct sockaddr_storage *fromp) in doit() argument
204 if (fromp->ss_family == AF_INET) { in doit()
205 sin = (struct sockaddr_in *)fromp; in doit()
208 } else if (fromp->ss_family == AF_INET6) { in doit()
209 sin6 = (struct sockaddr_in6 *)fromp; in doit()
214 fromp->ss_family); in doit()
221 if (getnameinfo((const struct sockaddr *) fromp, fromplen, hostname, in doit()
223 if (fromp->ss_family == AF_INET6) { in doit()
235 } 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()
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_utils.c651 apix_vector_t *fromp, *top; in apix_dup_vectors() local
659 fromp = xv_vector(oldcpu, oldvec + i); in apix_dup_vectors()
661 ASSERT(fromp != NULL && top != NULL); in apix_dup_vectors()
664 top->v_state = fromp->v_state; in apix_dup_vectors()
665 top->v_type = fromp->v_type; in apix_dup_vectors()
666 top->v_bound_cpuid = fromp->v_bound_cpuid; in apix_dup_vectors()
667 top->v_inum = fromp->v_inum; in apix_dup_vectors()
668 top->v_flags = fromp->v_flags; in apix_dup_vectors()
669 top->v_intrmap_private = fromp->v_intrmap_private; in apix_dup_vectors()
671 for (avp = fromp->v_autovect; avp != NULL; avp = avp->av_link) { in apix_dup_vectors()
[all …]
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmailcompat.c43 char *fromp; variable
98 fromuser = getfrom(&fromp);
/illumos-gate/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()