Home
last modified time | relevance | path

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

123

/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c218 union any_in_addr dst_addr; in check_reply() local
436 dst_addr.addr = ip->ip_dst; in check_reply()
441 } else if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply()
503 dst_addr.addr = ip->ip_dst; in check_reply()
504 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply()
605 ntohs(icp->icmp_seq), &dst_addr); in check_reply()
607 (void *)&dst_addr.addr, in check_reply()
649 (void) find_dstaddr(ntohs(icp->icmp_seq), &dst_addr); in check_reply()
651 pr_name((char *)&dst_addr.addr, AF_INET)); in check_reply()
698 dst_addr.addr = ip->ip_dst; in check_reply()
[all …]
H A Dping_aux6.c257 union any_in_addr dst_addr; in check_reply6() local
467 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
473 } else if (is_a_target(ai_dst, &dst_addr)|| verbose) { in check_reply6()
541 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
542 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply6()
574 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
575 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply6()
612 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
613 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply6()
733 ntohs(icmp6->icmp6_seq), &dst_addr); in check_reply6()
[all …]
H A Dping.c791 create_targetaddr_item(struct sockaddr *dst_addr, union any_in_addr *src_addr) in create_targetaddr_item() argument
794 struct sockaddr_in *dst4 = (struct sockaddr_in *)dst_addr; in create_targetaddr_item()
795 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)dst_addr; in create_targetaddr_item()
802 targetaddr->family = dst_addr->sa_family; in create_targetaddr_item()
803 switch (dst_addr->sa_family) { in create_targetaddr_item()
805 memset(&targetaddr->dst_addr, 0, sizeof (targetaddr->dst_addr)); in create_targetaddr_item()
806 targetaddr->dst_addr.addr = dst4->sin_addr; in create_targetaddr_item()
810 memset(&targetaddr->dst_addr, 0, sizeof (targetaddr->dst_addr)); in create_targetaddr_item()
811 targetaddr->dst_addr.addr6 = dst6->sin6_addr; in create_targetaddr_item()
1182 select_src_addr(union any_in_addr *dst_addr, int family, in select_src_addr() argument
[all …]
H A Dping.h90 union any_in_addr dst_addr; /* dst address for the probe */ member
/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_scanner.c421 uintptr_t dst_addr; in OR_pagedata() local
429 dst_addr = (uintptr_t)set_prpageheader_cur(&dst_cur, dst, NULL, -1); in OR_pagedata()
430 while (src_addr != (uintptr_t)NULL && dst_addr != (uintptr_t)NULL) { in OR_pagedata()
431 while (src_addr == dst_addr && src_addr != (uintptr_t)NULL) { in OR_pagedata()
436 dst_addr = (uintptr_t)advance_prpageheader_cur( in OR_pagedata()
439 if (src_addr != dst_addr) in OR_pagedata()
442 dst_addr = advance_prpageheader_cur_nextmapping(&dst_cur); in OR_pagedata()
443 while (src_addr != dst_addr && src_addr != (uintptr_t)NULL && in OR_pagedata()
444 dst_addr != (uintptr_t)NULL) { in OR_pagedata()
446 if (src_addr < dst_addr) in OR_pagedata()
[all …]
/illumos-gate/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,
296 ipaddr_t dst_addr; in ip_rts_request_common() local
316 dst_addr = 0; in ip_rts_request_common()
376 IN6_V4MAPPED_TO_IPADDR(&dst_addr_v6, dst_addr); in ip_rts_request_common()
547 error = ip_rt_add(dst_addr, net_mask, gw_addr, src_addr, in ip_rts_request_common()
618 error = ip_rt_delete(dst_addr, net_mask, gw_addr, in ip_rts_request_common()
704 ire = ire_ftable_lookup_v4(dst_addr, 0, gw_addr, in ip_rts_request_common()
709 ire = ire_lookup_v4(dst_addr, net_mask, in ip_rts_request_common()
986 ire_lookup_v4(ipaddr_t dst_addr, ipaddr_t net_mask, ipaddr_t gw_addr, in ire_lookup_v4() argument
1008 ire = ire_ftable_lookup_v4(dst_addr, net_mask, gw_addr, in ire_lookup_v4()
[all …]
H A Dip_ftable.c519 route_to_dst(const struct sockaddr *dst_addr, zoneid_t zoneid, ip_stack_t *ipst) in route_to_dst() argument
528 if (dst_addr->sa_family == AF_INET) { in route_to_dst()
530 ((struct sockaddr_in *)dst_addr)->sin_addr.s_addr, 0, NULL, in route_to_dst()
535 &((struct sockaddr_in6 *)dst_addr)->sin6_addr, 0, NULL, in route_to_dst()
574 ipfil_sendpkt(const struct sockaddr *dst_addr, mblk_t *mp, uint_t ifindex, in ipfil_sendpkt() argument
599 ASSERT(dst_addr->sa_family == AF_INET || in ipfil_sendpkt()
600 dst_addr->sa_family == AF_INET6); in ipfil_sendpkt()
614 if (dst_addr->sa_family == AF_INET) { in ipfil_sendpkt()
618 nexthop = ((struct sockaddr_in *)dst_addr)->sin_addr.s_addr; in ipfil_sendpkt()
628 nexthop6 = &((struct sockaddr_in6 *)dst_addr)->sin6_addr; in ipfil_sendpkt()
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()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_hw.c805 u64 dst_addr, in ecore_dmae_execute_sub_operation() argument
835 cmd->dst_addr_hi = OSAL_CPU_TO_LE32(DMA_HI(dst_addr)); in ecore_dmae_execute_sub_operation()
836 cmd->dst_addr_lo = OSAL_CPU_TO_LE32(DMA_LO(dst_addr)); in ecore_dmae_execute_sub_operation()
874 src_addr, dst_addr, length_dw, in ecore_dmae_execute_sub_operation()
880 OSAL_MEMCPY((void *)(osal_uintptr_t)(dst_addr), in ecore_dmae_execute_sub_operation()
889 u64 src_addr, u64 dst_addr, in ecore_dmae_execute_command() argument
905 src_addr, src_type, dst_addr, dst_type, in ecore_dmae_execute_command()
927 dst_addr_split = dst_addr; in ecore_dmae_execute_command()
940 dst_addr_split = dst_addr + offset; in ecore_dmae_execute_command()
942 dst_addr_split = dst_addr + (offset*4); in ecore_dmae_execute_command()
[all …]
/illumos-gate/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 …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_hash.c64 uint8_t *src_addr, uint16_t src_port, uint8_t *dst_addr, uint16_t dst_port) in sfxge_toeplitz_hash() argument
71 hash ^= toeplitz_hash(sp->s_toeplitz_cache, dst_addr, pos, addr_size); in sfxge_toeplitz_hash()
/illumos-gate/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
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/
H A Diser_cm.c150 ipcm_info.dst_addr.un.ip4addr); in iser_ib_handle_cm_req()
161 ipcm_info.dst_addr.un.ip4addr, in iser_ib_handle_cm_req()
168 chan->ic_localip = ipcm_info.dst_addr; in iser_ib_handle_cm_req()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvldc.h84 uint64_t dst_addr; /* destination address */ member
/illumos-gate/usr/src/test/os-tests/tests/minttl/
H A Dminttl.c634 struct sockaddr_storage dst_addr; in ttl_test_one() local
658 if (!ttl_bind_dest(test, dst, &dst_addr)) { in ttl_test_one()
701 (struct sockaddr *)&dst_addr)) { in ttl_test_one()
714 (struct sockaddr *)&dst_addr)) { in ttl_test_one()
/illumos-gate/usr/src/test/os-tests/tests/tcpsig/
H A Dtcpsig.c613 struct sockaddr_storage dst_addr; in tcpsig_test_one() local
650 if (!tcpsig_bind_dest(test, dst, &dst_addr)) { in tcpsig_test_one()
656 (struct sockaddr *)&dst_addr)) { in tcpsig_test_one()
/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibcm/
H A Dibcm_arp.h60 ibt_ip_addr_t dst_addr; /* user supplied dest address */ member
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/
H A Dl4states.h112 u8_t dst_addr[8]; member

123