Home
last modified time | relevance | path

Searched refs:sa_in (Results 1 – 4 of 4) sorted by relevance

/external/netperf/src/missing/
Dgetaddrinfo.c337 struct sockaddr_in *sa_in; local
484 sa_in = (struct sockaddr_in *)new_res->ai_addr;
485 memset(sa_in, 0, sizeof(struct sockaddr_in));
486 sa_in->sin_family = PF_INET;
487 sa_in->sin_port = port;
488 memcpy(&sa_in->sin_addr, *ap, sizeof(struct in_addr));
526 const struct sockaddr_in *sa_in = (const struct sockaddr_in *)sa; local
539 if (sa_in->sin_family != PF_INET) {
551 servent = getservbyport(sa_in->sin_port, "udp");
553 servent = getservbyport(sa_in->sin_port, "tcp");
[all …]
/external/curl/lib/
Dsockaddr.h30 struct sockaddr_in sa_in; member
/external/openssh/
Dloginrec.h44 struct sockaddr_in sa_in; member
Dloginrec.c702 ut->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmp()
784 utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr; in construct_utmpx()