Lines Matching defs:plen
2152 size_t plen;
2190 plen = m->m_pkthdr.len;
2240 if (plen + sizeof(struct ip) < IP_MAXPACKET)
2241 ip->ip_len = htons(plen + sizeof(struct ip));
2271 size_t plen;
2288 plen = m->m_pkthdr.len;
2325 if (plen < IPV6_MAXPACKET - sizeof(struct ip6_hdr))
2326 ip6->ip6_plen = htons(plen);
2349 size_t plen;
2367 plen = m->m_pkthdr.len;
2413 if (plen + sizeof(struct ip) < IP_MAXPACKET)
2414 ip->ip_len = htons(plen + sizeof(struct ip));
2416 ip->ip_len = htons(plen);
3041 int plen;
3177 plen = state->m->m_pkthdr.len - sizeof(struct ip6_hdr);
3178 if (plen > IPV6_MAXPACKET) {
3186 ip6->ip6_plen = htons(plen);
3220 int plen;
3512 plen = state->m->m_pkthdr.len - sizeof(struct ip6_hdr);
3513 if (plen > IPV6_MAXPACKET) {
3521 ip6->ip6_plen = htons(plen);