Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/fddi/skfp/
Dess.c498 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_response()
503 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_response()
508 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_response()
515 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ; in ess_send_response()
521 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ; in ess_send_response()
528 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ; in ess_send_response()
589 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ; in ess_send_alc_req()
594 req->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ; in ess_send_alc_req()
604 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ; in ess_send_alc_req()
611 req->pl_req.para.p_len = sizeof(struct smt_p_0017) - PARA_LEN ; in ess_send_alc_req()
[all …]
Dpmf.c370 if (((u_short)len < pa->p_len + PARA_LEN) || (pa->p_len & 3)) { in smt_build_pmf_response()
380 index = *((u_char *)pa + PARA_LEN + 3) ;/* index */ in smt_build_pmf_response()
467 len -= pa->p_len + PARA_LEN ; in smt_build_pmf_response()
468 pa = (struct smt_para *) ((char *)pa + pa->p_len + PARA_LEN) ; in smt_build_pmf_response()
579 to += PARA_LEN ; /* skip smt_para */ in smt_add_para()
580 len -= PARA_LEN ; in smt_add_para()
1044 pa->p_len = plen - len - PARA_LEN ; in smt_add_para()
1594 if ( (n < 0 ) || (n > (int)(len - PARA_LEN))) { in dump_smt()
1595 n = len - PARA_LEN ; in dump_smt()
1632 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()
/linux-6.1.9/drivers/net/fddi/skfp/h/
Dsmt.h108 #define PARA_LEN (sizeof(struct smt_para)) macro
111 (p)->para.p_len = sizeof(*(p)) - PARA_LEN