Lines Matching refs:mac_index
58 static int mac_index(struct s_smc *smc, int mac);
205 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) in smt_emulate_token_ct() argument
212 count = ((time - smc->sm.last_tok_time[mac_index]) * in smt_emulate_token_ct()
222 smc->mib.m[mac_index].fddiMACToken_Ct += count; in smt_emulate_token_ct()
226 smc->sm.last_tok_time[mac_index] = time; in smt_emulate_token_ct()
1317 neighbor->nb_mac_index = mac_index(smc,1) ; in smt_fill_neighbor()
1384 st->st_mac_index = mac_index(smc,1) ; in smt_fill_mac_status()
1471 mc->mc_index = mac_index(smc,1) ; in smt_fill_mac_counter()
1483 fnc->nc_index = mac_index(smc,1) ; in smt_fill_mac_fnc()
1737 static int mac_index(struct s_smc *smc, int mac) in mac_index() function
1809 return mac_index(smc, 1); in entity_to_index()