Home
last modified time | relevance | path

Searched refs:dest_addr (Results 1 – 25 of 39) sorted by relevance

12

/third_party/lwip/src/core/distributed_net/
Dudp_transmit.c58 …udp_transmit_sendto(int sock, const void *buf, size_t buf_len, const struct sockaddr_in *dest_addr) in udp_transmit_sendto() argument
67 (void)strcpy_s(data.dest_addr, sizeof(data.dest_addr), inet_ntoa(dest_addr->sin_addr)); in udp_transmit_sendto()
68 data.dest_port = ntohs(dest_addr->sin_port); in udp_transmit_sendto()
106 (void)strcpy_s(data.dest_addr, sizeof(data.dest_addr), inet_ntoa(temp_addr_in.sin_addr)); in udp_transmit_sendmsg()
Ddistributed_net_core.c66 (void)strcpy_s(data.dest_addr, sizeof(data.dest_addr), inet_ntoa(addr_in.sin_addr)); in distributed_net_connect()
239 INIT_SOCK_ADDR(temp_addr, data->dest_addr, data->dest_port); in distributed_net_recvfrom()
/third_party/grpc/third_party/address_sorting/
Daddress_sorting.c234 if (sockaddr_get_scope(&first->dest_addr) == in compare_source_dest_scope_matches()
239 if (sockaddr_get_scope(&second->dest_addr) == in compare_source_dest_scope_matches()
253 if (get_label_value(&first->dest_addr) == in compare_source_dest_labels_match()
258 if (get_label_value(&second->dest_addr) == in compare_source_dest_labels_match()
270 return get_precedence_value(&second->dest_addr) - in compare_dest_precedence()
271 get_precedence_value(&first->dest_addr); in compare_dest_precedence()
276 return sockaddr_get_scope(&first->dest_addr) - in compare_dest_scope()
277 sockaddr_get_scope(&second->dest_addr); in compare_dest_scope()
291 (struct sockaddr_in6*)&first->dest_addr.addr); in compare_source_dest_prefix_match_lengths()
294 (struct sockaddr_in6*)&second->dest_addr.addr); in compare_source_dest_prefix_match_lengths()
[all …]
Daddress_sorting_posix.c55 const address_sorting_address* dest_addr, in posix_source_addr_factory_get_source_addr() argument
59 int s = socket(((struct sockaddr*)dest_addr)->sa_family, SOCK_DGRAM, 0); in posix_source_addr_factory_get_source_addr()
61 if (connect(s, (const struct sockaddr*)&dest_addr->addr, in posix_source_addr_factory_get_source_addr()
62 (socklen_t)dest_addr->len) != -1) { in posix_source_addr_factory_get_source_addr()
Daddress_sorting_windows.c54 const address_sorting_address* dest_addr, in windows_source_addr_factory_get_source_addr() argument
57 SOCKET s = socket(((struct sockaddr_in6*)dest_addr)->sin6_family, SOCK_DGRAM, in windows_source_addr_factory_get_source_addr()
60 if (connect(s, (struct sockaddr*)dest_addr, (int)dest_addr->len) == 0) { in windows_source_addr_factory_get_source_addr()
/third_party/lwip/src/core/ipv6/
Dicmp6.c68 u8_t type, const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr);
70 u8_t type, const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr, struct netif *netif);
274 const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr) in icmp6_time_exceeded_with_addrs() argument
276 icmp6_send_response_with_addrs(p, c, 0, ICMP6_TYPE_TE, src_addr, dest_addr); in icmp6_time_exceeded_with_addrs()
347 const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr) in icmp6_send_response_with_addrs() argument
354 LWIP_ASSERT("must provide both source and destination", dest_addr != NULL); in icmp6_send_response_with_addrs()
359 IP6_ADDR_ZONECHECK(dest_addr); in icmp6_send_response_with_addrs()
362 reply_src = dest_addr; in icmp6_send_response_with_addrs()
Dip6.c1178 ip6_addr_t dest_addr; local
1193 ip6_addr_copy(dest_addr, *dest);
1194 ip6_addr_assign_zone(&dest_addr, IP6_UNKNOWN, netif);
1195 dest = &dest_addr;
1228 ip6_addr_copy_from_packed(dest_addr, ip6hdr->dest);
1229 ip6_addr_assign_zone(&dest_addr, IP6_UNKNOWN, netif);
1230 dest = &dest_addr;
1296 ip6_addr_t src_addr, dest_addr; local
1306 ip6_addr_copy_from_packed(dest_addr, ip6hdr->dest);
1307 netif = ip6_route(&src_addr, &dest_addr);
[all …]
Dip6_frag.c174 ip6_addr_t src_addr, dest_addr; in ip6_reass_free_complete_datagram() local
177 ip6_addr_copy_from_packed(dest_addr, IPV6_FRAG_DEST(ipr)); in ip6_reass_free_complete_datagram()
178 ip6_addr_set_zone(&dest_addr, ipr->dest_zone); in ip6_reass_free_complete_datagram()
180 icmp6_time_exceeded_with_addrs(p, ICMP6_TE_FRAG, &src_addr, &dest_addr); in ip6_reass_free_complete_datagram()
/third_party/toybox/toys/pending/
Darping.c48 struct in_addr src_addr, dest_addr; variable
116 ptr = mempcpy(ptr, &dest_addr, 4); in send_packet()
151 if (dest_addr.s_addr != s_ip.s_addr) return; in recv_from()
224 if (!inet_aton(*toys.optargs, &dest_addr)) { in arping_main()
228 memcpy(&dest_addr, hp->h_addr, 4); in arping_main()
233 && !src_addr.s_addr) src_addr = dest_addr; in arping_main()
250 saddr.sin_addr = dest_addr; in arping_main()
270 xprintf("ARPING to %s", inet_ntoa(dest_addr)); in arping_main()
/third_party/grpc/test/cpp/naming/
Daddress_sorting_test.cc62 std::string dest_addr; member
70 grpc_core::SplitHostPort(test_addr.dest_addr.c_str(), &host, &port); in TestAddressToGrpcResolvedAddress()
101 bool GetSourceAddr(const address_sorting_address* dest_addr, in GetSourceAddr() argument
103 if ((address_sorting_abstract_get_family(dest_addr) == in GetSourceAddr()
106 (address_sorting_abstract_get_family(dest_addr) == in GetSourceAddr()
112 memcpy(&dest_addr_as_resolved_addr.addr, dest_addr, dest_addr->len); in GetSourceAddr()
113 dest_addr_as_resolved_addr.len = dest_addr->len; in GetSourceAddr()
139 const address_sorting_address* dest_addr, in mock_source_addr_factory_wrapper_get_source_addr() argument
143 return mock->GetSourceAddr(dest_addr, source_addr); in mock_source_addr_factory_wrapper_get_source_addr()
/third_party/ffmpeg/libavformat/
Dsdp.c58 static void sdp_write_address(char *buff, int size, const char *dest_addr, in sdp_write_address() argument
61 if (dest_addr) { in sdp_write_address()
67 av_strlcatf(buff, size, "c=IN %s %s/%d\r\n", dest_type, dest_addr, ttl); in sdp_write_address()
69 av_strlcatf(buff, size, "c=IN %s %s\r\n", dest_type, dest_addr); in sdp_write_address()
89 static int resolve_destination(char *dest_addr, int size, char *type, in resolve_destination() argument
96 if (!dest_addr[0]) in resolve_destination()
102 if (getaddrinfo(dest_addr, NULL, &hints, &ai)) in resolve_destination()
104 getnameinfo(ai->ai_addr, ai->ai_addrlen, dest_addr, size, in resolve_destination()
115 static int resolve_destination(char *dest_addr, int size, char *type, in resolve_destination() argument
122 static int sdp_get_address(char *dest_addr, int size, int *ttl, const char *url) in sdp_get_address() argument
[all …]
Dudp.c95 struct sockaddr_storage dest_addr; member
342 if (((struct sockaddr *) &s->dest_addr)->sa_family) in udp_socket_create()
343 family = ((struct sockaddr *) &s->dest_addr)->sa_family; in udp_socket_create()
416 s->dest_addr_len = udp_set_url(h, &s->dest_addr, hostname, port); in ff_udp_set_remote_url()
420 s->is_multicast = ff_is_multicast_address((struct sockaddr*) &s->dest_addr); in ff_udp_set_remote_url()
427 if (connect(s->udp_fd, (struct sockaddr *) &s->dest_addr, in ff_udp_set_remote_url()
595 (struct sockaddr *) &s->dest_addr, in circular_buffer_task_tx()
810 bind_ret = bind(udp_fd,(struct sockaddr *)&s->dest_addr, len); in udp_open()
828 if ((ret = udp_set_multicast_ttl(udp_fd, s->ttl, (struct sockaddr *)&s->dest_addr)) < 0) in udp_open()
835 (struct sockaddr *)&s->dest_addr, in udp_open()
[all …]
/third_party/lwip/src/include/lwip/distributed_net/
Dudp_transmit.h38 char dest_addr[IP4_MAX_ADDR_LEN]; member
54 …dp_transmit_sendto(int sock, const void *buf, size_t buf_len, const struct sockaddr_in *dest_addr);
Ddistributed_net_core.h56 char dest_addr[IP4_MAX_ADDR_LEN]; member
/third_party/glib/gio/
Dgwin32networkmonitor.c111 GInetAddress *dest_addr; in get_network_mask() local
114 dest_addr = g_inet_address_new_from_bytes (dest, family); in get_network_mask()
116 dest_addr = g_inet_address_new_any (family); in get_network_mask()
118 network = g_inet_address_mask_new (dest_addr, len, NULL); in get_network_mask()
119 g_object_unref (dest_addr); in get_network_mask()
Dgnetworkmonitornetlink.c228 GInetAddress *dest_addr; in create_inet_address_mask() local
232 dest_addr = g_inet_address_new_from_bytes (dest, family); in create_inet_address_mask()
234 dest_addr = g_inet_address_new_any (family); in create_inet_address_mask()
235 network = g_inet_address_mask_new (dest_addr, dest_len, NULL); in create_inet_address_mask()
236 g_object_unref (dest_addr); in create_inet_address_mask()
/third_party/musl/porting/linux/user/include/fortify/
Dsocket.h54 const struct sockaddr* dest_addr, socklen_t addr_len) in sendto() argument
63 return __sendto_diagnose(fd, buf, len, bos, flags, dest_addr, addr_len); in sendto()
66 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(sendto)(fd, buf, len, flags, dest_addr, addr_len); in sendto()
/third_party/grpc/third_party/address_sorting/include/address_sorting/
Daddress_sorting.h58 address_sorting_address dest_addr; member
82 const address_sorting_address* dest_addr,
/third_party/grpc/test/core/iomgr/
Dresolve_address_test.cc314 const address_sorting_address* dest_addr, in mock_ipv6_disabled_source_addr_factory_get_source_addr() argument
318 if (address_sorting_abstract_get_family(dest_addr) == in mock_ipv6_disabled_source_addr_factory_get_source_addr()
322 memcpy(source_addr->addr, &dest_addr->addr, dest_addr->len); in mock_ipv6_disabled_source_addr_factory_get_source_addr()
323 source_addr->len = dest_addr->len; in mock_ipv6_disabled_source_addr_factory_get_source_addr()
/third_party/ltp/include/
Dtst_safe_net.h38 #define SAFE_SENDTO(strict, fd, buf, len, flags, dest_addr, addrlen) \ argument
40 dest_addr, addrlen)
/third_party/alsa-lib/test/
Dplaymidi1.c453 snd_seq_addr_t dest_addr; in main() local
530 if (snd_seq_parse_address(seq_handle, &dest_addr, addr) < 0) { in main()
534 dest_client = dest_addr.client; in main()
535 dest_port = dest_addr.port; in main()
/third_party/mesa3d/src/intel/vulkan/
DgenX_query.c1389 struct anv_address dest_addr = anv_address_add(buffer->address, destOffset); in genX() local
1401 gpu_write_query_result_cond(cmd_buffer, &b, query_addr, dest_addr, in genX()
1404 gpu_write_query_result_cond(cmd_buffer, &b, query_addr, dest_addr, in genX()
1425 gpu_write_query_result(&b, dest_addr, flags, idx++, result); in genX()
1433 gpu_write_query_result(&b, dest_addr, flags, idx++, result); in genX()
1435 gpu_write_query_result(&b, dest_addr, flags, idx++, result); in genX()
1440 gpu_write_query_result(&b, dest_addr, flags, idx++, result); in genX()
1454 gpu_write_query_result(&b, dest_addr, flags, idx, in genX()
1458 dest_addr = anv_address_add(dest_addr, destStride); in genX()
/third_party/lwip/src/include/lwip/
Dicmp6.h61 const ip6_addr_t *src_addr, const ip6_addr_t *dest_addr);
/third_party/ltp/lib/
Dsafe_net.c229 const struct sockaddr *dest_addr, socklen_t addrlen) in safe_sendto() argument
234 rval = sendto(sockfd, buf, len, flags, dest_addr, addrlen); in safe_sendto()
240 tst_sock_addr(dest_addr, addrlen, res, sizeof(res)), in safe_sendto()
246 tst_sock_addr(dest_addr, addrlen, res, sizeof(res)), in safe_sendto()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_service.cc266 void *dest_addr = reinterpret_cast<void *>(p->dest_addr()); in InternalFetchRow() local
267 WritableSlice dest(dest_addr, sz); in InternalFetchRow()

12