Lines Matching refs:s_smc
63 static int mac_index(struct s_smc *smc, int mac);
64 static int phy_index(struct s_smc *smc, int phy);
65 static int mac_con_resource_index(struct s_smc *smc, int mac);
66 static int phy_con_resource_index(struct s_smc *smc, int phy);
67 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason,
69 static void smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest,
71 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc,
73 static void smt_echo_test(struct s_smc *smc, int dna);
74 static void smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest,
76 static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest,
82 static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una);
83 static void smt_fill_sde(struct s_smc *smc, struct smt_p_sde *sde);
84 static void smt_fill_state(struct s_smc *smc, struct smt_p_state *state);
85 static void smt_fill_timestamp(struct s_smc *smc, struct smt_p_timestamp *ts);
86 static void smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy);
87 static void smt_fill_latency(struct s_smc *smc, struct smt_p_latency *latency);
88 static void smt_fill_neighbor(struct s_smc *smc, struct smt_p_neighbor *neighbor);
89 static int smt_fill_path(struct s_smc *smc, struct smt_p_path *path);
90 static void smt_fill_mac_status(struct s_smc *smc, struct smt_p_mac_status *st);
91 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy);
92 static void smt_fill_version(struct s_smc *smc, struct smt_p_version *vers);
93 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc);
94 static void smt_fill_mac_counter(struct s_smc *smc, struct smt_p_mac_counter *mc);
95 static void smt_fill_mac_fnc(struct s_smc *smc, struct smt_p_mac_fnc *fnc);
96 static void smt_fill_manufacturer(struct s_smc *smc,
98 static void smt_fill_user(struct s_smc *smc, struct smp_p_user *user);
99 static void smt_fill_setcount(struct s_smc *smc, struct smt_p_setcount *setcount);
100 static void smt_fill_echo(struct s_smc *smc, struct smt_p_echo *echo, u_long seed,
103 static void smt_clear_una_dna(struct s_smc *smc);
104 static void smt_clear_old_una_dna(struct s_smc *smc);
108 static void update_dac(struct s_smc *smc, int report);
111 static void hwm_conv_can(struct s_smc *smc, char *data, int len);
117 static inline int is_my_addr(const struct s_smc *smc, in is_my_addr()
156 void smt_agent_init(struct s_smc *smc) in smt_agent_init()
202 void smt_agent_task(struct s_smc *smc) in smt_agent_task()
210 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) in smt_emulate_token_ct()
237 void smt_event(struct s_smc *smc, int event) in smt_event()
469 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) in smt_received_pack()
815 static void update_dac(struct s_smc *smc, int report) in update_dac()
833 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) in smt_send_frame()
856 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, in smt_send_rdf()
933 static void smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest, in smt_send_nif()
962 static void smt_send_nif_request(struct s_smc *smc, struct fddi_addr *dest) in smt_send_nif_request()
972 static void smt_send_ecf_request(struct s_smc *smc, struct fddi_addr *dest, in smt_send_ecf_request()
984 static void smt_echo_test(struct s_smc *smc, int dna) in smt_echo_test()
999 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc, in smt_send_ecf()
1025 static void smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest, in smt_send_sif_config()
1058 static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest, in smt_send_sif_operation()
1106 SMbuf *smt_build_frame(struct s_smc *smc, int class, int type, in smt_build_frame()
1156 static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una) in smt_fill_una()
1166 static void smt_fill_sde(struct s_smc *smc, struct smt_p_sde *sde) in smt_fill_sde()
1182 static void smt_fill_state(struct s_smc *smc, struct smt_p_state *state) in smt_fill_state()
1222 static void smt_fill_timestamp(struct s_smc *smc, struct smt_p_timestamp *ts) in smt_fill_timestamp()
1229 void smt_set_timestamp(struct s_smc *smc, u_char *p) in smt_set_timestamp()
1263 static void smt_fill_policy(struct s_smc *smc, struct smt_p_policy *policy) in smt_fill_policy()
1294 static void smt_fill_latency(struct s_smc *smc, struct smt_p_latency *latency) in smt_fill_latency()
1317 static void smt_fill_neighbor(struct s_smc *smc, struct smt_p_neighbor *neighbor) in smt_fill_neighbor()
1336 static int smt_fill_path(struct s_smc *smc, struct smt_p_path *path) in smt_fill_path()
1384 static void smt_fill_mac_status(struct s_smc *smc, struct smt_p_mac_status *st) in smt_fill_mac_status()
1411 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) in smt_fill_lem()
1433 static void smt_fill_version(struct s_smc *smc, struct smt_p_version *vers) in smt_fill_version()
1452 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc) in smt_fill_fsc()
1472 static void smt_fill_mac_counter(struct s_smc *smc, struct smt_p_mac_counter *mc) in smt_fill_mac_counter()
1484 static void smt_fill_mac_fnc(struct s_smc *smc, struct smt_p_mac_fnc *fnc) in smt_fill_mac_fnc()
1496 static void smt_fill_manufacturer(struct s_smc *smc, in smt_fill_manufacturer()
1508 static void smt_fill_user(struct s_smc *smc, struct smp_p_user *user) in smt_fill_user()
1519 static void smt_fill_setcount(struct s_smc *smc, struct smt_p_setcount *setcount) in smt_fill_setcount()
1531 static void smt_fill_echo(struct s_smc *smc, struct smt_p_echo *echo, u_long seed, in smt_fill_echo()
1549 static void smt_clear_una_dna(struct s_smc *smc) in smt_clear_una_dna()
1555 static void smt_clear_old_una_dna(struct s_smc *smc) in smt_clear_old_una_dna()
1561 u_long smt_get_tid(struct s_smc *smc) in smt_get_tid()
1650 int smt_check_para(struct s_smc *smc, struct smt_header *sm, in smt_check_para()
1664 void *sm_to_para(struct s_smc *smc, struct smt_header *sm, int para) in sm_to_para()
1699 void fddi_send_antc(struct s_smc *smc, struct fddi_addr *dest)
1742 static int mac_index(struct s_smc *smc, int mac) in mac_index()
1756 static int phy_index(struct s_smc *smc, int phy) in phy_index()
1765 static int mac_con_resource_index(struct s_smc *smc, int mac) in mac_con_resource_index()
1789 static int phy_con_resource_index(struct s_smc *smc, int phy) in phy_con_resource_index()
1811 static int entity_to_index(struct s_smc *smc, int e) in entity_to_index()
1936 int smt_action(struct s_smc *smc, int class, int code, int index) in smt_action()
2022 static void hwm_conv_can(struct s_smc *smc, char *data, int len) in hwm_conv_can()