Home
last modified time | relevance | path

Searched refs:dst_addr (Results 1 – 25 of 53) sorted by relevance

123

/titanic_50/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp_link.c62 ibcm_arp_create_prwqn(ibcm_arp_streams_t *ib_s, ibt_ip_addr_t *dst_addr, in ibcm_arp_create_prwqn() argument
69 if (dst_addr == NULL) { in ibcm_arp_create_prwqn()
76 wqnp->dst_addr = *dst_addr; in ibcm_arp_create_prwqn()
82 wqnp->ifproto = (dst_addr->family == AF_INET) ? in ibcm_arp_create_prwqn()
106 ibcm_resolver_pr_lookup(ibcm_arp_streams_t *ib_s, ibt_ip_addr_t *dst_addr, in ibcm_resolver_pr_lookup() argument
119 IBCM_PRINT_IP("ibcm_arp_pr_lookup: DST", dst_addr); in ibcm_resolver_pr_lookup()
121 if ((wqnp = ibcm_arp_create_prwqn(ib_s, dst_addr, src_addr)) == NULL) { in ibcm_resolver_pr_lookup()
129 if (dst_addr->family == AF_INET) { in ibcm_resolver_pr_lookup()
136 ire = ire_route_recursive_v4(dst_addr->un.ip4addr, 0, NULL, in ibcm_resolver_pr_lookup()
156 if (ip_select_source_v4(ill, setsrcv4, dst_addr->un.ip4addr, in ibcm_resolver_pr_lookup()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c229 union any_in_addr dst_addr; in check_reply() local
448 dst_addr.addr = ip->ip_dst; in check_reply()
454 } else if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply()
519 dst_addr.addr = ip->ip_dst; in check_reply()
520 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply()
623 ntohs(icp->icmp_seq), &dst_addr); in check_reply()
625 (void *)&dst_addr.addr, in check_reply()
667 (void) find_dstaddr(ntohs(icp->icmp_seq), &dst_addr); in check_reply()
669 pr_name((char *)&dst_addr.addr, AF_INET)); in check_reply()
718 dst_addr.addr = ip->ip_dst; in check_reply()
[all …]
H A Dping_aux6.c268 union any_in_addr dst_addr; in check_reply6() local
483 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
489 } else if (is_a_target(ai_dst, &dst_addr)|| verbose) { in check_reply6()
560 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
561 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply6()
595 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
596 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply6()
638 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
639 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply6()
762 ntohs(icmp6->icmp6_seq), &dst_addr); in check_reply6()
[all …]
H A Dping.c813 create_targetaddr_item(int family, union any_in_addr *dst_addr, in create_targetaddr_item() argument
824 targetaddr->dst_addr = *dst_addr; in create_targetaddr_item()
1186 select_src_addr(union any_in_addr *dst_addr, int family, in select_src_addr() argument
1206 sin->sin_addr = dst_addr->addr; in select_src_addr()
1213 sin6->sin6_addr = dst_addr->addr6; in select_src_addr()
1821 &current_targetaddr->dst_addr, in send_scheduled_probe()
1868 to6.sin6_addr = current_targetaddr->dst_addr.addr6; in send_scheduled_probe()
1882 current_targetaddr->dst_addr.addr6; in send_scheduled_probe()
1890 to.sin_addr = current_targetaddr->dst_addr.addr; in send_scheduled_probe()
1899 current_targetaddr->dst_addr.addr; in send_scheduled_probe()
[all …]
H A Dping.h87 union any_in_addr dst_addr; /* dst address for the probe */ member
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c319 struct sockaddr_storage dst_addr; in tcp_query() local
328 af = set_sockaddr(&dst_addr, &dst_addr_len, &next_hop, param); in tcp_query()
353 if (connect(sd, (struct sockaddr *)&dst_addr, dst_addr_len) != 0) { in tcp_query()
640 struct sockaddr_storage dst_addr; in udp_query() local
650 af = set_sockaddr(&dst_addr, &addr_len, &next_hop, param); in udp_query()
698 if (sendto(send_sd, buf, 0, 0, (struct sockaddr *)&dst_addr, in udp_query()
711 (void) wait_icmp_reply(af, recv_sd, &dst_addr, param); in udp_query()
761 struct sockaddr_storage dst_addr; in ping_query() local
772 af = set_sockaddr(&dst_addr, &dst_addr_len, &next_hop, param); in ping_query()
816 if (sendto(sd, buf, sizeof (buf), 0, (struct sockaddr *)&dst_addr, in ping_query()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dtnf.h72 char *dst_addr; member
77 long *dst_addr; member
/titanic_50/usr/src/cmd/rcap/rcapd/
H A Drcapd_scanner.c423 uintptr_t dst_addr; in OR_pagedata() local
431 dst_addr = (uintptr_t)set_prpageheader_cur(&dst_cur, dst, NULL, -1); in OR_pagedata()
432 while (src_addr != NULL && dst_addr != NULL) { in OR_pagedata()
433 while (src_addr == dst_addr && src_addr != NULL) { in OR_pagedata()
438 dst_addr = (uintptr_t)advance_prpageheader_cur( in OR_pagedata()
441 if (src_addr != dst_addr) in OR_pagedata()
444 dst_addr = advance_prpageheader_cur_nextmapping(&dst_cur); in OR_pagedata()
445 while (src_addr != dst_addr && src_addr != NULL && dst_addr != in OR_pagedata()
448 if (src_addr < dst_addr) in OR_pagedata()
452 dst_addr = advance_prpageheader_cur_nextmapping( in OR_pagedata()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dip6_if.c393 ip_rt_add_v6(const in6_addr_t *dst_addr, const in6_addr_t *mask, in ip_rt_add_v6() argument
435 ipif = ipif_lookup_interface_v6(gw_addr, dst_addr, ipst); in ip_rt_add_v6()
452 IN6_ARE_ADDR_EQUAL(dst_addr, &ipv6_loopback) && in ip_rt_add_v6()
454 ire = ire_ftable_lookup_v6(dst_addr, 0, 0, IRE_LOOPBACK, in ip_rt_add_v6()
467 dst_addr, in ip_rt_add_v6()
607 ire = ire_ftable_lookup_v6(dst_addr, mask, gw_addr, in ip_rt_add_v6()
644 dst_addr, in ip_rt_add_v6()
750 ire = ire_ftable_lookup_v6(dst_addr, mask, gw_addr, type, ill, in ip_rt_add_v6()
798 dst_addr, /* dest address */ in ip_rt_add_v6()
944 ip_rt_delete_v6(const in6_addr_t *dst_addr, const in6_addr_t *mask, in ip_rt_delete_v6() argument
[all …]
H A Dip_rts.c94 static ire_t *ire_lookup_v4(ipaddr_t dst_addr, ipaddr_t net_mask,
295 ipaddr_t dst_addr; in ip_rts_request_common() local
371 IN6_V4MAPPED_TO_IPADDR(&dst_addr_v6, dst_addr); in ip_rts_request_common()
542 error = ip_rt_add(dst_addr, net_mask, gw_addr, src_addr, in ip_rts_request_common()
613 error = ip_rt_delete(dst_addr, net_mask, gw_addr, in ip_rts_request_common()
699 ire = ire_ftable_lookup_v4(dst_addr, 0, gw_addr, in ip_rts_request_common()
704 ire = ire_lookup_v4(dst_addr, net_mask, in ip_rts_request_common()
981 ire_lookup_v4(ipaddr_t dst_addr, ipaddr_t net_mask, ipaddr_t gw_addr, in ire_lookup_v4() argument
1003 ire = ire_ftable_lookup_v4(dst_addr, net_mask, gw_addr, in ire_lookup_v4()
1025 dst_addr = ire->ire_gateway_addr; in ire_lookup_v4()
[all …]
H A Dip6_rts.c196 ip_rts_change_v6(int type, const in6_addr_t *dst_addr, in ip_rts_change_v6() argument
209 rts_fill_msg_v6(type, rtm_addrs, dst_addr, net_mask, gw_addr, source, in ip_rts_change_v6()
H A Dip_ftable.c518 route_to_dst(const struct sockaddr *dst_addr, zoneid_t zoneid, ip_stack_t *ipst) in route_to_dst() argument
527 if (dst_addr->sa_family == AF_INET) { in route_to_dst()
529 ((struct sockaddr_in *)dst_addr)->sin_addr.s_addr, 0, NULL, in route_to_dst()
534 &((struct sockaddr_in6 *)dst_addr)->sin6_addr, 0, NULL, in route_to_dst()
573 ipfil_sendpkt(const struct sockaddr *dst_addr, mblk_t *mp, uint_t ifindex, in ipfil_sendpkt() argument
598 ASSERT(dst_addr->sa_family == AF_INET || in ipfil_sendpkt()
599 dst_addr->sa_family == AF_INET6); in ipfil_sendpkt()
613 if (dst_addr->sa_family == AF_INET) { in ipfil_sendpkt()
617 nexthop = ((struct sockaddr_in *)dst_addr)->sin_addr.s_addr; in ipfil_sendpkt()
627 nexthop6 = &((struct sockaddr_in6 *)dst_addr)->sin6_addr; in ipfil_sendpkt()
/titanic_50/usr/src/uts/sun4v/io/
H A Dvldc.c1199 caddr_t src_addr, dst_addr; in i_vldc_ioctl_read_cookie() local
1208 dst_addr = (caddr_t)copy_info.dst_addr; in i_vldc_ioctl_read_cookie()
1218 dst_addr, copy_size, src_addr); in i_vldc_ioctl_read_cookie()
1222 &copy_size, dst_addr, LDC_COPY_IN); in i_vldc_ioctl_read_cookie()
1226 vldc_instance, vport->number, dst_addr, rv); in i_vldc_ioctl_read_cookie()
1248 dst_addr += copy_size; in i_vldc_ioctl_read_cookie()
1267 caddr_t src_addr, dst_addr; in i_vldc_ioctl_write_cookie() local
1276 copy_info.length, copy_info.dst_addr); in i_vldc_ioctl_write_cookie()
1280 dst_addr = (caddr_t)copy_info.dst_addr; in i_vldc_ioctl_write_cookie()
1299 &copy_size, dst_addr, LDC_COPY_OUT); in i_vldc_ioctl_write_cookie()
[all …]
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_dmae.c885 lm_address_t dst_addr = {{0}}; in lm_dmae_context_execute_sub_operation() local
890 dst_addr.as_u64 = dst_offset; in lm_dmae_context_execute_sub_operation()
929 operation->main_cmd.dst_addr_hi = dst_addr.as_u32.high; in lm_dmae_context_execute_sub_operation()
930 operation->main_cmd.dst_addr_lo = dst_addr.as_u32.low; in lm_dmae_context_execute_sub_operation()
965 mm_memcpy( dst_addr.as_ptr, &context->intermediate_buffer[0], length*sizeof(u32_t)); in lm_dmae_context_execute_sub_operation()
992 lm_address_t dst_addr = {{0}}; in lm_dmae_context_execute_single_block() local
1009 dst_addr.as_u64 = lm_dmae_address_native_offset(&operation->blocks[0].dest); in lm_dmae_context_execute_single_block()
1010 dst_addr_split = dst_addr.as_u64; in lm_dmae_context_execute_single_block()
1038 dst_addr_split = dst_addr.as_u64 + offset; in lm_dmae_context_execute_single_block()
1042 dst_addr_split = dst_addr.as_u64 + (offset*4); in lm_dmae_context_execute_single_block()
/titanic_50/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Drdma_cm.h81 struct sockaddr dst_addr; member
206 struct sockaddr *dst_addr, int timeout_ms);
H A Drdma_user_cm.h119 struct sockaddr_in6 dst_addr; member
139 struct sockaddr_in6 dst_addr; member
/titanic_50/usr/src/uts/common/io/ib/clients/iser/
H A Diser_cm.c149 ipcm_info.dst_addr.un.ip4addr); in iser_ib_handle_cm_req()
160 ipcm_info.dst_addr.un.ip4addr, in iser_ib_handle_cm_req()
167 chan->ic_localip = ipcm_info.dst_addr; in iser_ib_handle_cm_req()
/titanic_50/usr/src/uts/sun4v/sys/
H A Dvldc.h84 uint64_t dst_addr; /* destination address */ member
/titanic_50/usr/src/uts/common/sys/ib/mgt/ibcm/
H A Dibcm_arp.h60 ibt_ip_addr_t dst_addr; /* user supplied dest address */ member
/titanic_50/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c195 ioctl_arg.dst_addr = (char *) addr; in read_tnf_block()
228 ioctl_arg.dst_addr = (long *) dest; in read_tnf_fwzone()
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c188 struct sockaddr *dst_addr, int timeout_ms) in rdma_ib_resolve_addr() argument
197 "%p, %p, %p, %x)", idp, src_addr, dst_addr, timeout_ms); in rdma_ib_resolve_addr()
219 sockaddr2ibtaddr_port(idp, dst_addr, &ibchanp->chan_remote_addr, in rdma_ib_resolve_addr()
223 ASSERT(!sol_cma_any_addr(dst_addr)); in rdma_ib_resolve_addr()
1020 bcopy(&ibchanp->chan_remote_addr, &ipcm_info.dst_addr, in ibcma_tcp_connect()
1123 bcopy((void *)&ibchanp->chan_remote_addr, &ipcm_info.dst_addr, in ibcma_udp_connect()
1429 &(event_idp->route.addr.dst_addr), &info.src_port); in ibcma_ud_hdlr()
1430 bcopy(&info.dst_addr, &event_ibchanp->chan_local_addr, in ibcma_ud_hdlr()
1432 ipaddr2sockaddr(&info.dst_addr, in ibcma_ud_hdlr()
1597 bcopy(&info.dst_addr, &ibchanp->chan_remote_addr, in ibcma_handle_req()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_cm.c91 #define DSTIP dst_addr.un.ip4addr
149 (ipcm_info.dst_addr.family != AF_INET)) { in rds_handle_cm_req()
152 ipcm_info.dst_addr.family); in rds_handle_cm_req()
888 ipcm_info.dst_addr.family = AF_INET; in rds_open_rc_channel()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/include/
H A Dl4states.h112 u8_t dst_addr[8]; member
/titanic_50/usr/src/lib/librsm/inc/
H A Drsmapi.h195 void *dst_addr,
/titanic_50/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c647 select_server_addr(union any_in_addr *dst_addr, int family, in select_server_addr() argument
666 sin->sin_addr = dst_addr->addr; in select_server_addr()
673 sin6->sin6_addr = dst_addr->addr6; in select_server_addr()

123