Home
last modified time | relevance | path

Searched refs:FDDI_K_ALEN (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/include/linux/
H A Dif_fddi.h64 __u8 mac_upstream_nbr[FDDI_K_ALEN];
65 __u8 mac_downstream_nbr[FDDI_K_ALEN];
66 __u8 mac_old_upstream_nbr[FDDI_K_ALEN];
67 __u8 mac_old_downstream_nbr[FDDI_K_ALEN];
71 __u8 mac_smt_address[FDDI_K_ALEN];
/openbmc/linux/include/uapi/linux/
H A Dif_fddi.h35 #define FDDI_K_ALEN 6 /* Octets in one FDDI address */ macro
112 __u8 daddr[FDDI_K_ALEN]; /* destination address */
113 __u8 saddr[FDDI_K_ALEN]; /* source address */
/openbmc/linux/net/802/
H A Dfddi.c121 if (memcmp(fddi->daddr, dev->broadcast, FDDI_K_ALEN) == 0) in fddi_type_trans()
129 if (memcmp(fddi->daddr, dev->dev_addr, FDDI_K_ALEN)) in fddi_type_trans()
153 dev->addr_len = FDDI_K_ALEN; in fddi_setup()
157 memset(dev->broadcast, 0xFF, FDDI_K_ALEN); in fddi_setup()
/openbmc/linux/drivers/net/fddi/
H A Ddefxx.c2131 memcpy(bp->stats.mac_upstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_upstream_nbr, FDDI_K_ALEN); in dfx_ctl_get_stats()
2132 …mcpy(bp->stats.mac_downstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_downstream_nbr, FDDI_K_ALEN); in dfx_ctl_get_stats()
2133 …(bp->stats.mac_old_upstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_old_upstream_nbr, FDDI_K_ALEN); in dfx_ctl_get_stats()
2134 …>stats.mac_old_downstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_old_downstream_nbr, FDDI_K_ALEN); in dfx_ctl_get_stats()
2138 memcpy(bp->stats.mac_smt_address, &bp->cmd_rsp_virt->smt_mib_get.mac_smt_address, FDDI_K_ALEN); in dfx_ctl_get_stats()
2313 memcpy(&bp->mc_table[i++ * FDDI_K_ALEN], in dfx_ctl_set_multicast_list()
2314 ha->addr, FDDI_K_ALEN); in dfx_ctl_set_multicast_list()
2383 memcpy(&bp->uc_table[0], p_sockaddr->sa_data, FDDI_K_ALEN); /* update driver struct */ in dfx_ctl_set_mac_address()
2490 memcpy(p_addr, &bp->uc_table[i*FDDI_K_ALEN], FDDI_K_ALEN); in dfx_ctl_update_cam()
2501 memcpy(p_addr, &bp->mc_table[i*FDDI_K_ALEN], FDDI_K_ALEN); in dfx_ctl_update_cam()
H A Ddefxx.h1742 u8 uc_table[1*FDDI_K_ALEN];
1744 u8 mc_table[PI_CMD_ADDR_FILTER_K_SIZE*FDDI_K_ALEN];
1786 u8 factory_mac_addr[FDDI_K_ALEN]; /* factory (on-board) MAC address */
/openbmc/linux/drivers/net/fddi/skfp/
H A Dskfddi.c715 memcpy(bp->stats.mac_upstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_upstream_nbr, FDDI_K_ALEN); in skfp_ctl_get_stats()
716 …mcpy(bp->stats.mac_downstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_downstream_nbr, FDDI_K_ALEN); in skfp_ctl_get_stats()
717 …(bp->stats.mac_old_upstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_old_upstream_nbr, FDDI_K_ALEN); in skfp_ctl_get_stats()
718 …>stats.mac_old_downstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_old_downstream_nbr, FDDI_K_ALEN); in skfp_ctl_get_stats()
722 memcpy(bp->stats.mac_smt_address, &bp->cmd_rsp_virt->smt_mib_get.mac_smt_address, FDDI_K_ALEN); in skfp_ctl_get_stats()
/openbmc/linux/drivers/net/
H A Dtun.c3065 return FDDI_K_ALEN; in tun_get_addr_len()