Searched refs:sin4 (Results 1 – 8 of 8) sorted by relevance
/external/ltp/testcases/network/lib6/ |
D | asapi_01.c | 348 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/ |
D | connect01.c | 62 struct sockaddr_in sin1, sin2, sin3, sin4; variable 108 PF_INET, SOCK_STREAM, 0, (struct sockaddr *)&sin4, 109 sizeof(sin4), -1, EAFNOSUPPORT, setup1, cleanup1, 195 sin4.sin_family = 47; /* bogus address family */ in setup() 196 sin4.sin_port = 0; in setup() 197 sin4.sin_addr.s_addr = htonl(0x0AFFFEFD); in setup()
|
/external/ipsec-tools/src/libipsec/ |
D | key_debug.c | 783 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/libwebsockets/lib/core-net/ |
D | network.c | 162 struct sockaddr_in sin4; in lws_get_peer_addresses() local 175 len = sizeof(sin4); in lws_get_peer_addresses() 176 p = &sin4; in lws_get_peer_addresses()
|
/external/ltp/testcases/kernel/syscalls/recv/ |
D | recv01.c | 63 struct sockaddr_in sin1, sin2, sin3, sin4; variable
|
/external/libpcap/ |
D | pcap.c | 1570 register struct sockaddr_in *sin4; local 1629 sin4 = (struct sockaddr_in *)&ifr.ifr_addr; 1630 *netp = sin4->sin_addr.s_addr; 1644 *maskp = sin4->sin_addr.s_addr;
|
D | pcap-rpcap.c | 1101 struct sockaddr_in *sin4; in pcap_startcapture_remote() local 1209 sin4 = (struct sockaddr_in *)&saddr; in pcap_startcapture_remote() 1210 portdata = sin4->sin_port; in pcap_startcapture_remote()
|
D | gencode.c | 6670 struct sockaddr_in *sin4; in gen_scode() local 6806 sin4 = (struct sockaddr_in *) in gen_scode() 6808 tmp = gen_host(cstate, ntohl(sin4->sin_addr.s_addr), in gen_scode()
|