Home
last modified time | relevance | path

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

123

/titanic_44/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])));
H A Dvnet.h50 ((ehp->ether_dhost.ether_addr_octet[0] & 01) == 1)
H A Dvsw_ldc.h483 ((ehp->ether_dhost.ether_addr_octet[0] & 01) == 1)
/titanic_44/usr/src/uts/common/io/
H A Detheraddr.c71 addr->ether_addr_octet[0], addr->ether_addr_octet[1], in ether_sprintf()
72 addr->ether_addr_octet[2], addr->ether_addr_octet[3], in ether_sprintf()
73 addr->ether_addr_octet[4], addr->ether_addr_octet[5]); in ether_sprintf()
H A Dllc1.c796 addr->ether_addr_octet, ETHERADDRL) == 0) in llc1_multicast()
1362 hdr->ether_dhost.ether_addr_octet, in llc1_unitdata()
1365 hdr->ether_shost.ether_addr_octet, in llc1_unitdata()
1397 if (ismulticast(hdr->ether_dhost.ether_addr_octet)) { in llc1_unitdata()
1398 if (bcmp(hdr->ether_dhost.ether_addr_octet, in llc1_unitdata()
1568 if (!valid && ismulticast(addr->ether_addr_octet) && in llc1_recv()
1708 return (bcmp(addr->ether_addr_octet, macinfo->llcp_macaddr, in llc1_local()
1719 return (bcmp(addr->ether_addr_octet, macinfo->llcp_broadcast, in llc1_broadcast()
1878 ismulticast(maddr->ether_addr_octet)) { in llc1_enable_multi()
1893 maddr->ether_addr_octet, ETHERADDRL)) { in llc1_enable_multi()
[all …]
/titanic_44/usr/src/cmd/nscd/
H A Dgetether.c94 e->ether_addr_octet[0], e->ether_addr_octet[1], in ether_getlogstr()
95 e->ether_addr_octet[2], e->ether_addr_octet[3], in ether_getlogstr()
96 e->ether_addr_octet[4], e->ether_addr_octet[5]); in ether_getlogstr()
/titanic_44/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()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c167 else if (e->ether_dhost.ether_addr_octet[0] & 1) in interpret_ether()
865 else if (mh->dhost.ether_addr_octet[0] & TR_FN_ADDR) in interpret_tr()
1021 if (mh->shost.ether_addr_octet[0] & TR_SR_ADDR) { in tr_machdr_len()
1126 else if (f->dhost.ether_addr_octet[0] & 0x01) in interpret_fddi()
1310 p->ether_addr_octet[0], in printether()
1311 p->ether_addr_octet[1], in printether()
1312 p->ether_addr_octet[2], in printether()
1313 p->ether_addr_octet[3], in printether()
1314 p->ether_addr_octet[4], in printether()
1315 p->ether_addr_octet[5]); in printether()
[all …]
/titanic_44/usr/src/uts/sun4u/starfire/io/
H A Didn_dlpi.c149 ((struct idndladdr *)(aa))->dl_phys.ether_addr_octet[0], \
150 ((struct idndladdr *)(aa))->dl_phys.ether_addr_octet[1], \
151 ((struct idndladdr *)(aa))->dl_phys.ether_addr_octet[2], \
152 ((struct idndladdr *)(aa))->dl_phys.ether_addr_octet[3], \
153 ((struct idndladdr *)(aa))->dl_phys.ether_addr_octet[4], \
154 ((struct idndladdr *)(aa))->dl_phys.ether_addr_octet[5], \
161 ((struct idndladdr *)(aa))->dl_phys.ether_addr_octet[0], \
162 ((struct idndladdr *)(aa))->dl_phys.ether_addr_octet[1], \
163 ((struct idndladdr *)(aa))->dl_phys.ether_addr_octet[2], \
164 ((struct idndladdr *)(aa))->dl_phys.ether_addr_octet[3], \
[all …]
/titanic_44/usr/src/lib/libbc/libc/net/
H A Dether_addr.c73 e->ether_addr_octet[i] = t[i]; in ether_line()
80 #define EI(i) (unsigned int)(e->ether_addr_octet[(i)])
117 ep->ether_addr_octet[i] = t[i]; in ether_aton()
/titanic_44/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()
/titanic_44/usr/src/uts/common/io/sfe/
H A Dsfe.c329 mac = dp->dev_addr.ether_addr_octet; in sfe_get_mac_addr_dp83815()
367 mac = dp->dev_addr.ether_addr_octet; in sfe_get_mac_addr_sis900()
452 dp->dev_addr.ether_addr_octet[i] = inb(0x71); in sfe_get_mac_addr_sis630e()
484 dp->dev_addr.ether_addr_octet[i] = (uint8_t)v; in sfe_get_mac_addr_sis635()
485 dp->dev_addr.ether_addr_octet[i+1] = (uint8_t)(v >> 8); in sfe_get_mac_addr_sis635()
688 uint8_t *mac = dp->cur_addr.ether_addr_octet; in sfe_set_rx_filter_dp83815()
700 dp->mc_list[i].addr.ether_addr_octet[0], in sfe_set_rx_filter_dp83815()
701 dp->mc_list[i].addr.ether_addr_octet[1], in sfe_set_rx_filter_dp83815()
702 dp->mc_list[i].addr.ether_addr_octet[2], in sfe_set_rx_filter_dp83815()
703 dp->mc_list[i].addr.ether_addr_octet[3], in sfe_set_rx_filter_dp83815()
[all …]
H A Dsfe_util.c1520 if (bcmp(bp, gem_etherbroadcastaddr.ether_addr_octet, in gem_send_common()
1911 gem_etherbroadcastaddr.ether_addr_octet, in gem_receive()
3057 dp->dev_addr.ether_addr_octet[i] = mac[i]; in gem_get_mac_addr_conf()
3284 bcopy(ep, dp->mc_list[cnt].addr.ether_addr_octet, in gem_add_multicast()
4104 bcopy(dp->dev_addr.ether_addr_octet, in gem_m_start()
4105 dp->cur_addr.ether_addr_octet, ETHERADDRL); in gem_m_start()
4556 bcopy(mac, dp->cur_addr.ether_addr_octet, ETHERADDRL); in gem_m_unicst()
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()
[all …]
/titanic_44/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()
/titanic_44/usr/src/uts/common/net/
H A Dsppptun.h111 #define ptma_mac ptma_mac_ether_addr.ether_addr_octet
/titanic_44/usr/src/lib/libbc/inc/include/netinet/
H A Dif_ether.h28 u_char ether_addr_octet[6]; member
/titanic_44/usr/src/uts/common/sys/
H A Dethernet.h52 ether_addr_t ether_addr_octet; member
/titanic_44/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()
/titanic_44/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()
/titanic_44/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 …]
/titanic_44/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()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c3515 if (!get_first_hwaddr(eth_addr.ether_addr_octet,
3516 sizeof (eth_addr.ether_addr_octet))) {
3522 p_eui64->e8[0] = (eth_addr.ether_addr_octet[0] & 0xFF) | 0x02;
3523 p_eui64->e8[1] = (eth_addr.ether_addr_octet[1] & 0xFF);
3524 p_eui64->e8[2] = (eth_addr.ether_addr_octet[2] & 0xFF);
3527 p_eui64->e8[5] = (eth_addr.ether_addr_octet[3] & 0xFF);
3528 p_eui64->e8[6] = (eth_addr.ether_addr_octet[4] & 0xFF);
3529 p_eui64->e8[7] = (eth_addr.ether_addr_octet[5] & 0xFF);
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/uts/common/io/aggr/
H A Daggr_lacp.c1128 mac->ether_addr_octet[0], mac->ether_addr_octet[1], in lacp_misconfig_check()
1129 mac->ether_addr_octet[2], mac->ether_addr_octet[3], in lacp_misconfig_check()
1130 mac->ether_addr_octet[4], mac->ether_addr_octet[5]); in lacp_misconfig_check()

123