Home
last modified time | relevance | path

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

/drivers/net/fddi/skfp/
Dess.c499 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_response()
504 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_response()
509 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_response()
516 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ; in ess_send_response()
522 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ; in ess_send_response()
529 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ; in ess_send_response()
590 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_alc_req()
595 req->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_alc_req()
605 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_alc_req()
612 req->pl_req.para.p_len = sizeof(struct smt_p_0017) - PARA_LEN ; in ess_send_alc_req()
[all …]
Dpmf.c374 if (((u_short)len < pa->p_len + PARA_LEN) || (pa->p_len & 3)) { in smt_build_pmf_response()
384 index = *((u_char *)pa + PARA_LEN + 3) ;/* index */ in smt_build_pmf_response()
471 len -= pa->p_len + PARA_LEN ; in smt_build_pmf_response()
472 pa = (struct smt_para *) ((char *)pa + pa->p_len + PARA_LEN) ; in smt_build_pmf_response()
583 to += PARA_LEN ; /* skip smt_para */ in smt_add_para()
584 len -= PARA_LEN ; in smt_add_para()
1048 pa->p_len = plen - len - PARA_LEN ; in smt_add_para()
1598 if ( (n < 0 ) || (n > (int)(len - PARA_LEN))) { in dump_smt()
1599 n = len - PARA_LEN ; in dump_smt()
1636 plen = (pa->p_len + PARA_LEN + 3) & ~3 ; in dump_smt()
Dsmt.c881 rdf->reason.para.p_len = sizeof(struct smt_p_reason) - PARA_LEN ; in smt_send_rdf()
886 rdf->version.para.p_len = sizeof(struct smt_p_version) - PARA_LEN ; in smt_send_rdf()
1339 len = PARA_LEN + in smt_fill_path()
1343 path->para.p_len = len - PARA_LEN ; in smt_fill_path()
1670 plen = ((struct smt_para *)p)->p_len + PARA_LEN ; in sm_to_para()
1836 plen += PARA_LEN ; in smt_swap_para()
1842 smt_string_swap(p+PARA_LEN,pd->pswap,len) ; in smt_swap_para()
/drivers/net/fddi/skfp/h/
Dsmt.h108 #define PARA_LEN (sizeof(struct smt_para)) macro
111 (p)->para.p_len = sizeof(*(p)) - PARA_LEN