Lines Matching refs:optlen
651 int optlen = (IP_VHL_HL(ip->ip_vhl) << 2) - sizeof(struct ip);
724 if (optlen > 0) {
742 printf("icmp_reflect optlen %d rt %d => ",
743 optlen, opts->m_len);
745 for (cnt = optlen; cnt > 0; cnt -= len, cp += len) {
787 ip->ip_len -= optlen;
789 m->m_len -= optlen;
791 m->m_pkthdr.len -= optlen;
792 optlen += sizeof(struct ip);
793 bcopy((caddr_t)ip + optlen, (caddr_t)(ip + 1),