/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_ctl.c | 138 uint32_t size, addr_length; in softmac_m_multicst() local 144 addr_length = softmac->smac_addrlen; in softmac_m_multicst() 146 size = sizeof (dl_enabmulti_req_t) + addr_length; in softmac_m_multicst() 149 size = sizeof (dl_disabmulti_req_t) + addr_length; in softmac_m_multicst() 160 enabmulti->dl_addr_length = addr_length; in softmac_m_multicst() 161 (void) memcpy(&enabmulti[1], mca, addr_length); in softmac_m_multicst() 165 disabmulti->dl_addr_length = addr_length; in softmac_m_multicst() 166 (void) memcpy(&disabmulti[1], mca, addr_length); in softmac_m_multicst()
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls.c | 342 uint_t addr_length; in dls_multicst_add() local 350 addr_length = dsp->ds_mip->mi_addr_length; in dls_multicst_add() 360 if (bcmp(addr, p->dma_addr, addr_length) == 0) { in dls_multicst_add() 373 bcopy(addr, p->dma_addr, addr_length); in dls_multicst_add() 399 uint_t addr_length; in dls_multicst_remove() local 407 addr_length = dsp->ds_mip->mi_addr_length; in dls_multicst_remove() 417 if (bcmp(addr, p->dma_addr, addr_length) == 0) in dls_multicst_remove() 548 size_t addr_length = dsp->ds_mip->mi_addr_length; in dls_accept_common() local 609 addr_length) == 0) { in dls_accept_common()
|
H A D | dls_link.c | 534 size_t addr_length = dsp->ds_mip->mi_addr_length; in dls_rx_vlan_promisc() local 540 if (memcmp(mhi.mhi_daddr, prim_addr, addr_length) != 0) in dls_rx_vlan_promisc()
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_proto.c | 152 uint_t addr_length; in proto_info_req() local 243 addr_length = minfop->mi_addr_length; in proto_info_req() 251 bcopy(minfop->mi_brdcst_addr, brdcst_addr, addr_length); in proto_info_req() 252 dlp->dl_brdcst_addr_length = addr_length; in proto_info_req() 291 dlp->dl_addr_length = addr_length + sizeof (uint16_t); in proto_info_req() 298 if (addr_length > 0) in proto_info_req() 301 *(uint16_t *)(addr + addr_length) = dsp->ds_sap; in proto_info_req() 865 uint_t addr_length; in proto_physaddr_req() local 878 addr_length = dsp->ds_mip->mi_addr_length; in proto_physaddr_req() 879 if (addr_length > 0) { in proto_physaddr_req() [all …]
|
H A D | dld_str.c | 1470 uint_t addr_length; in str_unitdata_ind() local 1498 addr_length = dsp->ds_mip->mi_addr_length; in str_unitdata_ind() 1501 bcopy(mhi.mhi_daddr, daddr, addr_length); in str_unitdata_ind() 1507 *(uint16_t *)(daddr + addr_length) = ETHERTYPE_VLAN; in str_unitdata_ind() 1509 *(uint16_t *)(daddr + addr_length) = mhi.mhi_bindsap; in str_unitdata_ind() 1510 dlp->dl_dest_addr_length = addr_length + sizeof (uint16_t); in str_unitdata_ind() 1528 bcopy(mhi.mhi_saddr, saddr, addr_length); in str_unitdata_ind() 1533 *(uint16_t *)(saddr + addr_length) = mhi.mhi_origsap; in str_unitdata_ind() 1534 dlp->dl_src_addr_length = addr_length + sizeof (uint16_t); in str_unitdata_ind() 1596 uint_t addr_length; in str_notify_phys_addr() local [all …]
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | mi.c | 1355 mi_tpi_addr_and_opt(MBLKP mp, char *addr, t_scalar_t addr_length, in mi_tpi_addr_and_opt() argument 1371 tudi->SRC_length = addr_length; in mi_tpi_addr_and_opt() 1372 if (addr_length > 0) { in mi_tpi_addr_and_opt() 1373 bcopy(addr, (char *)mp->b_wptr, addr_length); in mi_tpi_addr_and_opt() 1374 mp->b_wptr += addr_length; in mi_tpi_addr_and_opt()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | gld.c | 4053 int addr_length; in gld_inforeq() local 4074 addr_length = macinfo->gldm_addrlen; in gld_inforeq() 4078 addr_length = glddev->gld_addrlen; in gld_inforeq() 4086 bufsize += addr_length; in gld_inforeq() 4137 dlp->dl_addr_length = addr_length + abs(sap_length); in gld_inforeq() 4181 dlp->dl_addr_length = addr_length + abs(sap_length); in gld_inforeq()
|
H A D | gldutil.c | 2285 gld_sr_hash(struct srtab **sr_hash_tbl, uchar_t *addr, int addr_length) in gld_sr_hash() argument 2289 while (--addr_length >= 0) in gld_sr_hash()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 721 ill_dlur_gen(uchar_t *addr, uint_t addr_length, t_uscalar_t sap, in ill_dlur_gen() argument 729 mp = ip_dlpi_alloc(sizeof (*dlur) + addr_length + abs_sap_length, in ill_dlur_gen() 735 if (addr_length == 8) in ill_dlur_gen() 736 addr_length = 6; in ill_dlur_gen() 737 dlur->dl_dest_addr_length = addr_length + abs_sap_length; in ill_dlur_gen() 741 ill_dlur_copy_address(addr, addr_length, sap, sap_length, in ill_dlur_gen()
|