Home
last modified time | relevance | path

Searched refs:myaddr (Results 1 – 7 of 7) sorted by relevance

/external/openssh/openbsd-compat/
Dbindresvport.c56 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/
Dclatd_test.cpp813 void gen_random_iid(struct in6_addr *myaddr, struct in_addr *ipv4_local_subnet, in gen_random_iid() argument
816 arc4random_buf(&myaddr->s6_addr[8], 8); in gen_random_iid()
824 uint16_t middlebytes = (myaddr->s6_addr[11] << 8) + myaddr->s6_addr[12]; in gen_random_iid()
828 ip_checksum_add(0, myaddr, sizeof(*myaddr)); in gen_random_iid()
831 myaddr->s6_addr[11] = delta >> 8; in gen_random_iid()
832 myaddr->s6_addr[12] = delta & 0xff; in gen_random_iid()
931 in6_addr myaddr = sTun.srcAddr(); in TEST_F() local
932 gen_random_iid(&myaddr, &Global_Clatd_Config.ipv4_local_subnet, &Global_Clatd_Config.plat_subnet); in TEST_F()
934 ASSERT_NE(nullptr, inet_ntop(AF_INET6, &myaddr, addrstr, sizeof(addrstr))); in TEST_F()
/external/iputils/
Dclockdiff.c625 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/wpa_supplicant_8/wpa_supplicant/
Dmesh_rsn.c425 u8 *myaddr = rsn->wpa_s->own_addr; in mesh_rsn_derive_aek() local
438 if (os_memcmp(myaddr, peer, ETH_ALEN) < 0) { in mesh_rsn_derive_aek()
439 addr1 = myaddr; in mesh_rsn_derive_aek()
443 addr2 = myaddr; in mesh_rsn_derive_aek()
459 u8 *myaddr = wpa_s->own_addr; in mesh_rsn_derive_mtk() local
498 if (os_memcmp(myaddr, peer, ETH_ALEN) < 0) { in mesh_rsn_derive_mtk()
499 min = myaddr; in mesh_rsn_derive_mtk()
503 max = myaddr; in mesh_rsn_derive_mtk()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c836 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/python/cpython2/Doc/library/
Dssl.rst1648 bindsocket.bind(('myaddr.mydomain.com', 10023))
/external/python/cpython3/Doc/library/
Dssl.rst2335 bindsocket.bind(('myaddr.mydomain.com', 10023))