Lines Matching refs:stripsiz
112 size_t stripsiz = 0;
385 stripsiz = sizeof(struct ah) + siz1;
388 stripsiz = sizeof(struct newah) + siz1;
390 if (ipsec4_tunnel_validate(m, off + stripsiz, nxt, sav, &ifamily)) {
406 m_adj(m, off + stripsiz);
469 ovbcopy((caddr_t)ip, (caddr_t)(((u_char *)ip) + stripsiz), off);
470 m->m_data += stripsiz;
471 m->m_len -= stripsiz;
472 m->m_pkthdr.len -= stripsiz;
478 if (m->m_len >= stripsiz + off) {
479 ovbcopy((caddr_t)ip, ((caddr_t)ip) + stripsiz, off);
480 m->m_data += stripsiz;
481 m->m_len -= stripsiz;
482 m->m_pkthdr.len -= stripsiz;
495 m_adj(n, stripsiz);
511 ip->ip_len = ip->ip_len - stripsiz;
513 ip->ip_len = htons(ntohs(ip->ip_len) - stripsiz);
573 size_t stripsiz = 0;
794 stripsiz = sizeof(struct ah) + siz1;
797 stripsiz = sizeof(struct newah) + siz1;
799 if (ipsec6_tunnel_validate(m, off + stripsiz, nxt, sav)) {
810 m_adj(m, off + stripsiz);
872 ovbcopy((caddr_t)ip6, ((caddr_t)ip6) + stripsiz, off);
873 m->m_data += stripsiz;
874 m->m_len -= stripsiz;
875 m->m_pkthdr.len -= stripsiz;
881 if (m->m_len >= stripsiz + off) {
882 ovbcopy((caddr_t)ip6, ((caddr_t)ip6) + stripsiz, off);
883 m->m_data += stripsiz;
884 m->m_len -= stripsiz;
885 m->m_pkthdr.len -= stripsiz;
898 m_adj(n, stripsiz);
906 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - stripsiz);