• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/skfp/

Lines Matching refs:sm

83 static void ess_send_response(struct s_smc *smc, struct smt_header *sm,
103 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
117 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
136 if (!(p = (void *) sm_to_para(smc,sm,SMT_P0015))) {
145 if (!(cmd = (struct smt_p_0016 *) sm_to_para(smc,sm,SMT_P0016))) {
153 DB_ESSN(2,"fc %x ft %x\n",sm->smt_class,sm->smt_type) ;
154 DB_ESSN(2,"ver %x tran %lx\n",sm->smt_version,sm->smt_tid) ;
155 DB_ESSN(2,"stn_id %s\n",addr_to_string(&sm->smt_source),0) ;
157 DB_ESSN(2,"infolen %x res %x\n",sm->smt_len, msg_res_type) ;
172 if (sm->smt_type == SMT_REQUEST) {
180 p = (void *) sm_to_para(smc,sm,SMT_P0019) ;
191 smc->ess.alloc_trans_id = sm->smt_tid ;
192 DB_ESS("ESS: save Alloc Req Trans ID %lx\n",sm->smt_tid,0);
193 p = (void *) sm_to_para(smc,sm,SMT_P320F) ;
196 p = (void *) sm_to_para(smc,sm,SMT_P3210) ;
199 sm->smt_dest = smt_sba_da ;
209 memcpy(((char *)(db->sm_data+db->sm_off)),(char *)sm,
222 if (smt_check_para(smc,sm,plist_raf_alc_res)) {
237 if ((((struct smt_p_320b *)sm_to_para(smc,sm,SMT_P320B))->path_index
240 (((struct smt_p_reason *)sm_to_para(smc,sm,SMT_P0012))->rdf_reason
242 (sm->smt_tid != smc->ess.alloc_trans_id)) {
251 p = (void *) sm_to_para(smc,sm,SMT_P320F) ;
257 p = (void *) sm_to_para(smc,sm,SMT_P3210) ;
281 if (sm->smt_type != SMT_REQUEST) {
289 if (smt_check_para(smc,sm,plist_raf_chg_req)) {
300 if ((((struct smt_p_320b *)sm_to_para(smc,sm,SMT_P320B))->path_index
309 p = (void *) sm_to_para(smc,sm,SMT_P320F) ;
311 p = (void *) sm_to_para(smc,sm,SMT_P3210) ;
315 addr_to_string(&sm->smt_source),0) ;
327 ess_send_response(smc,sm,CHANGE_ALLOCATION) ;
339 if (sm->smt_type != SMT_REQUEST) {
345 addr_to_string(&(sm->smt_source)),0) ;
358 ess_send_response(smc,sm,REPORT_ALLOCATION) ;
474 static void ess_send_response(struct s_smc *smc, struct smt_header *sm,
496 chg->smt.smt_tid = sm->smt_tid ;
497 chg->smt.smt_dest = sm->smt_source ;
532 p = (void *) sm_to_para(smc,sm,SMT_P001A) ;