Lines Matching refs:olen
1951 unsigned olen;
1953 olen = option[IPOPT_OLEN];
1956 printf("save_rte: olen %d\n", olen);
1958 if (olen > sizeof(ip_srcrt) - (1 + sizeof(dst)))
1960 bcopy(option, ip_srcrt.srcopt, olen);
1961 ip_nhops = (olen - IPOPT_OFFSET - 1) / sizeof(struct in_addr);
2047 int olen;
2049 olen = (IP_VHL_HL(ip->ip_vhl) << 2) - sizeof (struct ip);
2051 i = m->m_len - (sizeof (struct ip) + olen);
2052 bcopy(opts + olen, opts, (unsigned)i);
2053 m->m_len -= olen;
2055 m->m_pkthdr.len -= olen;