/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/ |
H A D | getaddrinfo.c | 129 struct sockaddr_in6 *sinp = (char *) tmp + sizeof (*tmp); local 132 sinp->sin6_port = se->s_port; 134 if (he->h_length != sizeof (sinp->sin6_addr)) 137 memcpy (&sinp->sin6_addr, he->h_addr_list[0], he->h_length); 139 tmp->ai_addr = (struct sockaddr *) sinp; 148 struct sockaddr_in *sinp = (char *) tmp + sizeof (*tmp); local 151 sinp->sin_port = se->s_port; 153 if (he->h_length != sizeof (sinp->sin_addr)) 156 memcpy (&sinp->sin_addr, he->h_addr_list[0], he->h_length); 158 tmp->ai_addr = (struct sockaddr *) sinp; [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/ |
H A D | nfs_prot_svc.c | 123 struct sockaddr_in *sinp; local 125 sinp = amu_svc_getcaller(rqstp->rq_xprt); 128 if (sinp && 129 ntohs(sinp->sin_port) >= IPPORT_RESERVED && 132 inet_dquad(dq, sizeof(dq), sinp->sin_addr.s_addr), 133 ntohs(sinp->sin_port)); 138 if (sinp && (sinp->sin_addr.s_addr != myipaddr.s_addr)) { 140 if (!is_interface_local(sinp->sin_addr.s_addr)) { 142 inet_dquad(dq, sizeof(dq), sinp [all...] |
/netbsd-6-1-5-RELEASE/dist/smbfs/lib/smb/ |
H A D | nb_net.c | 75 struct sockaddr_in *sinp; local 91 sinp = malloc(res[0].ai_addrlen); 92 if (sinp == NULL) 94 memcpy(sinp, res[0].ai_addr, res[0].ai_addrlen); 98 *dest = (struct sockaddr*)sinp;
|
/netbsd-6-1-5-RELEASE/lib/libc/rpc/ |
H A D | rpc_generic.c | 640 struct sockaddr_in *sinp; local 653 sinp = nbuf->buf; 654 if (inet_ntop(af, &sinp->sin_addr, namebuf, sizeof namebuf) 657 port = ntohs(sinp->sin_port); 692 struct sockaddr_in *sinp; local 730 sinp = malloc(sizeof(*sinp)); 731 if (sinp == NULL) 733 memset(sinp, 0, sizeof *sinp); [all...] |
/netbsd-6-1-5-RELEASE/tests/fs/common/nfsrpc/ |
H A D | rpc_generic.c | 643 struct sockaddr_in *sinp; local 656 sinp = nbuf->buf; 657 if (inet_ntop(af, &sinp->sin_addr, namebuf, sizeof namebuf) 660 port = ntohs(sinp->sin_port); 695 struct sockaddr_in *sinp; local 733 sinp = malloc(sizeof(*sinp)); 734 if (sinp == NULL) 736 memset(sinp, 0, sizeof *sinp); [all...] |
/netbsd-6-1-5-RELEASE/sys/netinet6/ |
H A D | udp6_output.c | 251 struct sockaddr_in *sinp, sin_dst; local 256 sinp = in_selectsrc(&sin_dst, &in6p->in6p_route, 259 if (sinp == NULL) { 267 &sinp->sin_addr, 268 sizeof(sinp->sin_addr));
|
H A D | in6_pcb.c | 487 struct sockaddr_in sin, *sinp; local 494 sinp = in_selectsrc(&sin, &in6p->in6p_route, 496 if (sinp == 0) { 503 memcpy(&mapped.s6_addr32[3], &sinp->sin_addr, sizeof(sinp->sin_addr));
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/transp/ |
H A D | transp_tli.c | 84 struct sockaddr_in *sinp = (struct sockaddr_in *) addrs->n_addrs[0].buf; local 89 iap->s_addr = sinp->sin_addr.s_addr; /* XXX: used to be htonl() */
|
/netbsd-6-1-5-RELEASE/usr.sbin/mountd/ |
H A D | mountd.c | 1944 struct sockaddr_in sin, *sinp; local 2032 sinp = (struct sockaddr_in *)sa; 2033 if (IN_CLASSA(sinp->sin_addr.s_addr)) 2035 else if (IN_CLASSB(sinp->sin_addr.s_addr)) 2037 else if (IN_CLASSC(sinp->sin_addr.s_addr)) 2039 else if (IN_CLASSD(sinp->sin_addr.s_addr))
|
/netbsd-6-1-5-RELEASE/tests/fs/nfs/nfsservice/ |
H A D | mountd.c | 2037 struct sockaddr_in sin, *sinp; local 2125 sinp = (struct sockaddr_in *)sa; 2126 if (IN_CLASSA(sinp->sin_addr.s_addr)) 2128 else if (IN_CLASSB(sinp->sin_addr.s_addr)) 2130 else if (IN_CLASSC(sinp->sin_addr.s_addr)) 2132 else if (IN_CLASSD(sinp->sin_addr.s_addr))
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/ |
H A D | builtins.c | 2357 tree arg, sinp, cosp; 2366 sinp = CALL_EXPR_ARG (exp, 1); 2380 op1 = expand_normal (build_fold_indirect_ref_loc (loc, sinp)); 2356 tree arg, sinp, cosp; local
|