Lines Matching defs:off
204 int off, count, error;
237 for (off = sizeof(struct ip); off < skip;) {
238 if (ptr[off] != IPOPT_EOL && ptr[off] != IPOPT_NOP &&
239 off + 1 >= skip) {
242 ptr[off]);
248 switch (ptr[off]) {
250 off = skip; /* End the loop. */
254 off++;
263 if (ptr[off + 1] < 2) {
266 ptr[off]);
272 off += ptr[off + 1];
278 if (ptr[off + 1] < 2) {
281 ptr[off]);
297 ptr[off + 1] >= 2 + sizeof(struct in_addr))
299 ptr + off + ptr[off + 1] -
306 if (ptr[off + 1] < 2) {
309 ptr[off]);
316 count = ptr[off + 1];
317 memset(ptr + off, 0, count);
318 off += count;
323 if (off > skip) {
397 for (off = 0; off < skip - sizeof(struct ip6_hdr);) {
398 if (off + sizeof(struct ip6_ext) >
401 ip6e = (struct ip6_ext *)(ptr + off);
406 noff = off + ((ip6e->ip6e_len + 1) << 3);
415 for (count = off + sizeof(struct ip6_ext);
447 rh = (struct ip6_rthdr *)(ptr + off);
489 DPRINTF("unexpected IPv6 header type %d", off);
499 off += ((ip6e->ip6e_len + 1) << 3);
627 tdb->tdb_flags &= ~TDBF_SOFT_BYTES; /* Turn off checking */
705 /* Copy authenticator off the packet. */
967 tdb->tdb_flags &= ~TDBF_SOFT_BYTES; /* Turn off checking */