Lines Matching refs:mac_index
63 static int mac_index(struct s_smc *smc, int mac);
210 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) in smt_emulate_token_ct() argument
217 count = ((time - smc->sm.last_tok_time[mac_index]) * in smt_emulate_token_ct()
227 smc->mib.m[mac_index].fddiMACToken_Ct += count; in smt_emulate_token_ct()
231 smc->sm.last_tok_time[mac_index] = time; in smt_emulate_token_ct()
1322 neighbor->nb_mac_index = mac_index(smc,1) ; in smt_fill_neighbor()
1389 st->st_mac_index = mac_index(smc,1) ; in smt_fill_mac_status()
1476 mc->mc_index = mac_index(smc,1) ; in smt_fill_mac_counter()
1488 fnc->nc_index = mac_index(smc,1) ; in smt_fill_mac_fnc()
1742 static int mac_index(struct s_smc *smc, int mac) in mac_index() function
1814 return mac_index(smc, 1); in entity_to_index()