Lines Matching defs:olen
401 unsigned olen;
409 olen = option[IPOPT_OLEN];
410 if (olen > sizeof(opts->ip_srcrt) - (1 + sizeof(dst))) {
414 bcopy(option, opts->ip_srcrt.srcopt, olen);
415 opts->ip_nhops = (olen - IPOPT_OFFSET - 1) / sizeof(struct in_addr);
486 int olen;
488 olen = (ip->ip_hl << 2) - sizeof(struct ip);
489 m->m_len -= olen;
491 m->m_pkthdr.len -= olen;
492 ip->ip_len = htons(ntohs(ip->ip_len) - olen);
495 bcopy((char *)ip + sizeof(struct ip) + olen, (ip + 1),