Home
last modified time | relevance | path

Searched refs:my_addr (Results 1 – 6 of 6) 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 = inet_addr("127.0.0.1"); in regress_get_dnsserver()
114 if (bind(sock, (struct sockaddr*)&my_addr, sizeof(my_addr)) < 0) { in regress_get_dnsserver()
Dregress_dns.c379 struct sockaddr_in my_addr; in dns_server() local
400 memset(&my_addr, 0, sizeof(my_addr)); in dns_server()
401 my_addr.sin_family = AF_INET; in dns_server()
402 my_addr.sin_port = 0; /* kernel picks */ in dns_server()
403 my_addr.sin_addr.s_addr = htonl(0x7f000001UL); in dns_server()
404 if (bind(sock, (struct sockaddr*)&my_addr, sizeof(my_addr)) < 0) { in dns_server()
/external/libevent/sample/
Ddns-example.c199 struct sockaddr_in my_addr; in main() local
206 my_addr.sin_family = AF_INET; in main()
207 my_addr.sin_port = htons(10053); in main()
208 my_addr.sin_addr.s_addr = INADDR_ANY; in main()
209 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/openssh/
Dsession.c2624 struct in_addr my_addr; in session_setup_x11fwd() local
2632 memcpy(&my_addr, he->h_addr_list[0], sizeof(struct in_addr)); in session_setup_x11fwd()
2633 snprintf(display, sizeof display, "%.50s:%u.%u", inet_ntoa(my_addr), in session_setup_x11fwd()
/external/rust/crates/libc/src/
Dpsp.rs4029 pub fn sceNetInetBind(s: i32, my_addr: *const sockaddr, addr_len: socklen_t) -> i32; in sceNetInetBind()