Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
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];
/Linux-v6.6/include/uapi/linux/
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 */
/Linux-v6.6/net/802/
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()
/Linux-v6.6/drivers/net/fddi/
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()
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 */
/Linux-v6.6/drivers/net/fddi/skfp/
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()
/Linux-v6.6/drivers/net/
Dtun.c3053 return FDDI_K_ALEN; in tun_get_addr_len()