/third_party/libcoap/man/ |
D | coap_endpoint_server.txt.in | 223 coap_address_t listen_addr; 234 coap_address_init(&listen_addr); 235 listen_addr.addr.sa.sa_family = AF_INET; 236 listen_addr.addr.sin.sin_port = htons (5683); 238 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_UDP); 265 coap_address_t listen_addr; 276 coap_address_set_unix_domain(&listen_addr, 280 unlink(listen_addr.addr.cun.sun_path); 282 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_UDP); 374 coap_address_t listen_addr; [all …]
|
D | coap_encryption.txt.in | 944 coap_address_t listen_addr; 993 coap_address_init(&listen_addr); 994 listen_addr.addr.sa.sa_family = AF_INET; 995 listen_addr.addr.sin.sin_port = htons (5684); 998 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_DTLS); 1092 coap_address_t listen_addr; 1126 coap_address_init(&listen_addr); 1127 listen_addr.addr.sa.sa_family = AF_INET; 1128 listen_addr.addr.sin.sin_port = htons (5684); 1130 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_DTLS);
|
/third_party/libcoap/src/ |
D | coap_tcp.c | 205 const coap_address_t *listen_addr, argument 215 sock->fd = socket(listen_addr->addr.sa.sa_family, SOCK_STREAM, 0); 243 switch (listen_addr->addr.sa.sa_family) { 267 if (bind(sock->fd, &listen_addr->addr.sa, 269 listen_addr->addr.sa.sa_family == AF_INET ? 272 (socklen_t)listen_addr->size) == COAP_SOCKET_ERROR) {
|
D | coap_netif.c | 41 const coap_address_t *listen_addr) { in coap_netif_dgrm_listen() argument 42 if (!coap_socket_bind_udp(&endpoint->sock, listen_addr, in coap_netif_dgrm_listen() 159 const coap_address_t *listen_addr) { in coap_netif_strm_listen() argument 160 if (!coap_socket_bind_tcp(&endpoint->sock, listen_addr, in coap_netif_strm_listen()
|
D | coap_io_lwip.c | 350 const coap_address_t *listen_addr, in coap_socket_bind_udp() argument 353 coap_address_t l_listen = *listen_addr; in coap_socket_bind_udp() 462 const coap_address_t *listen_addr, in coap_socket_bind_tcp() argument 465 (void)listen_addr; in coap_socket_bind_tcp()
|
D | coap_io_contiki.c | 84 const coap_address_t *listen_addr, in coap_socket_bind_udp() argument 100 udp_bind(sock->udp_conn, listen_addr->port); in coap_socket_bind_udp()
|
D | coap_io.c | 147 const coap_address_t *listen_addr, argument 161 sock->fd = socket(listen_addr->addr.sa.sa_family, SOCK_DGRAM, 0); 180 switch (listen_addr->addr.sa.sa_family) { 222 if (bind(sock->fd, &listen_addr->addr.sa, 224 listen_addr->addr.sa.sa_family == AF_INET ? 227 (socklen_t)listen_addr->size) == COAP_SOCKET_ERROR) { 243 listen_addr->addr.sin6.sin6_scope_id;
|
D | coap_session.c | 1844 coap_new_endpoint(coap_context_t *context, const coap_address_t *listen_addr, coap_proto_t proto) { in coap_new_endpoint() argument 1848 assert(listen_addr); in coap_new_endpoint() 1899 if (!coap_netif_dgrm_listen(ep, listen_addr)) in coap_new_endpoint() 1906 if (!coap_netif_strm_listen(ep, listen_addr)) in coap_new_endpoint()
|
D | coap_net.c | 471 coap_new_context(const coap_address_t *listen_addr) { in coap_new_context() argument 475 (void)listen_addr; in coap_new_context() 541 if (listen_addr) { in coap_new_context() 542 coap_endpoint_t *endpoint = coap_new_endpoint(c, listen_addr, COAP_PROTO_UDP); in coap_new_context()
|
/third_party/skia/third_party/externals/microhttpd/src/platform/ |
D | w32functions.c | 567 struct sockaddr_in listen_addr; in MHD_W32_pair_of_sockets_() local 577 listen_addr.sin_family = AF_INET; in MHD_W32_pair_of_sockets_() 578 listen_addr.sin_port = htons(0); in MHD_W32_pair_of_sockets_() 579 listen_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in MHD_W32_pair_of_sockets_() 580 if (0 == bind(listen_s, (struct sockaddr*) &listen_addr, c_addinlen) in MHD_W32_pair_of_sockets_() 582 && 0 == getsockname(listen_s, (struct sockaddr*) &listen_addr, in MHD_W32_pair_of_sockets_() 589 && (0 == connect(client_s, (struct sockaddr*) &listen_addr, c_addinlen) in MHD_W32_pair_of_sockets_()
|
/third_party/libcoap/examples/contiki/ |
D | server.c | 49 coap_address_t listen_addr; in init_coap_server() local 54 uip_ipaddr_copy(&listen_addr.addr, &my_address->ipaddr); in init_coap_server() 55 coap_address_set_port(&listen_addr, COAP_DEFAULT_PORT); in init_coap_server() 57 *ctx = coap_new_context(&listen_addr); in init_coap_server()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind04.c | 108 struct sockaddr_storage listen_addr, remote_addr; in test_bind() local 133 tc_copy.addrlen = tst_get_connect_address(listen_sock, &listen_addr); in test_bind() 134 tc_copy.address = (struct sockaddr *)&listen_addr; in test_bind()
|
D | bind05.c | 122 struct sockaddr_storage listen_addr, remote_addr; in test_bind() local 146 tc_copy.addrlen = tst_get_connect_address(sock, &listen_addr); in test_bind() 147 tc_copy.address = (struct sockaddr *)&listen_addr; in test_bind()
|
/third_party/libcoap/include/coap3/ |
D | coap_netif_internal.h | 57 const coap_address_t *listen_addr); 124 const coap_address_t *listen_addr);
|
D | coap_tcp_internal.h | 83 const coap_address_t *listen_addr,
|
D | coap_io_internal.h | 96 const coap_address_t *listen_addr,
|
D | coap_session.h | 397 coap_endpoint_t *coap_new_endpoint(coap_context_t *context, const coap_address_t *listen_addr,
|
D | coap_net.h | 155 coap_context_t *coap_new_context(const coap_address_t *listen_addr);
|
/third_party/libuv/test/ |
D | benchmark-multi-accept.c | 104 static struct sockaddr_in listen_addr; variable 216 (const struct sockaddr*) &listen_addr, in send_listen_handles() 357 (const struct sockaddr*) &listen_addr, in cl_close_cb() 370 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &listen_addr)); in test_tcp() 398 (const struct sockaddr*) &listen_addr, in test_tcp()
|
D | benchmark-pump.c | 52 static struct sockaddr_in listen_addr; variable 382 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &listen_addr)); in HELPER_IMPL() 388 r = uv_tcp_bind(&tcpServer, (const struct sockaddr*) &listen_addr, 0); in HELPER_IMPL()
|
/third_party/mbedtls/programs/test/ |
D | udp_proxy.c | 153 const char *listen_addr; /* address for accepting client connections */ member 196 opt.listen_addr = DFL_LISTEN_ADDR; in get_options() 218 opt.listen_addr = q; in get_options() 833 opt.listen_addr, opt.listen_port); in main() 836 if ((ret = mbedtls_net_bind(&listen_fd, opt.listen_addr, opt.listen_port, in main()
|