Home
last modified time | relevance | path

Searched refs:sin4 (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/network/lib6/
Dasapi_01.c348 struct sockaddr_in sin4; in isocketpair() local
353 memset(&sin4, 0, sizeof(sin4)); in isocketpair()
355 SAFE_BIND(NULL, listen_fd, (struct sockaddr *)&sin4, sizeof(sin4)); in isocketpair()
359 namelen = sizeof(sin4); in isocketpair()
360 SAFE_GETSOCKNAME(NULL, listen_fd, (struct sockaddr *)&sin4, &namelen); in isocketpair()
367 sin4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in isocketpair()
369 SAFE_CONNECT(NULL, fd[0], (struct sockaddr *)&sin4, sizeof(sin4)); in isocketpair()
/external/ltp/testcases/kernel/syscalls/connect/
Dconnect01.c61 struct sockaddr_in sin1, sin2, sin3, sin4; variable
107 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin4,
108 sizeof(sin4), -1, EAFNOSUPPORT, setup1, cleanup1,
176 sin4.sin_family = 47; /* bogus address family */ in setup()
177 sin4.sin_port = 0; in setup()
178 sin4.sin_addr.s_addr = htonl(0x0AFFFEFD); in setup()
/external/libpcap/
Dinet.c130 register struct sockaddr_in *sin4; local
183 sin4 = (struct sockaddr_in *)&ifr.ifr_addr;
184 *netp = sin4->sin_addr.s_addr;
198 *maskp = sin4->sin_addr.s_addr;
Dgencode.c6206 struct sockaddr_in *sin4; in gen_scode() local
6342 sin4 = (struct sockaddr_in *) in gen_scode()
6344 tmp = gen_host(cstate, ntohl(sin4->sin_addr.s_addr), in gen_scode()
/external/ipsec-tools/src/libipsec/
Dkey_debug.c783 struct sockaddr_in *sin4; local
797 sin4 = (void *)addr;
798 printf(" port=%u\n", ntohs(sin4->sin_port));
799 ipsec_hexdump(&sin4->sin_addr, sizeof(sin4->sin_addr));
/external/ltp/testcases/kernel/syscalls/recv/
Drecv01.c62 struct sockaddr_in sin1, sin2, sin3, sin4; variable