Home
last modified time | relevance | path

Searched refs:bind_socket (Results 1 – 3 of 3) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/net/
Dbind_bhash.c30 static int bind_socket(int opt, const char *addr) in bind_socket() function
78 sock_fd = bind_socket(SO_REUSEADDR | SO_REUSEPORT, setup_addr); in setup()
106 listener_fd = bind_socket(SO_REUSEADDR | SO_REUSEPORT, setup_addr); in main()
125 sock_fd = bind_socket(0, bind_addr); in main()
Dnettest.c1354 static int bind_socket(int sd, struct sock_args *args) in bind_socket() function
1457 if (bind_socket(sd, args)) in lsock_init()
1667 if (args->has_local_ip && bind_socket(sd, args)) in connectsock()
/external/libevent/
Dhttp.c181 static evutil_socket_t bind_socket(const char *, ev_uint16_t, int reuse);
2580 evcon->fd = bind_socket( in evhttp_connection_connect_()
3565 if ((fd = bind_socket(address, port, 1 /*reuse*/)) == -1) in evhttp_bind_socket_with_handle()
4459 bind_socket(const char *address, ev_uint16_t port, int reuse) in bind_socket() function