Home
last modified time | relevance | path

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

/external/libevent/test/
Dregress_testutils.c101 struct sockaddr_in my_addr; in regress_get_dnsserver() local
110 memset(&my_addr, 0, sizeof(my_addr)); in regress_get_dnsserver()
111 my_addr.sin_family = AF_INET; in regress_get_dnsserver()
112 my_addr.sin_port = htons(*portnum); in regress_get_dnsserver()
113 my_addr.sin_addr.s_addr = htonl(0x7f000001UL); in regress_get_dnsserver()
114 if (bind(sock, (struct sockaddr*)&my_addr, sizeof(my_addr)) < 0) { in regress_get_dnsserver()
Dregress_dns.c372 struct sockaddr_in my_addr; in dns_server() local
393 memset(&my_addr, 0, sizeof(my_addr)); in dns_server()
394 my_addr.sin_family = AF_INET; in dns_server()
395 my_addr.sin_port = 0; /* kernel picks */ in dns_server()
396 my_addr.sin_addr.s_addr = htonl(0x7f000001UL); in dns_server()
397 if (bind(sock, (struct sockaddr*)&my_addr, sizeof(my_addr)) < 0) { in dns_server()
/external/libevent/sample/
Ddns-example.c194 struct sockaddr_in my_addr; in main() local
201 my_addr.sin_family = AF_INET; in main()
202 my_addr.sin_port = htons(10053); in main()
203 my_addr.sin_addr.s_addr = INADDR_ANY; in main()
204 if (bind(sock, (struct sockaddr*)&my_addr, sizeof(my_addr))<0) { in main()
/external/e2fsprogs/misc/
Duuidd.c233 struct sockaddr_un my_addr, from_addr; in server_loop() local
299 my_addr.sun_family = AF_UNIX; in server_loop()
300 strncpy(my_addr.sun_path, socket_path, sizeof(my_addr.sun_path)); in server_loop()
301 my_addr.sun_path[sizeof(my_addr.sun_path)-1] = '\0'; in server_loop()
304 if (bind(s, (const struct sockaddr *) &my_addr, in server_loop()
/external/valgrind/VEX/priv/
Dir_opt.c4744 static IRSB* maybe_loop_unroll_BB ( IRSB* bb0, Addr my_addr ) in maybe_loop_unroll_BB() argument
4788 if (xxx_value == my_addr) { in maybe_loop_unroll_BB()
4827 if (xxx_value != my_addr) in maybe_loop_unroll_BB()
4904 vex_printf("\nUNROLLED (%lx)\n", my_addr); in maybe_loop_unroll_BB()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-darwin.c3819 int, sockfd, struct sockaddr *, my_addr, int, addrlen); in PRE()
Dsyswrap-linux.c4972 int, sockfd, struct sockaddr *, my_addr, int, addrlen); in PRE()