Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dif_fddi.h33 #define FDDI_K_ALEN 6 /* Octets in one FDDI address */ macro
93 __u8 daddr[FDDI_K_ALEN]; /* destination address */
94 __u8 saddr[FDDI_K_ALEN]; /* source address */
144 __u8 mac_upstream_nbr[FDDI_K_ALEN];
145 __u8 mac_downstream_nbr[FDDI_K_ALEN];
146 __u8 mac_old_upstream_nbr[FDDI_K_ALEN];
147 __u8 mac_old_downstream_nbr[FDDI_K_ALEN];
151 __u8 mac_smt_address[FDDI_K_ALEN];
/linux-2.6.39/net/802/
Dfddi.c151 if (memcmp(fddi->daddr, dev->broadcast, FDDI_K_ALEN) == 0) in fddi_type_trans()
159 if (memcmp(fddi->daddr, dev->dev_addr, FDDI_K_ALEN)) in fddi_type_trans()
191 dev->addr_len = FDDI_K_ALEN; in fddi_setup()
195 memset(dev->broadcast, 0xFF, FDDI_K_ALEN); in fddi_setup()
/linux-2.6.39/drivers/net/
Ddefxx.c1048 memcpy(dev->dev_addr, bp->factory_mac_addr, FDDI_K_ALEN); in dfx_driver_init()
1409 memcpy(dev->dev_addr, bp->factory_mac_addr, FDDI_K_ALEN); in dfx_open()
2063 memcpy(bp->stats.mac_upstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_upstream_nbr, FDDI_K_ALEN); in dfx_ctl_get_stats()
2064 …mcpy(bp->stats.mac_downstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_downstream_nbr, FDDI_K_ALEN); in dfx_ctl_get_stats()
2065 …(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()
2066 …>stats.mac_old_downstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_old_downstream_nbr, FDDI_K_ALEN); in dfx_ctl_get_stats()
2070 memcpy(bp->stats.mac_smt_address, &bp->cmd_rsp_virt->smt_mib_get.mac_smt_address, FDDI_K_ALEN); in dfx_ctl_get_stats()
2245 memcpy(&bp->mc_table[i++ * FDDI_K_ALEN], in dfx_ctl_set_multicast_list()
2246 ha->addr, FDDI_K_ALEN); in dfx_ctl_set_multicast_list()
2314 memcpy(dev->dev_addr, p_sockaddr->sa_data, FDDI_K_ALEN); /* update device struct */ in dfx_ctl_set_mac_address()
[all …]
Ddefxx.h1739 u8 uc_table[1*FDDI_K_ALEN];
1741 u8 mc_table[PI_CMD_ADDR_FILTER_K_SIZE*FDDI_K_ALEN];
1781 u8 factory_mac_addr[FDDI_K_ALEN]; /* factory (on-board) MAC address */
/linux-2.6.39/drivers/net/skfp/
Dskfddi.c717 memcpy(bp->stats.mac_upstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_upstream_nbr, FDDI_K_ALEN); in skfp_ctl_get_stats()
718 …mcpy(bp->stats.mac_downstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_downstream_nbr, FDDI_K_ALEN); in skfp_ctl_get_stats()
719 …(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()
720 …>stats.mac_old_downstream_nbr, &bp->cmd_rsp_virt->smt_mib_get.mac_old_downstream_nbr, FDDI_K_ALEN); in skfp_ctl_get_stats()
724 memcpy(bp->stats.mac_smt_address, &bp->cmd_rsp_virt->smt_mib_get.mac_smt_address, FDDI_K_ALEN); in skfp_ctl_get_stats()
930 memcpy(dev->dev_addr, p_sockaddr->sa_data, FDDI_K_ALEN); in skfp_ctl_set_mac_address()