Lines Matching refs:s_smc
54 static int mac_index(struct s_smc *smc, int mac);
55 static int phy_index(struct s_smc *smc, int phy);
56 static int mac_con_resource_index(struct s_smc *smc, int mac);
57 static int phy_con_resource_index(struct s_smc *smc, int phy);
58 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason,
60 static void smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest,
62 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc,
64 static void smt_echo_test(struct s_smc *smc, int dna);
65 static void smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest,
67 static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest,
73 static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una);
74 static void smt_fill_sde(struct s_smc *smc, struct smt_p_sde *sde);
75 static void smt_fill_state(struct s_smc *smc, struct smt_p_state *state);
76 static void smt_fill_timestamp(struct s_smc *smc, struct smt_p_timestamp *ts);
77 static void smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy);
78 static void smt_fill_latency(struct s_smc *smc, struct smt_p_latency *latency);
79 static void smt_fill_neighbor(struct s_smc *smc, struct smt_p_neighbor *neighbor);
80 static int smt_fill_path(struct s_smc *smc, struct smt_p_path *path);
81 static void smt_fill_mac_status(struct s_smc *smc, struct smt_p_mac_status *st);
82 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy);
83 static void smt_fill_version(struct s_smc *smc, struct smt_p_version *vers);
84 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc);
85 static void smt_fill_mac_counter(struct s_smc *smc, struct smt_p_mac_counter *mc);
86 static void smt_fill_mac_fnc(struct s_smc *smc, struct smt_p_mac_fnc *fnc);
87 static void smt_fill_manufacturer(struct s_smc *smc,
89 static void smt_fill_user(struct s_smc *smc, struct smp_p_user *user);
90 static void smt_fill_setcount(struct s_smc *smc, struct smt_p_setcount *setcount);
91 static void smt_fill_echo(struct s_smc *smc, struct smt_p_echo *echo, u_long seed,
94 static void smt_clear_una_dna(struct s_smc *smc);
95 static void smt_clear_old_una_dna(struct s_smc *smc);
99 static void update_dac(struct s_smc *smc, int report);
102 static void hwm_conv_can(struct s_smc *smc, char *data, int len);
108 static inline int is_my_addr(const struct s_smc *smc, in is_my_addr()
147 void smt_agent_init(struct s_smc *smc) in smt_agent_init()
193 void smt_agent_task(struct s_smc *smc) in smt_agent_task()
201 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) in smt_emulate_token_ct()
228 void smt_event(struct s_smc *smc, int event) in smt_event()
460 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) in smt_received_pack()
806 static void update_dac(struct s_smc *smc, int report) in update_dac()
824 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) in smt_send_frame()
847 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, in smt_send_rdf()
924 static void smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest, in smt_send_nif()
953 static void smt_send_nif_request(struct s_smc *smc, struct fddi_addr *dest) in smt_send_nif_request()
963 static void smt_send_ecf_request(struct s_smc *smc, struct fddi_addr *dest, in smt_send_ecf_request()
975 static void smt_echo_test(struct s_smc *smc, int dna) in smt_echo_test()
990 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc, in smt_send_ecf()
1016 static void smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest, in smt_send_sif_config()
1049 static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest, in smt_send_sif_operation()
1097 SMbuf *smt_build_frame(struct s_smc *smc, int class, int type, in smt_build_frame()
1147 static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una) in smt_fill_una()
1157 static void smt_fill_sde(struct s_smc *smc, struct smt_p_sde *sde) in smt_fill_sde()
1173 static void smt_fill_state(struct s_smc *smc, struct smt_p_state *state) in smt_fill_state()
1213 static void smt_fill_timestamp(struct s_smc *smc, struct smt_p_timestamp *ts) in smt_fill_timestamp()
1220 void smt_set_timestamp(struct s_smc *smc, u_char *p) in smt_set_timestamp()
1254 static void smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy) in smt_fill_policy()
1285 static void smt_fill_latency(struct s_smc *smc, struct smt_p_latency *latency) in smt_fill_latency()
1308 static void smt_fill_neighbor(struct s_smc *smc, struct smt_p_neighbor *neighbor) in smt_fill_neighbor()
1327 static int smt_fill_path(struct s_smc *smc, struct smt_p_path *path) in smt_fill_path()
1375 static void smt_fill_mac_status(struct s_smc *smc, struct smt_p_mac_status *st) in smt_fill_mac_status()
1402 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) in smt_fill_lem()
1424 static void smt_fill_version(struct s_smc *smc, struct smt_p_version *vers) in smt_fill_version()
1443 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc) in smt_fill_fsc()
1463 static void smt_fill_mac_counter(struct s_smc *smc, struct smt_p_mac_counter *mc) in smt_fill_mac_counter()
1475 static void smt_fill_mac_fnc(struct s_smc *smc, struct smt_p_mac_fnc *fnc) in smt_fill_mac_fnc()
1487 static void smt_fill_manufacturer(struct s_smc *smc, in smt_fill_manufacturer()
1499 static void smt_fill_user(struct s_smc *smc, struct smp_p_user *user) in smt_fill_user()
1510 static void smt_fill_setcount(struct s_smc *smc, struct smt_p_setcount *setcount) in smt_fill_setcount()
1522 static void smt_fill_echo(struct s_smc *smc, struct smt_p_echo *echo, u_long seed, in smt_fill_echo()
1540 static void smt_clear_una_dna(struct s_smc *smc) in smt_clear_una_dna()
1546 static void smt_clear_old_una_dna(struct s_smc *smc) in smt_clear_old_una_dna()
1552 u_long smt_get_tid(struct s_smc *smc) in smt_get_tid()
1642 int smt_check_para(struct s_smc *smc, struct smt_header *sm, in smt_check_para()
1656 void *sm_to_para(struct s_smc *smc, struct smt_header *sm, int para) in sm_to_para()
1691 void fddi_send_antc(struct s_smc *smc, struct fddi_addr *dest)
1718 static int mac_index(struct s_smc *smc, int mac) in mac_index()
1732 static int phy_index(struct s_smc *smc, int phy) in phy_index()
1741 static int mac_con_resource_index(struct s_smc *smc, int mac) in mac_con_resource_index()
1765 static int phy_con_resource_index(struct s_smc *smc, int phy) in phy_con_resource_index()
1787 static int entity_to_index(struct s_smc *smc, int e) in entity_to_index()
1906 int smt_action(struct s_smc *smc, int class, int code, int index) in smt_action()
1992 static void hwm_conv_can(struct s_smc *smc, char *data, int len) in hwm_conv_can()