Searched refs:ETHERADDRL (Results 1 - 25 of 167) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/inet/nca/
H A Dncaconf.h42 #ifndef ETHERADDRL
43 #define ETHERADDRL 6 macro
51 uchar_t router_ether_addr[ETHERADDRL];
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_ioctl.h49 uint8_t smac_addr[MAX_SMAC][ETHERADDRL];
50 uint8_t pmac_addr[ETHERADDRL];
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_common.c44 for (i = 0; i < ETHERADDRL; i++) {
60 for (i = ETHERADDRL - 1; i >= 0; i--) {
81 ovbcopy(mp->b_rptr, mp->b_rptr - VLAN_TAGSZ, 2 * ETHERADDRL);
104 n = 2 * ETHERADDRL;
144 ovbcopy(mp->b_rptr, mp->b_rptr + VLAN_TAGSZ, 2 * ETHERADDRL);
159 n = 2 * ETHERADDRL;
/illumos-gate/usr/src/uts/common/sys/
H A Dllc1.h81 unsigned char llcm_addr[ETHERADDRL];
93 unsigned char llcp_macaddr[ETHERADDRL];
94 unsigned char llcp_broadcast[ETHERADDRL];
193 unsigned char llca_addr[ETHERADDRL];
199 unsigned char llca_saddr[ETHERADDRL];
246 #define LLC1_CSMACD_HDR_SIZE (2*ETHERADDRL+2)
H A Daggr.h129 uchar_t lc_mac[ETHERADDRL];
159 uchar_t lp_mac[ETHERADDRL];
167 uchar_t lg_mac[ETHERADDRL];
202 uchar_t lu_mac[ETHERADDRL];
H A Dethernet.h39 #define ETHERADDRL (6) /* ethernet address length in octets */ macro
41 #define ETHERADDRSTRL (18) /* char size of ETHERADDRL with null */
46 typedef uchar_t ether_addr_t[ETHERADDRL];
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlaggr.h56 uchar_t lp_mac[ETHERADDRL];
67 uchar_t lg_mac[ETHERADDRL];
H A Dlibdlaggr.c58 (((mac) != NULL) && (bcmp(zero_mac, (mac), ETHERADDRL) != 0) && \
66 uchar_t ld_mac[ETHERADDRL];
176 bcopy(grp->lg_mac, attrp->lg_mac, ETHERADDRL);
194 bcopy(port->lp_mac, attrp->lg_ports[i].lp_mac, ETHERADDRL);
275 char macstr[ETHERADDRL * 3];
613 bcopy(attr->ld_mac, ioc.lu_mac, ETHERADDRL);
663 bcopy(mac_addr, iocp->lc_mac, ETHERADDRL);
846 bzero(mac_addr, ETHERADDRL);
854 if (mac_len != ETHERADDRL) {
859 if ((bcmp(zero_mac, conv_str, ETHERADDRL)
[all...]
/illumos-gate/usr/src/lib/libfcoe/common/
H A Dlibfcoe.h102 FCOE_UINT8 mac_factory_addr[ETHERADDRL];
103 FCOE_UINT8 mac_current_addr[ETHERADDRL];
/illumos-gate/usr/src/uts/common/sys/fcoe/
H A Dfcoeio.h131 uint8_t fpi_mac_factory_addr[ETHERADDRL];
133 uint8_t fpi_mac_current_addr[ETHERADDRL];
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_ctl.c44 uchar_t mac_addr[ETHERADDRL];
58 bcopy(modify_arg->lu_mac, mac_addr, ETHERADDRL);
90 uchar_t mac_addr[ETHERADDRL];
112 bcopy(create_arg->lc_mac, mac_addr, ETHERADDRL);
153 bcopy(mac, grp.lg_mac, ETHERADDRL);
181 bcopy(mac, port.lp_mac, ETHERADDRL);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c111 (void) memcpy(mac, pd->mac_addr, ETHERADDRL);
450 unsigned char mac[ETHERADDRL];
452 char curid[ETHERADDRL * 3];
453 char newmac[ETHERADDRL * 3];
455 (void) _link_ntoa(port->mac_addr, curid, ETHERADDRL, IFT_OTHER);
456 (void) _link_ntoa(newaddr, newmac, ETHERADDRL, IFT_OTHER);
458 if (memcmp(port->mac_addr, mac, ETHERADDRL) == 0) {
465 (void) memcpy(port->mac_addr, newaddr, ETHERADDRL);
474 (void) memcpy(port->mac_addr, newaddr, ETHERADDRL);
H A Ddlpi.c94 if (memcmp(info->dni_physaddr, port->mac_addr, ETHERADDRL) != 0)
142 char addrstr[ETHERADDRL * 3];
206 if (alen != ETHERADDRL) {
211 (void) memcpy(port->mac_addr, addrbuf, ETHERADDRL);
238 (void) _link_ntoa(port->mac_addr, addrstr, ETHERADDRL,
H A Dglobal.h62 uchar_t mac_addr[ETHERADDRL];
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_mac.c415 if (n == ETHERADDRL) {
416 bcopy(bytes, smp->sm_bia, ETHERADDRL);
428 bcopy(encp->enc_mac_addr, smp->sm_bia, ETHERADDRL);
774 bcopy(smp->sm_bia, addr, ETHERADDRL);
783 bcopy(smp->sm_laa, addr, ETHERADDRL);
815 uint8_t old_mac[ETHERADDRL];
822 bcopy(smp->sm_laa, old_mac, ETHERADDRL);
824 bcopy(addr, smp->sm_laa, ETHERADDRL);
859 bcopy(old_mac, smp->sm_laa, ETHERADDRL);
914 if (bcmp(smp->sm_mcast_addr + (i * ETHERADDRL),
[all...]
/illumos-gate/usr/src/uts/common/io/fcoe/
H A Dfcoe.h139 uint8_t fm_primary_addr[ETHERADDRL];
140 uint8_t fm_current_addr[ETHERADDRL];
/illumos-gate/usr/src/uts/common/io/cxgbe/shared/
H A Dshared.h45 uint8_t hw_addr[ETHERADDRL]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_l2t.h59 uint8_t dmac[ETHERADDRL]; /* next hop's MAC address */
/illumos-gate/usr/src/uts/common/io/simnet/
H A Dsimnet.c315 kmem_free(sdev->sd_mcastaddrs, ETHERADDRL * sdev->sd_mcastaddr_count);
413 (void) random_get_pseudo_bytes(sdev->sd_mac_addr, ETHERADDRL);
416 sdev->sd_mac_len = ETHERADDRL;
700 ETHERADDRL) != 0) {
994 if (bcmp(maddrptr, addrp, ETHERADDRL) == 0)
996 maddrptr += ETHERADDRL;
1015 prevsize = sdev->sd_mcastaddr_count * ETHERADDRL;
1016 newsize = prevsize + (add ? ETHERADDRL:-ETHERADDRL);
1020 if (prevsize != (sdev->sd_mcastaddr_count * ETHERADDRL)) {
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/clients/eoib/
H A Deib_impl.h350 uint8_t sp_dmac[ETHERADDRL];
435 uint8_t mg_mac[ETHERADDRL];
521 uint8_t ld_assigned_mac[ETHERADDRL];
537 uint8_t mp_mac[ETHERADDRL];
573 uint8_t eh_dmac[ETHERADDRL];
574 uint8_t eh_smac[ETHERADDRL];
587 uint8_t vn_macaddr[ETHERADDRL];
695 uint8_t vr_mac[ETHERADDRL];
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_gld.c193 if (bcmp((mca_drv_list + i), mca, ETHERADDRL)) {
195 ETHERADDRL);
246 bcopy(uca, dev->unicast_addr, ETHERADDRL);
259 bzero(dev->unicast_addr, ETHERADDRL);
267 bcopy(uca, dev->unicast_addr, ETHERADDRL);
622 ETHERADDRL);
626 ETHERADDRL);
629 bcopy(dev->mac_addr, drv_query->pmac_addr, ETHERADDRL);
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_recv2.c208 bcopy(DMA_VPTR(srbdp->pbuf), dp, 2 * ETHERADDRL);
212 bcopy(((uchar_t *)(DMA_VPTR(srbdp->pbuf))) + 2 * ETHERADDRL,
213 dp + 2 * ETHERADDRL + VLAN_TAGSZ,
214 len - 2 * ETHERADDRL);
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_espc.h73 uint8_t mac_addr[ETHERADDRL];
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_espc.c37 uint64_t mac[ETHERADDRL];
41 for (i = ETHERADDRL - 1, j = 0; j < ETHERADDRL; i--, j++) {
63 uint8_t mac_addr[ETHERADDRL];
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ether.c293 mtrp->mtr_addrlen = ETHERADDRL;
343 if (bcmp(addr, ether_brdcst, ETHERADDRL) == 0)
394 bcopy(daddr, &(ehp->ether_dhost), ETHERADDRL);
395 bcopy(saddr, &(ehp->ether_shost), ETHERADDRL);

Completed in 156 milliseconds

1234567