Home
last modified time | relevance | path

Searched refs:local_addr (Results 1 – 25 of 41) sorted by relevance

12

/third_party/libcoap/src/
Dcoap_tcp.c43 coap_address_t *local_addr, argument
99 coap_address_copy(local_addr, local_if);
113 local_addr->addr.sa.sa_family = server->addr.sa.sa_family;
135 if (getsockname(sock->fd, &local_addr->addr.sa, &local_addr->size) == COAP_SOCKET_ERROR) {
155 coap_address_t *local_addr, argument
180 if (getsockname(sock->fd, &local_addr->addr.sa, &local_addr->size) == COAP_SOCKET_ERROR) {
283 coap_address_t *local_addr, argument
303 if (getsockname( new_client->fd, &local_addr->addr.sa, &local_addr->size) < 0)
Dcoap_io_lwip.c186 coap_address_t *local_addr, in coap_socket_connect_udp() argument
196 coap_address_t *local_addr, in coap_socket_connect_tcp1() argument
203 coap_address_t *local_addr, in coap_socket_connect_tcp2() argument
218 coap_address_t *local_addr, in coap_socket_accept_tcp() argument
Dcoap_io.c125 coap_address_t *local_addr, in coap_socket_connect_udp() argument
248 bind_to_device(int sockfd, const struct sockaddr_in *local_addr) { argument
277 … if (local_addr->sin_addr.s_addr == ((struct sockaddr_in *)&(buf[i].ifr_addr))->sin_addr.s_addr) {
300 coap_address_t *local_addr, argument
407 if (getsockname(sock->fd, &local_addr->addr.sa, &local_addr->size) == COAP_SOCKET_ERROR) {
419 if (getsockname(sock->fd, &local_addr->addr.sa, &local_addr->size) == COAP_SOCKET_ERROR) {
434 if (getsockname(sock->fd, &local_addr->addr.sa, &local_addr->size) == COAP_SOCKET_ERROR) {
/third_party/libsoup/libsoup/
Dsoup-socket-properties.c17 SoupAddress *local_addr, in soup_socket_properties_new() argument
33 props->local_addr = local_addr ? g_object_ref (local_addr) : NULL; in soup_socket_properties_new()
60 g_clear_object (&props->local_addr); in soup_socket_properties_unref()
Dsoup-socket.c70 SoupAddress *local_addr, *remote_addr; member
160 g_warn_if_fail (priv->local_addr == NULL); in soup_socket_initable_init()
227 g_clear_object (&priv->local_addr); in soup_socket_finalize()
290 priv->local_addr = g_value_dup_object (value); in soup_socket_set_property()
348 g_clear_object (&priv->local_addr); in soup_socket_set_property()
349 if (props->local_addr) in soup_socket_set_property()
350 priv->local_addr = g_object_ref (props->local_addr); in soup_socket_set_property()
919 if (priv->local_addr) { in new_socket_client()
922 addr = soup_address_get_gsockaddr (priv->local_addr); in new_socket_client()
1299 g_return_val_if_fail (priv->local_addr != NULL, FALSE); in soup_socket_listen_full()
[all …]
Dsoup-socket-private.h58 SoupAddress *local_addr; member
77 SoupAddress *local_addr,
Dsoup-server.c142 GSocketAddress *local_addr; member
1221 g_clear_object (&client->local_addr); in soup_client_context_cleanup()
1574 GSocketAddress *local_addr, in soup_server_accept_iostream() argument
1581 if (local_addr) in soup_server_accept_iostream()
1582 local = soup_address_new_from_gsockaddr (local_addr); in soup_server_accept_iostream()
2402 if (client->local_addr) in soup_client_context_get_local_address()
2403 return client->local_addr; in soup_client_context_get_local_address()
2405 client->local_addr = client->gsock ? in soup_client_context_get_local_address()
2409 return client->local_addr; in soup_client_context_get_local_address()
/third_party/libcoap/include/coap3/
Dcoap_tcp_internal.h52 coap_address_t *local_addr,
68 coap_address_t *local_addr,
104 coap_address_t *local_addr,
Dcoap_io_internal.h68 coap_address_t *local_addr,
/third_party/lwip/src/include/lwip/apps/
Dlwiperf.h81 const ip_addr_t* local_addr, u16_t local_port, const ip_addr_t* remote_addr, u16_t remote_port,
84 void* lwiperf_start_tcp_server(const ip_addr_t* local_addr, u16_t local_port,
/third_party/python/Lib/asyncio/
Dbase_events.py970 local_addr=None, server_hostname=None, argument
1022 if local_addr is not None:
1024 local_addr, family=family,
1240 local_addr=None, remote_addr=None, *, argument
1249 if (local_addr or remote_addr or
1253 opts = dict(local_addr=local_addr, remote_addr=remote_addr,
1264 if not (local_addr or remote_addr):
1269 for addr in (local_addr, remote_addr):
1273 if local_addr and local_addr[0] not in (0, '\x00'):
1275 if stat.S_ISSOCK(os.stat(local_addr).st_mode):
[all …]
Devents.py304 flags=0, sock=None, local_addr=None, argument
436 local_addr=None, remote_addr=None, *, argument
/third_party/lwip/src/netif/
Dlowpan6_ble.c176 rfc7668_set_local_addr_eui64(struct netif *netif, const u8_t *local_addr, size_t local_addr_len) in rfc7668_set_local_addr_eui64() argument
180 return rfc7668_set_addr(&rfc7668_local_addr, local_addr, local_addr_len, 0, 0); in rfc7668_set_local_addr_eui64()
187 rfc7668_set_local_addr_mac48(struct netif *netif, const u8_t *local_addr, size_t local_addr_len, in… in rfc7668_set_local_addr_mac48() argument
191 return rfc7668_set_addr(&rfc7668_local_addr, local_addr, local_addr_len, 1, is_public_addr); in rfc7668_set_local_addr_mac48()
/third_party/lwip/src/include/netif/
Dlowpan6_ble.h58 err_t rfc7668_set_local_addr_eui64(struct netif *netif, const u8_t *local_addr, size_t local_addr_l…
59 err_t rfc7668_set_local_addr_mac48(struct netif *netif, const u8_t *local_addr, size_t local_addr_l…
/third_party/lwip/src/apps/lwiperf/
Dlwiperf.c180 static err_t lwiperf_start_tcp_server_impl(const ip_addr_t *local_addr, u16_t local_port,
670 lwiperf_start_tcp_server(const ip_addr_t *local_addr, u16_t local_port, in lwiperf_start_tcp_server() argument
676 err = lwiperf_start_tcp_server_impl(local_addr, local_port, report_fn, report_arg, in lwiperf_start_tcp_server()
684 static err_t lwiperf_start_tcp_server_impl(const ip_addr_t *local_addr, u16_t local_port, in lwiperf_start_tcp_server_impl() argument
696 if (local_addr == NULL) { in lwiperf_start_tcp_server_impl()
715 err = tcp_bind(pcb, local_addr, local_port); in lwiperf_start_tcp_server_impl()
/third_party/ffmpeg/libavformat/
Dudp.c183 static int udp_join_multicast_group(int sockfd, struct sockaddr *addr,struct sockaddr *local_addr) in udp_join_multicast_group() argument
190 if (local_addr) in udp_join_multicast_group()
191 mreq.imr_interface= ((struct sockaddr_in *)local_addr)->sin_addr; in udp_join_multicast_group()
216 static int udp_leave_multicast_group(int sockfd, struct sockaddr *addr,struct sockaddr *local_addr) in udp_leave_multicast_group() argument
223 if (local_addr) in udp_leave_multicast_group()
224 mreq.imr_interface = ((struct sockaddr_in *)local_addr)->sin_addr; in udp_leave_multicast_group()
251 int addr_len, struct sockaddr_storage *local_addr, in udp_set_multicast_sources() argument
297 if (local_addr) in udp_set_multicast_sources()
298 mreqs.imr_interface = ((struct sockaddr_in *)local_addr)->sin_addr; in udp_set_multicast_sources()
/third_party/mbedtls/library/
Dnet_sockets.c402 struct sockaddr_storage local_addr; in mbedtls_net_accept() local
413 (struct sockaddr *) &local_addr, &n ) != 0 || in mbedtls_net_accept()
414 ( bind_ctx->fd = (int) socket( local_addr.ss_family, in mbedtls_net_accept()
422 if( bind( bind_ctx->fd, (struct sockaddr *) &local_addr, n ) != 0 ) in mbedtls_net_accept()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/
Dakg_kernel_build.cc163 auto local_addr = shmat(shm_id_, nullptr, 0); in CreateSharedMem() local
164 if (local_addr == reinterpret_cast<void *>(-1)) { in CreateSharedMem()
170 (void)memset_s(local_addr, mem_size, 0, mem_size); in CreateSharedMem()
173 return local_addr; in CreateSharedMem()
/third_party/curl/lib/vquic/
Dngtcp2.h62 struct sockaddr_storage local_addr; member
/third_party/python/Lib/test/test_asyncio/
Dtest_base_events.py1267 local_addr=(None, 8080))
1395 local_addr=(None, 8080))
1594 MyDatagramProto, local_addr=('localhost', 0))
1600 MyDatagramProto, local_addr='localhost')
1604 MyDatagramProto, local_addr=('localhost', 1, 2, 3))
1645 asyncio.DatagramProtocol, local_addr=('127.0.0.1', 0))
1653 remote_addr=('127.0.0.1', 0), local_addr=('::1', 0))
1684 local_addr=('127.0.0.1', 0), family=socket.AF_INET)
1729 MyDatagramProto, local_addr=('127.0.0.1', 0), sock=FakeSock())
1764 local_addr=('127.0.0.1', 0))
[all …]
/third_party/lwip/src/core/
Ddns.c900 ip_addr_t local_addr = {0}; in dns_send() local
904 local_addr.u_addr.ip4.addr = ipaddr_addr(LOCAL_SERVER_IP); in dns_send()
905 local_addr.type = IPADDR_TYPE_V4; in dns_send()
907 local_addr.addr = ipaddr_addr(LOCAL_SERVER_IP); in dns_send()
910 err = udp_sendto(dns_pcbs[pcb_idx], p, &local_addr, dst_port); in dns_send()
/third_party/gstreamer/gstplugins_good/gst/udp/
Dgstudpsrc.c1567 GInetSocketAddress *local_addr; in gst_udpsrc_open() local
1574 local_addr = in gst_udpsrc_open()
1577 if (!local_addr) in gst_udpsrc_open()
1590 (local_addr)) in gst_udpsrc_open()
1595 src->addr = local_addr; in gst_udpsrc_open()
1597 g_object_unref (local_addr); in gst_udpsrc_open()
/third_party/curl/lib/
Dkrb5.c199 curl_socklen_t l = sizeof(conn->local_addr); in krb5_auth()
216 (struct sockaddr *)&conn->local_addr, &l) < 0) in krb5_auth()
221 chan.initiator_address.value = &conn->local_addr.sin_addr.s_addr; in krb5_auth()
/third_party/grpc/src/core/lib/channel/
Dchannelz.cc479 ListenSocketNode::ListenSocketNode(std::string local_addr, std::string name) in ListenSocketNode() argument
481 local_addr_(std::move(local_addr)) {} in ListenSocketNode()
/third_party/gstreamer/gstplugins_bad/ext/sctp/
Dsctpassociation.c711 struct sockaddr_conn local_addr, remote_addr; in client_role_connect() local
717 local_addr = get_sctp_socket_address (self, self->local_port); in client_role_connect()
722 usrsctp_bind (self->sctp_ass_sock, (struct sockaddr *) &local_addr, in client_role_connect()

12