/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_arp_link.c | 63 ibt_ip_addr_t *src_addr) in ibcm_arp_create_prwqn() argument 78 if (src_addr) { in ibcm_arp_create_prwqn() 79 wqnp->usrc_addr = *src_addr; in ibcm_arp_create_prwqn() 107 ibt_ip_addr_t *src_addr, zoneid_t myzoneid) in ibcm_resolver_pr_lookup() argument 118 IBCM_PRINT_IP("ibcm_arp_pr_lookup: SRC", src_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() 157 INADDR_ANY, myzoneid, ipst, &wqnp->src_addr.un.ip4addr, in ibcm_resolver_pr_lookup() 165 wqnp->src_addr.family = wqnp->gateway.family = in ibcm_resolver_pr_lookup() 198 &wqnp->src_addr.un.ip6addr, NULL, NULL) != 0) { in ibcm_resolver_pr_lookup() 205 wqnp->src_addr.family = wqnp->gateway.family = in ibcm_resolver_pr_lookup() [all …]
|
H A D | ibcm_arp.c | 45 ibt_ip_addr_t *dst_addr, ibt_ip_addr_t *src_addr, zoneid_t myzoneid); 130 &wqnp->src_addr.un, len)) { in ibcm_arp_get_ibaddr() 154 bcopy(&wqnp->src_addr, saddrp, in ibcm_arp_get_ibaddr() 174 bcopy(&wqnp->src_addr, saddrp, sizeof (ibt_ip_addr_t)); in ibcm_arp_get_ibaddr()
|
/illumos-gate/usr/src/test/smbclient-tests/cmd/cp_mmap/ |
H A D | cp_mmap.c | 46 char *src_addr, *des_addr; in main() local 151 src_addr = mmap(NULL, len, PROT_READ, MAP_SHARED, in main() 153 if (src_addr == MAP_FAILED) { in main() 167 memcpy(des_addr, src_addr, len); in main() 181 if (munmap(src_addr, len) == -1) { in main()
|
/illumos-gate/usr/src/test/smbclient-tests/cmd/prot_mmap/ |
H A D | prot_mmap.c | 48 char *src_addr, *des_addr; in main() local 174 src_addr = mmap(NULL, blksize, prot0, mflags0, src_fid, offset); in main() 175 if (src_addr == MAP_FAILED) { in main() 188 memcpy(des_addr, src_addr, blksize); in main() 202 if (munmap(src_addr, blksize) == -1) { in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa.c | 872 unsigned char *src_addr, struct wpa_eapol_key *key, int ver) in wpa_supplicant_process_1_of_4() argument 886 MACSTR " (ver=%d)", MAC2STR(src_addr), ver); in wpa_supplicant_process_1_of_4() 941 (void) memcpy(ethhdr->h_dest, src_addr, IEEE80211_ADDR_LEN); in wpa_supplicant_process_1_of_4() 977 wpa_pmk_to_ptk(wpa_s->pmk, wpa_s->own_addr, src_addr, in wpa_supplicant_process_1_of_4() 1000 unsigned char *src_addr, struct wpa_eapol_key *key, in wpa_supplicant_process_3_of_4_gtk() argument 1096 MACSTR, MAC2STR(src_addr)); in wpa_supplicant_process_3_of_4_gtk() 1104 unsigned char *src_addr, struct wpa_eapol_key *key, in wpa_supplicant_process_3_of_4() argument 1118 MACSTR " (ver=%d)", MAC2STR(src_addr), ver); in wpa_supplicant_process_3_of_4() 1168 MAC2STR(src_addr)); in wpa_supplicant_process_3_of_4() 1180 " packet (src=" MACSTR ")", MAC2STR(src_addr)); in wpa_supplicant_process_3_of_4() [all …]
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_scanner.c | 420 uintptr_t src_addr; in OR_pagedata() local 428 src_addr = (uintptr_t)set_prpageheader_cur(&src_cur, src, 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() 434 src_addr = (uintptr_t)advance_prpageheader_cur( in OR_pagedata() 439 if (src_addr != dst_addr) in OR_pagedata() 441 src_addr = advance_prpageheader_cur_nextmapping(&src_cur); in OR_pagedata() 443 while (src_addr != dst_addr && src_addr != (uintptr_t)NULL && in OR_pagedata() 446 if (src_addr < dst_addr) in OR_pagedata() 447 src_addr = advance_prpageheader_cur_nextmapping( in OR_pagedata()
|
/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat_chan.c | 99 static void ioat_cmd_post_copy(ioat_channel_ring_t *ring, uint64_t src_addr, 969 uint64_t src_addr; in ioat_cmd_post() local 1029 src_addr = cmd->dp.copy.cc_source; in ioat_cmd_post() 1034 src_paddr = pa_to_ma(src_addr); in ioat_cmd_post() 1038 if ((src_addr & PAGEOFFSET) == 0) { in ioat_cmd_post() 1041 src_size = PAGESIZE - (src_addr & PAGEOFFSET); in ioat_cmd_post() 1078 src_addr += xfer_size; in ioat_cmd_post() 1212 ioat_cmd_post_copy(ioat_channel_ring_t *ring, uint64_t src_addr, in ioat_cmd_post_copy() argument 1234 desc->dd_src_paddr = src_addr; in ioat_cmd_post_copy() 1389 uint64_t src_addr; in ioat_ring_reserve() local [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_hw.c | 804 u64 src_addr, in ecore_dmae_execute_sub_operation() argument 817 cmd->src_addr_hi = OSAL_CPU_TO_LE32(DMA_HI(src_addr)); in ecore_dmae_execute_sub_operation() 818 cmd->src_addr_lo = OSAL_CPU_TO_LE32(DMA_LO(src_addr)); in ecore_dmae_execute_sub_operation() 825 (void *)(osal_uintptr_t)src_addr, in ecore_dmae_execute_sub_operation() 874 src_addr, dst_addr, length_dw, 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() 926 src_addr_split = src_addr; in ecore_dmae_execute_command() 934 src_addr_split = src_addr + offset; in ecore_dmae_execute_command() 936 src_addr_split = src_addr + (offset*4); in ecore_dmae_execute_command() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_dmae.c | 884 lm_address_t src_addr = {{0}}; in lm_dmae_context_execute_sub_operation() local 889 src_addr.as_u64 = src_offset; in lm_dmae_context_execute_sub_operation() 897 operation->main_cmd.src_addr_hi = src_addr.as_u32.high; in lm_dmae_context_execute_sub_operation() 898 operation->main_cmd.src_addr_lo = src_addr.as_u32.low; in lm_dmae_context_execute_sub_operation() 906 mm_memcpy( &context->intermediate_buffer[0], src_addr.as_ptr, length*sizeof(u32_t)); in lm_dmae_context_execute_sub_operation() 991 lm_address_t src_addr = {{0}}; in lm_dmae_context_execute_single_block() local 1006 src_addr.as_u64 = lm_dmae_address_native_offset(&operation->blocks[0].source); in lm_dmae_context_execute_single_block() 1007 src_addr_split = src_addr.as_u64; in lm_dmae_context_execute_single_block() 1028 src_addr_split = src_addr.as_u64 + offset; in lm_dmae_context_execute_single_block() 1032 src_addr_split = src_addr.as_u64 + (offset*4); in lm_dmae_context_execute_single_block()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vldc.c | 1199 caddr_t src_addr, dst_addr; in i_vldc_ioctl_read_cookie() local 1207 src_addr = (caddr_t)copy_info.src_addr; in i_vldc_ioctl_read_cookie() 1218 dst_addr, copy_size, src_addr); in i_vldc_ioctl_read_cookie() 1240 rv = ddi_copyout(vport->cookie_buf, src_addr, copy_size, mode); in i_vldc_ioctl_read_cookie() 1247 src_addr += copy_size; in i_vldc_ioctl_read_cookie() 1267 caddr_t src_addr, dst_addr; in i_vldc_ioctl_write_cookie() local 1275 "to 0x%lx\n", vldc_instance, vport->number, copy_info.src_addr, in i_vldc_ioctl_write_cookie() 1279 src_addr = (caddr_t)copy_info.src_addr; in i_vldc_ioctl_write_cookie() 1290 if (ddi_copyin((caddr_t)src_addr, vport->cookie_buf, in i_vldc_ioctl_write_cookie() 1315 src_addr += copy_size; in i_vldc_ioctl_write_cookie()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_hash.c | 64 uint8_t *src_addr, uint16_t src_port, uint8_t *dst_addr, uint16_t dst_port) in sfxge_toeplitz_hash() argument 69 hash ^= toeplitz_hash(sp->s_toeplitz_cache, src_addr, pos, addr_size); in sfxge_toeplitz_hash()
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/ |
H A D | rdma_cm.h | 78 struct sockaddr src_addr; member 205 int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr,
|
H A D | rdma_user_cm.h | 118 struct sockaddr_in6 src_addr; member 138 struct sockaddr_in6 src_addr; member
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_rts.c | 82 ipaddr_t mask, ipaddr_t gateway, ipaddr_t src_addr, ipaddr_t brd_addr, 298 ipaddr_t src_addr; in ip_rts_request_common() local 315 src_addr = 0; in ip_rts_request_common() 377 IN6_V4MAPPED_TO_IPADDR(&src_addr_v6, src_addr); in ip_rts_request_common() 515 if (src_addr != INADDR_ANY) { in ip_rts_request_common() 523 if (src_addr == htonl(INADDR_LOOPBACK)) { in ip_rts_request_common() 531 type = ip_type_v4(src_addr, ipst); in ip_rts_request_common() 547 error = ip_rt_add(dst_addr, net_mask, gw_addr, src_addr, in ip_rts_request_common() 800 (ire->ire_setsrc_addr != src_addr)) { in ip_rts_request_common() 801 if (src_addr != INADDR_ANY) { in ip_rts_request_common() [all …]
|
H A D | ip_netinfo.c | 1315 void *src_addr; in ip_getifaddr_type() local 1326 src_addr = &(ill_ipif->ipif_lcl_addr); in ip_getifaddr_type() 1329 src_addr = &(ill_ipif->ipif_pp_dst_addr); in ip_getifaddr_type() 1332 src_addr = &(ill_ipif->ipif_brd_addr); in ip_getifaddr_type() 1335 src_addr = &(ill_ipif->ipif_net_mask); in ip_getifaddr_type() 1346 src_addr = &(ill_ipif->ipif_v6lcl_addr); in ip_getifaddr_type() 1349 src_addr = &(ill_ipif->ipif_v6pp_dst_addr); in ip_getifaddr_type() 1352 src_addr = &(ill_ipif->ipif_v6brd_addr); in ip_getifaddr_type() 1355 src_addr = &(ill_ipif->ipif_v6net_mask); in ip_getifaddr_type() 1363 (void) memcpy(storage, src_addr, mem_size); in ip_getifaddr_type()
|
H A D | ip6_rts.c | 82 const in6_addr_t *src_addr, const in6_addr_t *brd_addr, in rts_fill_msg_v6() argument 132 sin6->sin6_addr = *src_addr; in rts_fill_msg_v6()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | kstatcom.h | 133 kstat_named_t src_addr; member 153 kstat_named_t src_addr; member 174 kstat_named_t src_addr; member 201 kstat_named_t src_addr; member
|
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_cm.c | 149 ipcm_info.src_addr.un.ip4addr, ipcm_info.src_port, in iser_ib_handle_cm_req() 160 ipcm_info.src_addr.un.ip4addr, ipcm_info.src_port, in iser_ib_handle_cm_req() 169 chan->ic_remoteip = ipcm_info.src_addr; in iser_ib_handle_cm_req()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vldc.h | 83 uint64_t src_addr; /* source address */ member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 791 create_targetaddr_item(struct sockaddr *dst_addr, union any_in_addr *src_addr) in create_targetaddr_item() argument 821 targetaddr->src_addr = *src_addr; in create_targetaddr_item() 1183 union any_in_addr *src_addr) in select_src_addr() argument 1231 src_addr->addr.s_addr = INADDR_ANY; in select_src_addr() 1233 src_addr->addr6 = in6addr_any; in select_src_addr() 1247 src_addr->addr = sin->sin_addr; in select_src_addr() 1250 src_addr->addr6 = sin6->sin6_addr; in select_src_addr() 1862 to6.sin6_addr = current_targetaddr->src_addr.addr6; in send_scheduled_probe() 1913 current_targetaddr->src_addr.addr; in send_scheduled_probe() 1922 ¤t_targetaddr->src_addr.addr, &to.sin_addr); in send_scheduled_probe()
|
H A D | ping.h | 91 union any_in_addr src_addr; /* src addr to use for this dst addr */ member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 1545 union any_in_addr src_addr; in traceroute() local 1555 (void) select_src_addr(pr->gwIPlist, &src_addr, in traceroute() 1558 (void) select_src_addr(ip_addr, &src_addr, pr->family); in traceroute() 1560 set_sin(pr->from, &src_addr, pr->family); in traceroute() 1571 dev_name = device_name(al, num_ifs, &src_addr, pr); in traceroute() 1818 select_src_addr(union any_in_addr *dst_addr, union any_in_addr *src_addr, in select_src_addr() argument 1867 src_addr->addr.s_addr = INADDR_ANY; in select_src_addr() 1869 src_addr->addr6 = in6addr_any; in select_src_addr() 1884 src_addr->addr = sin->sin_addr; in select_src_addr() 1888 src_addr->addr6 = sin6->sin6_addr; in select_src_addr()
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet_sundry.c | 649 union any_in_addr *src_addr) in select_server_addr() argument 695 src_addr->addr.s_addr = INADDR_ANY; in select_server_addr() 701 (void) memset(src_addr->addr6.s6_addr, in select_server_addr() 720 src_addr->addr = sin->sin_addr; in select_server_addr() 724 src_addr->addr6 = sin6->sin6_addr; in select_server_addr()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 187 rdma_ib_resolve_addr(struct rdma_cm_id *idp, struct sockaddr *src_addr, in rdma_ib_resolve_addr() argument 197 "%p, %p, %p, %x)", idp, src_addr, dst_addr, timeout_ms); in rdma_ib_resolve_addr() 206 IS_VALID_SOCKADDR(src_addr)) { in rdma_ib_resolve_addr() 207 sockaddr2ibtaddr_port(idp, src_addr, &ibchanp->chan_local_addr, in rdma_ib_resolve_addr() 450 &(ep_idp->route.addr.src_addr), NULL); in ibcma_append_listen_list() 1018 bcopy(&ibchanp->chan_local_addr, &ipcm_info.src_addr, in ibcma_tcp_connect() 1121 bcopy((void *)&ibchanp->chan_local_addr, &ipcm_info.src_addr, in ibcma_udp_connect() 1267 &(idp->route.addr.src_addr), NULL); in ibcma_path_hdlr() 1426 bcopy(&info.src_addr, &event_ibchanp->chan_remote_addr, in ibcma_ud_hdlr() 1428 ipaddr2sockaddr(&info.src_addr, in ibcma_ud_hdlr() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibcm/ |
H A D | ibcm_arp.h | 61 ibt_ip_addr_t src_addr; /* rts's view of src address */ member
|