Lines Matching refs:mac_index
62 static int mac_index(struct s_smc *smc, int mac);
209 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) in smt_emulate_token_ct() argument
216 count = ((time - smc->sm.last_tok_time[mac_index]) * in smt_emulate_token_ct()
226 smc->mib.m[mac_index].fddiMACToken_Ct += count; in smt_emulate_token_ct()
230 smc->sm.last_tok_time[mac_index] = time; in smt_emulate_token_ct()
1321 neighbor->nb_mac_index = mac_index(smc,1) ; in smt_fill_neighbor()
1388 st->st_mac_index = mac_index(smc,1) ; in smt_fill_mac_status()
1475 mc->mc_index = mac_index(smc,1) ; in smt_fill_mac_counter()
1487 fnc->nc_index = mac_index(smc,1) ; in smt_fill_mac_fnc()
1741 static int mac_index(struct s_smc *smc, int mac) in mac_index() function
1813 return mac_index(smc, 1); in entity_to_index()