Lines Matching defs:iphlen
123 int length, mlen, offset, iphlen;
138 iphlen = off;
139 offset = iphlen + sizeof(*sh) + sizeof(*ch);
148 printf("V6 input gets a packet iphlen:%d pktlen:%d\n", iphlen, m->m_pkthdr.len);
174 calc_check = sctp_calculate_sum(m, &mlen, iphlen);
178 printf("Bad CSUM on SCTP packet calc_check:%x check:%x m:%p mlen:%d iphlen:%d\n",
180 mlen, iphlen);
183 stcb = sctp_findassociation_addr(m, iphlen, offset - sizeof(*ch),
187 sctp_send_packet_dropped(stcb, net, m, iphlen, 1);
210 stcb = sctp_findassociation_addr(m, iphlen, offset - sizeof(*ch),
223 iphlen + sizeof(*sh), sizeof(*init_chk),
227 sctp_send_abort(m, iphlen, sh, 0, NULL);
274 length = ntohs(ip6->ip6_plen) + iphlen;
278 (void)sctp_common_input_processing(&m, iphlen, offset, length, sh, ch,