Searched refs:p_len (Results 1 – 7 of 7) sorted by relevance
485 if (r->p_val + r->p_len > pAC->vpd.vpd_buf + vpd_size/2) { in VpdInit()490 pAC->vpd.v.vpd_free_ro = r->p_len - 1; in VpdInit()493 for (i = 0, x = 0; (unsigned)i <= (unsigned)vpd_size/2 - r->p_len; i++) { in VpdInit()516 pAC->vpd.v.vpd_free_rw = r->p_len; in VpdInit()559 p->p_len = VPD_GET_RES_LEN(v); in vpd_find_para()562 ("found, len = %d\n", p->p_len)); in vpd_find_para()569 p->p_len = VPD_GET_VPD_LEN(v); in vpd_find_para()572 ("found, len = %d\n",p->p_len)); in vpd_find_para()652 p->p_len = (unsigned char) len; in vpd_insert_key()687 p->p_len = (unsigned char)(pAC->vpd.vpd_buf+vpd_size-etp-3-1); in vpd_mod_endtag()[all …]
515 chg->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ;520 chg->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ;525 chg->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ;532 chg->payload.para.p_len = sizeof(struct smt_p_320f) - PARA_LEN ;538 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ;545 chg->cat.para.p_len = sizeof(struct smt_p_001a) - PARA_LEN ;609 req->s_type.para.p_len = sizeof(struct smt_p_0015) - PARA_LEN ;614 req->cmd.para.p_len = sizeof(struct smt_p_0016) - PARA_LEN ;624 req->path.para.p_len = sizeof(struct smt_p_320b) - PARA_LEN ;631 req->pl_req.para.p_len = sizeof(struct smt_p_0017) - PARA_LEN ;[all …]
296 int p_len ; local308 p_len = 0 ;329 while (!ok && p_len < MAX_VAL-1 && (c = *text++) && (c != '\n')338 p_len++ ;342 p_len++ ;355 p_len++ ;
391 if (((u_short)len < pa->p_len + PARA_LEN) || (pa->p_len & 3)) {403 if (!set && (pa->p_len != 4)) {432 if (!set && (pa->p_len != 0)) {488 len -= pa->p_len + PARA_LEN ;489 pa = (struct smt_para *) ((char *)pa + pa->p_len + PARA_LEN) ;543 if (pa->p_len != 8)1075 pa->p_len = plen - len - PARA_LEN ;1128 len = pa->p_len ;1633 printf("TYPE %x LEN %x VALUE\t",pa->p_type,pa->p_len) ;1635 printf("TYPE %04x LEN %2x VALUE\t",pa->p_type,pa->p_len) ;[all …]
906 rdf->reason.para.p_len = sizeof(struct smt_p_reason) - PARA_LEN ;911 rdf->version.para.p_len = sizeof(struct smt_p_version) - PARA_LEN ;929 rdf->refused.para.p_len = len + 4 ;1400 path->para.p_len = len - PARA_LEN ;1611 echo->para.p_len = len ;1759 plen = ((struct smt_para *)p)->p_len + PARA_LEN ;2004 plen = pa->p_len ;2007 pa->p_len = smt_swap_short(pa->p_len) ;2009 plen = pa->p_len ;
104 unsigned int p_len; /* parameter length */ member119 unsigned char p_len; /* 1 byte length */ member
109 u_short p_len ; /* length of parameter */ member115 (p)->para.p_len = sizeof(*(p)) - PARA_LEN