Home
last modified time | relevance | path

Searched refs:PARA_LEN (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/net/fddi/skfp/
Dess.c501 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_response()
506 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_response()
511 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_response()
518 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ; in ess_send_response()
524 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ; in ess_send_response()
531 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ; in ess_send_response()
592 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_alc_req()
597 req->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_alc_req()
607 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_alc_req()
614 req->pl_req.para.p_len = sizeof(struct smt_p_0017) - PARA_LEN ; in ess_send_alc_req()
[all …]
Dpmf.c378 if (((u_short)len < pa->p_len + PARA_LEN) || (pa->p_len & 3)) { in smt_build_pmf_response()
388 index = *((u_char *)pa + PARA_LEN + 3) ;/* index */ in smt_build_pmf_response()
475 len -= pa->p_len + PARA_LEN ; in smt_build_pmf_response()
476 pa = (struct smt_para *) ((char *)pa + pa->p_len + PARA_LEN) ; in smt_build_pmf_response()
587 to += PARA_LEN ; /* skip smt_para */ in smt_add_para()
588 len -= PARA_LEN ; in smt_add_para()
1052 pa->p_len = plen - len - PARA_LEN ; in smt_add_para()
1602 if ( (n < 0 ) || (n > (int)(len - PARA_LEN))) { in dump_smt()
1603 n = len - PARA_LEN ; in dump_smt()
1640 plen = (pa->p_len + PARA_LEN + 3) & ~3 ; in dump_smt()
Dsmt.c890 rdf->reason.para.p_len = sizeof(struct smt_p_reason) - PARA_LEN ; in smt_send_rdf()
895 rdf->version.para.p_len = sizeof(struct smt_p_version) - PARA_LEN ; in smt_send_rdf()
1348 len = PARA_LEN + in smt_fill_path()
1352 path->para.p_len = len - PARA_LEN ; in smt_fill_path()
1678 plen = ((struct smt_para *)p)->p_len + PARA_LEN ; in sm_to_para()
1872 plen += PARA_LEN ; in smt_swap_para()
1878 smt_string_swap(p+PARA_LEN,pd->pswap,len) ; in smt_swap_para()
/linux-3.4.99/drivers/net/fddi/skfp/h/
Dsmt.h112 #define PARA_LEN (sizeof(struct smt_para)) macro
115 (p)->para.p_len = sizeof(*(p)) - PARA_LEN