Home
last modified time | relevance | path

Searched refs:ether_addr_octet (Results 1 – 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvsw_fdb.h40 (key = ((((uint64_t)(addr)->ether_addr_octet[0]) << 40) | \
41 (((uint64_t)(addr)->ether_addr_octet[1]) << 32) | \
42 (((uint64_t)(addr)->ether_addr_octet[2]) << 24) | \
43 (((uint64_t)(addr)->ether_addr_octet[3]) << 16) | \
44 (((uint64_t)(addr)->ether_addr_octet[4]) << 8) | \
45 ((uint64_t)(addr)->ether_addr_octet[5])));
/illumos-gate/usr/src/uts/common/io/
H A Detheraddr.c69 addr->ether_addr_octet[0], addr->ether_addr_octet[1], in ether_sprintf()
70 addr->ether_addr_octet[2], addr->ether_addr_octet[3], in ether_sprintf()
71 addr->ether_addr_octet[4], addr->ether_addr_octet[5]); in ether_sprintf()
H A Dllc1.c1362 hdr->ether_dhost.ether_addr_octet, in llc1_unitdata()
1365 hdr->ether_shost.ether_addr_octet, in llc1_unitdata()
1932 bcopy(maddr->ether_addr_octet, in llc1_enable_multi()
2186 bcopy(hdr->ether_dhost.ether_addr_octet, in llc1_form_udata()
2202 bcopy(hdr->ether_shost.ether_addr_octet, in llc1_form_udata()
2299 bcopy(hdr->ether_shost.ether_addr_octet, in llc1_xid_reply()
2389 bcopy(hdr->ether_dhost.ether_addr_octet, in llc1_xid_ind_con()
2408 bcopy(hdr->ether_shost.ether_addr_octet, in llc1_xid_ind_con()
2585 bcopy(hdr->ether_shost.ether_addr_octet, in llc1_test_reply()
2638 bcopy(hdr->ether_dhost.ether_addr_octet, in llc1_test_ind_con()
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dgetether.c92 e->ether_addr_octet[0], e->ether_addr_octet[1], in ether_getlogstr()
93 e->ether_addr_octet[2], e->ether_addr_octet[3], in ether_getlogstr()
94 e->ether_addr_octet[4], e->ether_addr_octet[5]); in ether_getlogstr()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dether_addr.c147 e->ether_addr_octet[i] = (uchar_t)t[i]; in ether_line()
267 e->ether_addr_octet[0], e->ether_addr_octet[1], in ether_ntoa_r()
268 e->ether_addr_octet[2], e->ether_addr_octet[3], in ether_ntoa_r()
269 e->ether_addr_octet[4], e->ether_addr_octet[5]); in ether_ntoa_r()
301 e->ether_addr_octet[i] = (uchar_t)t[i]; in ether_aton_r()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c1312 p->ether_addr_octet[0], in printether()
1313 p->ether_addr_octet[1], in printether()
1314 p->ether_addr_octet[2], in printether()
1315 p->ether_addr_octet[3], in printether()
1316 p->ether_addr_octet[4], in printether()
1567 pd->ether_addr_octet[0] = endianswap[ps->ether_addr_octet[0]]; in addr_copy_swap()
1568 pd->ether_addr_octet[1] = endianswap[ps->ether_addr_octet[1]]; in addr_copy_swap()
1569 pd->ether_addr_octet[2] = endianswap[ps->ether_addr_octet[2]]; in addr_copy_swap()
1570 pd->ether_addr_octet[3] = endianswap[ps->ether_addr_octet[3]]; in addr_copy_swap()
1571 pd->ether_addr_octet[4] = endianswap[ps->ether_addr_octet[4]]; in addr_copy_swap()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_espc.c48 final_mac->ether_addr_octet[0] = (mac_addr & 0xff0000000000) >> 40; in nxge_espc_get_next_mac_addr()
49 final_mac->ether_addr_octet[1] = (mac_addr & 0xff00000000) >> 32; in nxge_espc_get_next_mac_addr()
50 final_mac->ether_addr_octet[2] = (mac_addr & 0xff000000) >> 24; in nxge_espc_get_next_mac_addr()
51 final_mac->ether_addr_octet[3] = (mac_addr & 0xff0000) >> 16; in nxge_espc_get_next_mac_addr()
52 final_mac->ether_addr_octet[4] = (mac_addr & 0xff00) >> 8; in nxge_espc_get_next_mac_addr()
53 final_mac->ether_addr_octet[5] = (mac_addr & 0xff); in nxge_espc_get_next_mac_addr()
/illumos-gate/usr/src/compat/bhyve/net/
H A Dethernet.h20 #define ether_addr_octet octet macro
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_pfc.c467 uint8_t *address = addrp->ether_addr_octet; in hxge_pfc_set_mac_address()
1161 final_mac->ether_addr_octet[0] = (mac_addr & 0xff0000000000) >> 40; in hxge_pfc_get_next_mac_addr()
1162 final_mac->ether_addr_octet[1] = (mac_addr & 0xff00000000) >> 32; in hxge_pfc_get_next_mac_addr()
1163 final_mac->ether_addr_octet[2] = (mac_addr & 0xff000000) >> 24; in hxge_pfc_get_next_mac_addr()
1164 final_mac->ether_addr_octet[3] = (mac_addr & 0xff0000) >> 16; in hxge_pfc_get_next_mac_addr()
1165 final_mac->ether_addr_octet[4] = (mac_addr & 0xff00) >> 8; in hxge_pfc_get_next_mac_addr()
1166 final_mac->ether_addr_octet[5] = (mac_addr & 0xff); in hxge_pfc_get_next_mac_addr()
/illumos-gate/usr/src/uts/common/io/axf/
H A Daxf_usbgem.c497 bcmp(dp->dev_addr.ether_addr_octet, in axf_stop_chip()
498 dp->cur_addr.ether_addr_octet, in axf_stop_chip()
501 ETHERADDRL, dp->cur_addr.ether_addr_octet, &err, usberr); in axf_stop_chip()
563 if (bcmp(dp->dev_addr.ether_addr_octet, in axf_set_rx_filter()
564 dp->cur_addr.ether_addr_octet, ETHERADDRL) != 0) { in axf_set_rx_filter()
573 ETHERADDRL, dp->cur_addr.ether_addr_octet, &err, usberr); in axf_set_rx_filter()
1011 ETHERADDRL, dp->dev_addr.ether_addr_octet, &err, usberr); in axf_attach_chip()
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe.c325 mac = dp->dev_addr.ether_addr_octet; in sfe_get_mac_addr_dp83815()
363 mac = dp->dev_addr.ether_addr_octet; in sfe_get_mac_addr_sis900()
611 uint8_t *mac = dp->cur_addr.ether_addr_octet; in sfe_set_rx_filter_dp83815()
623 dp->mc_list[i].addr.ether_addr_octet[0], in sfe_set_rx_filter_dp83815()
624 dp->mc_list[i].addr.ether_addr_octet[1], in sfe_set_rx_filter_dp83815()
625 dp->mc_list[i].addr.ether_addr_octet[2], in sfe_set_rx_filter_dp83815()
626 dp->mc_list[i].addr.ether_addr_octet[3], in sfe_set_rx_filter_dp83815()
627 dp->mc_list[i].addr.ether_addr_octet[4], in sfe_set_rx_filter_dp83815()
628 dp->mc_list[i].addr.ether_addr_octet[5]); in sfe_set_rx_filter_dp83815()
701 mac = &dp->mc_list[j].addr.ether_addr_octet[0]; in sfe_set_rx_filter_dp83815()
[all …]
H A Dsfe_util.c1911 gem_etherbroadcastaddr.ether_addr_octet, in gem_receive()
3057 dp->dev_addr.ether_addr_octet[i] = mac[i]; in gem_get_mac_addr_conf()
4104 bcopy(dp->dev_addr.ether_addr_octet, in gem_m_start()
4105 dp->cur_addr.ether_addr_octet, ETHERADDRL); in gem_m_start()
4616 macp->m_src_addr = dp->dev_addr.ether_addr_octet; in gem_gld3_init()
4907 dp->dev_addr.ether_addr_octet[0], in gem_do_attach()
4908 dp->dev_addr.ether_addr_octet[1], in gem_do_attach()
4909 dp->dev_addr.ether_addr_octet[2], in gem_do_attach()
4910 dp->dev_addr.ether_addr_octet[3], in gem_do_attach()
4911 dp->dev_addr.ether_addr_octet[4], in gem_do_attach()
[all …]
/illumos-gate/usr/src/common/inet/
H A Dinet_hash.c173 uchar_t *mac_src = ehp->ether_shost.ether_addr_octet; in inet_pkt_hash()
174 uchar_t *mac_dst = ehp->ether_dhost.ether_addr_octet; in inet_pkt_hash()
/illumos-gate/usr/src/uts/common/net/
H A Dsppptun.h111 #define ptma_mac ptma_mac_ether_addr.ether_addr_octet
/illumos-gate/usr/src/uts/common/sys/
H A Dethernet.h53 ether_addr_t ether_addr_octet; member
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c531 (void) _link_ntoa(eh->ether_shost.ether_addr_octet, in receive_packet()
546 (void) _link_ntoa(eh->ether_shost.ether_addr_octet, in receive_packet()
555 (void) _link_ntoa(eh->ether_shost.ether_addr_octet, sender, in receive_packet()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoec.c743 mcp = sfnew->sf_mask.ether_addr_octet; in parse_filter()
748 ucp = sfnew->sf_mac.ether_addr_octet; in parse_filter()
752 if (ucp >= sfnew->sf_mac.ether_addr_octet + in parse_filter()
1361 macp = sfp->sf_mac.ether_addr_octet; in use_server()
1362 maskp = sfp->sf_mask.ether_addr_octet; in use_server()
/illumos-gate/usr/src/uts/common/io/hme/
H A Dhme.c751 local_mac.ether_addr_octet[i] = in hme_create_prop_from_kw()
755 (char *)local_mac.ether_addr_octet, ETHERADDRL) in hme_create_prop_from_kw()
1507 macp->m_src_addr = hmep->hme_ouraddr.ether_addr_octet; in hmeattach()
2581 ((hmep->hme_ouraddr.ether_addr_octet[0] << 8) & 0x3) | in hmeinit()
2582 hmep->hme_ouraddr.ether_addr_octet[1]); in hmeinit()
2589 PUT_MACREG(madd2, (hmep->hme_ouraddr.ether_addr_octet[4] << 8) | in hmeinit()
2590 hmep->hme_ouraddr.ether_addr_octet[5]); in hmeinit()
2591 PUT_MACREG(madd1, (hmep->hme_ouraddr.ether_addr_octet[2] << 8) | in hmeinit()
2592 hmep->hme_ouraddr.ether_addr_octet[3]); in hmeinit()
2593 PUT_MACREG(madd0, (hmep->hme_ouraddr.ether_addr_octet[0] << 8) | in hmeinit()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c3456 if (!get_first_hwaddr(eth_addr.ether_addr_octet,
3457 sizeof (eth_addr.ether_addr_octet))) {
3463 p_eui64->e8[0] = (eth_addr.ether_addr_octet[0] & 0xFF) | 0x02;
3464 p_eui64->e8[1] = (eth_addr.ether_addr_octet[1] & 0xFF);
3465 p_eui64->e8[2] = (eth_addr.ether_addr_octet[2] & 0xFF);
3468 p_eui64->e8[5] = (eth_addr.ether_addr_octet[3] & 0xFF);
3469 p_eui64->e8[6] = (eth_addr.ether_addr_octet[4] & 0xFF);
3470 p_eui64->e8[7] = (eth_addr.ether_addr_octet[5] & 0xFF);
/illumos-gate/usr/src/uts/common/io/simnet/
H A Dsimnet.c1073 if (bcmp(maddrp->ether_addr_octet, addrp, in mcastaddr_lookup()
1074 sizeof (maddrp->ether_addr_octet)) == 0) { in mcastaddr_lookup()
1087 if ((eap->ether_addr_octet[0] & 01) == 0) { in simnet_multicst_add()
1133 bcopy(addrp, ea.ether_addr_octet, sizeof (ea.ether_addr_octet)); in simnet_m_multicst()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_gld.c104 (uint8_t *)qlge->unicst_addr[0].addr.ether_addr_octet, 0); in ql_m_start()
456 bcopy(mac, qlge->unicst_addr[0].addr.ether_addr_octet, ETHERADDRL); in ql_m_unicst()
960 macp->m_src_addr = qlge->dev_addr.ether_addr_octet; in ql_gld3_init()
/illumos-gate/usr/src/uts/common/io/udmf/
H A Dudmf_usbgem.c316 mac = dp->cur_addr.ether_addr_octet; in udmf_set_rx_filter()
340 OUT(dp, PAR, ETHERADDRL, dp->cur_addr.ether_addr_octet, in udmf_set_rx_filter()
708 m = dp->dev_addr.ether_addr_octet; in udmf_attach_chip()
/illumos-gate/usr/src/uts/common/io/usbgem/
H A Dusbgem.c2371 bcopy(ep, dp->mc_list[cnt].addr.ether_addr_octet, in usbgem_add_multicast()
3077 bcopy(dp->dev_addr.ether_addr_octet, in usbgem_m_start()
3078 dp->cur_addr.ether_addr_octet, ETHERADDRL); in usbgem_m_start()
3605 macp->m_src_addr = dp->dev_addr.ether_addr_octet; in usbgem_gld3_init()
3722 dp->dev_addr.ether_addr_octet[i] = mac[i]; in usbgem_get_mac_addr_conf()
4496 dp->dev_addr.ether_addr_octet[0], in usbgem_do_attach()
4497 dp->dev_addr.ether_addr_octet[1], in usbgem_do_attach()
4498 dp->dev_addr.ether_addr_octet[2], in usbgem_do_attach()
4499 dp->dev_addr.ether_addr_octet[3], in usbgem_do_attach()
4500 dp->dev_addr.ether_addr_octet[4], in usbgem_do_attach()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_phys.c344 ret = mac_multicast_add(mch, mcst_p->mca.ether_addr_octet); in vsw_mac_multicast_add()
373 mac_multicast_remove(mch, mcst_p->mca.ether_addr_octet); in vsw_mac_multicast_remove()
706 macaddr = (uint8_t *)port->p_macaddr.ether_addr_octet; in vsw_set_port_hw_addr()
766 macaddr = (uint8_t *)vswp->if_addr.ether_addr_octet; in vsw_set_if_hw_addr()
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c469 ether_copy((void *)hdr->ether_dhost.ether_addr_octet, in eib_data_parse_ether_hdr()
471 ether_copy((void *)hdr->ether_shost.ether_addr_octet, in eib_data_parse_ether_hdr()
477 ether_copy((void *)vl_hdr->ether_dhost.ether_addr_octet, in eib_data_parse_ether_hdr()
479 ether_copy((void *)vl_hdr->ether_shost.ether_addr_octet, in eib_data_parse_ether_hdr()

123