Lines Matching defs:off
1041 * to turn off PMTU for a route, and the kernel can
1112 int hlen, off;
1135 off = roundup(ntohs(ip->ip_len) - hlen, sizeof(u_int32_t));
1137 off = max(off, ICMP_EXT_OFFSET);
1138 icp->icmp_length = off / sizeof(u_int32_t);
1146 if (m_copyback(m, hlen + off, sizeof(hdr), &hdr, M_NOWAIT) ||
1147 m_copyback(m, hlen + off + sizeof(hdr), len, buf, M_NOWAIT)) {
1153 n = m_getptr(m, hlen + off, &off);
1156 ieh = (struct icmp_ext_hdr *)(mtod(n, caddr_t) + off);
1157 ieh->ieh_cksum = in4_cksum(n, 0, off, sizeof(hdr) + len);