Lines Matching refs:mac_index
54 static int mac_index(struct s_smc *smc, int mac);
201 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) in smt_emulate_token_ct() argument
208 count = ((time - smc->sm.last_tok_time[mac_index]) * in smt_emulate_token_ct()
218 smc->mib.m[mac_index].fddiMACToken_Ct += count; in smt_emulate_token_ct()
222 smc->sm.last_tok_time[mac_index] = time; in smt_emulate_token_ct()
1313 neighbor->nb_mac_index = mac_index(smc,1) ; in smt_fill_neighbor()
1380 st->st_mac_index = mac_index(smc,1) ; in smt_fill_mac_status()
1467 mc->mc_index = mac_index(smc,1) ; in smt_fill_mac_counter()
1479 fnc->nc_index = mac_index(smc,1) ; in smt_fill_mac_fnc()
1718 static int mac_index(struct s_smc *smc, int mac) in mac_index() function
1790 return mac_index(smc, 1); in entity_to_index()