Lines Matching defs:plen
2034 uint16_t plen;
2063 plen = ntohs(phdr->param_length);
2064 if (plen == 0) {
2069 plen == sizeof(struct sctp_ipv4addr_param)) {
2090 plen == sizeof(struct sctp_ipv6addr_param)) {
2109 offset += SCTP_SIZE32(plen);
5999 uint16_t ptype, plen;
6111 plen = ntohs(phdr->param_length);
6113 * SCTP_PRINTF("ptype => %0x, plen => %d\n",
6114 * (uint32_t)ptype, (int)plen);
6116 if (offset + plen > limit) {
6119 if (plen < sizeof(struct sctp_paramhdr)) {
6131 if (plen != sizeof(struct sctp_ipv4addr_param) ||
6226 if (plen != sizeof(struct sctp_ipv6addr_param) ||
6342 if (plen > sizeof(lstore)) {
6345 if (plen < sizeof(struct sctp_asconf_addrv4_param)) {
6350 plen);
6359 if (plen !=
6363 plen);
6373 if (plen !=
6377 plen);
6403 if (plen > sizeof(local_store)) {
6407 (struct sctp_paramhdr *)&local_store, plen);
6412 num_ent = plen - sizeof(struct sctp_paramhdr);
6445 if (plen > sizeof(random_store))
6453 plen);
6457 random_len = plen - sizeof(*p_random);
6468 if (plen > sizeof(hmacs_store))
6476 plen);
6480 hmacs_len = plen - sizeof(*hmacs);
6499 if (plen > sizeof(chunks_store))
6507 plen);
6511 num_chunks = plen - sizeof(*chunks);
6550 offset += SCTP_SIZE32(plen);