Lines Matching refs:plen
476 u_int32_t plen;
941 * If a JumboPayload option is included, plen will also be modified.
943 plen = (u_int32_t)ntohs(ip6->ip6_plen);
947 if (ip6_hopopts_input(&plen, &rtalert, &m, &off)) {
962 if (ip6->ip6_plen == 0 && plen == 0) {
966 * (non-zero) payload length to the variable plen.
1018 if (m->m_pkthdr.len - sizeof(struct ip6_hdr) < plen) {
1023 if (m->m_pkthdr.len > sizeof(struct ip6_hdr) + plen) {
1025 m->m_len = sizeof(struct ip6_hdr) + plen;
1026 m->m_pkthdr.len = sizeof(struct ip6_hdr) + plen;
1028 m_adj(m, sizeof(struct ip6_hdr) + plen - m->m_pkthdr.len);