/external/openssh/openbsd-compat/ |
D | bindresvport.c | 56 struct sockaddr_storage myaddr; in bindresvport_sa() local 65 memset(&myaddr, 0, sizeof(myaddr)); in bindresvport_sa() 66 sa = (struct sockaddr *)&myaddr; in bindresvport_sa() 67 salen = sizeof(myaddr); in bindresvport_sa() 73 memset(&myaddr, 0, salen); in bindresvport_sa()
|
/external/android-clat/ |
D | config.c | 198 void gen_random_iid(struct in6_addr *myaddr, struct in_addr *ipv4_local_subnet, in gen_random_iid() argument 201 arc4random_buf(&myaddr->s6_addr[8], 8); in gen_random_iid() 209 uint16_t middlebytes = (myaddr->s6_addr[11] << 8) + myaddr->s6_addr[12]; in gen_random_iid() 213 ip_checksum_add(0, myaddr, sizeof(*myaddr)); in gen_random_iid() 216 myaddr->s6_addr[11] = delta >> 8; in gen_random_iid() 217 myaddr->s6_addr[12] = delta & 0xff; in gen_random_iid()
|
D | clatd_test.cpp | 621 struct in6_addr myaddr, expected; in TEST_F() local 625 ASSERT_TRUE(inet_pton(AF_INET6, "2001:db8:1:2:f076:ae99:124e:aa54", &myaddr)); in TEST_F() 626 config_generate_local_ipv6_subnet(&myaddr); in TEST_F() 627 expect_ipv6_addr_equal(&expected, &myaddr); in TEST_F() 630 config_generate_local_ipv6_subnet(&myaddr); in TEST_F() 631 EXPECT_FALSE(IN6_ARE_ADDR_EQUAL(&expected, &myaddr)); in TEST_F() 643 struct in6_addr myaddr = interface_ipv6; in TEST_F() local 645 config_generate_local_ipv6_subnet(&myaddr); in TEST_F() 648 EXPECT_TRUE(ipv6_prefix_equal(&interface_ipv6, &myaddr)); in TEST_F() 651 uint64_t iid = * (uint64_t*) (&myaddr.s6_addr[8]); in TEST_F() [all …]
|
/external/valgrind/coregrind/m_gdbserver/ |
D | target.h | 196 unsigned char *myaddr, int len); 202 const unsigned char *myaddr, int len);
|
D | target.c | 487 int valgrind_read_memory (CORE_ADDR memaddr, unsigned char *myaddr, int len) in valgrind_read_memory() argument 496 VG_(memcpy) (myaddr, sourceaddr, len); in valgrind_read_memory() 505 const unsigned char *myaddr, int len) in valgrind_write_memory() argument 517 VG_(memcpy) (targetaddr, myaddr, len); in valgrind_write_memory()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 406 u8 *myaddr = rsn->wpa_s->own_addr; in mesh_rsn_derive_aek() local 419 if (os_memcmp(myaddr, peer, ETH_ALEN) < 0) { in mesh_rsn_derive_aek() 420 addr1 = myaddr; in mesh_rsn_derive_aek() 424 addr2 = myaddr; in mesh_rsn_derive_aek() 440 u8 *myaddr = wpa_s->own_addr; in mesh_rsn_derive_mtk() local 479 if (os_memcmp(myaddr, peer, ETH_ALEN) < 0) { in mesh_rsn_derive_mtk() 480 min = myaddr; in mesh_rsn_derive_mtk() 484 max = myaddr; in mesh_rsn_derive_mtk()
|
/external/iputils/ |
D | clockdiff.c | 625 struct sockaddr_in myaddr; in main() local 626 socklen_t addrlen = sizeof(myaddr); in main() 634 if (getsockname(sock_raw, (struct sockaddr*)&myaddr, &addrlen) == -1) { in main() 638 ((__u32*)(rspace+4))[0*2] = myaddr.sin_addr.s_addr; in main() 640 ((__u32*)(rspace+4))[2*2] = myaddr.sin_addr.s_addr; in main() 643 ((__u32*)(rspace+4))[3*2] = myaddr.sin_addr.s_addr; in main()
|
/external/valgrind/coregrind/ |
D | vgdb-invoker-solaris.c | 90 const void *myaddr, size_t len) in write_memory() argument 107 PDEBUG(1, "%02x", ((const unsigned char *) myaddr)[i]); in write_memory() 111 ssize_t written = pwrite(as_fd, myaddr, len, memaddr); in write_memory() 116 procname, len, (Addr) myaddr, memaddr); in write_memory()
|
D | vgdb-invoker-ptrace.c | 103 void *myaddr, size_t len) in ptrace_read_memory() argument 126 memcpy (myaddr, in ptrace_read_memory() 139 const void *myaddr, size_t len) in ptrace_write_memory() argument 155 PDEBUG (1, "%02x", ((const unsigned char*)myaddr)[i]); in ptrace_write_memory() 175 myaddr, len); in ptrace_write_memory()
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 836 delmyaddr(myaddr) in delmyaddr() argument 837 struct myaddrs *myaddr; in delmyaddr() 839 if (myaddr->addr) 840 racoon_free(myaddr->addr); 841 racoon_free(myaddr);
|
/external/libvncserver/libvncclient/ |
D | sockets.c | 751 struct sockaddr_in peeraddr, myaddr; local 755 getsockname(sock, (struct sockaddr *)&myaddr, &addrlen); 757 return (peeraddr.sin_addr.s_addr == myaddr.sin_addr.s_addr);
|
/external/netperf/src/ |
D | nettest_xti.c | 5022 struct sockaddr_in *myaddr; in send_xti_tcp_conn_rr() local 5042 myaddr = (struct sockaddr_in *)malloc(sizeof(struct sockaddr_in)); in send_xti_tcp_conn_rr() 5043 if (myaddr == NULL) { in send_xti_tcp_conn_rr() 5050 bzero((char *)myaddr, in send_xti_tcp_conn_rr() 5052 myaddr->sin_family = AF_INET; in send_xti_tcp_conn_rr() 5230 myaddr->sin_port = htons(myport); in send_xti_tcp_conn_rr() 5262 (struct sockaddr *)myaddr, in send_xti_tcp_conn_rr() 5265 ntohs(myaddr->sin_port)); in send_xti_tcp_conn_rr() 5284 printf(" from port %d \n",ntohs(myaddr->sin_port)); in send_xti_tcp_conn_rr() 5342 ntohs(myaddr->sin_port)); in send_xti_tcp_conn_rr() [all …]
|
D | nettest_bsd.c | 9950 struct sockaddr_in *myaddr; in send_tcp_tran_rr() local 9977 myaddr = (struct sockaddr_storage *)malloc(sizeof(struct sockaddr_storage)); in send_tcp_tran_rr() 9978 if (myaddr == NULL) { in send_tcp_tran_rr() 9985 bzero((char *)myaddr, in send_tcp_tran_rr() 9987 myaddr->sin_family = AF_INET; in send_tcp_tran_rr() 10124 myaddr->sin_port = htons((unsigned short)myport); in send_tcp_tran_rr() 10194 myport = ntohs(myaddr->sin_port); in send_tcp_tran_rr() 10213 myaddr->sin_port = htons((unsigned short)myport); in send_tcp_tran_rr() 10223 (struct sockaddr *)myaddr, in send_tcp_tran_rr() 10232 ntohs(myaddr->sin_port), in send_tcp_tran_rr() [all …]
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 1624 bindsocket.bind(('myaddr.mydomain.com', 10023))
|