Lines Matching refs:iplen
521 int iplen; in carp_input() local
525 iplen = *offp; in carp_input()
536 if (m->m_pkthdr.len < iplen + sizeof(*vh)) { in carp_input()
545 if (m->m_len < iplen + sizeof(*vh)) { in carp_input()
546 if ((m = m_pullup(m, iplen + sizeof(*vh))) == NULL) { in carp_input()
554 vh = (struct vrrpv3_header *)((char *)ip + iplen); in carp_input()
572 if (m->m_pkthdr.len < iplen + minlen) { in carp_input()
576 iplen + minlen, in carp_input()
582 if (m->m_len < iplen + minlen) { in carp_input()
583 if ((m = m_pullup(m, iplen + minlen)) == NULL) { in carp_input()
589 vh = (struct vrrpv3_header *)((char *)ip + iplen); in carp_input()
597 if (in_cksum_skip(m, totlen, iplen)) { in carp_input()
604 ch = (struct carp_header *)((char *)ip + iplen); in carp_input()
612 htonl((u_short)(totlen - iplen) + ip->ip_p)); in carp_input()
613 vrrp_input_c(m, iplen, AF_INET, ip->ip_ttl, totlen - iplen, in carp_input()