Home | History | Annotate | Download | only in netinet

Lines Matching defs:iphlen

97 sctp_handle_init(struct mbuf *m, int iphlen, int offset,
113 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err);
119 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err);
126 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err);
132 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err);
138 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err);
144 sctp_abort_association(inp, stcb, m, iphlen, sh, op_err);
155 sctp_send_initiate_ack(inp, stcb, m, iphlen, offset, sh, cp);
294 sctp_process_init_ack(struct mbuf *m, int iphlen, int offset,
312 sctp_send_operr_to(m, iphlen, op_err, cp->init.initiate_tag);
336 if (sctp_load_addresses_from_init(stcb, m, iphlen,
380 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen,
889 sctp_handle_init_ack(struct mbuf *m, int iphlen, int offset, struct sctphdr *sh,
913 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, sh,
922 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, sh,
929 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, sh,
936 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, sh,
943 sctp_abort_association(stcb->sctp_ep, stcb, m, iphlen, sh,
967 if (sctp_process_init_ack(m, iphlen, offset, sh, cp, stcb, net
1040 sctp_process_cookie_existing(struct mbuf *m, int iphlen, int offset,
1080 sctp_send_operr_to(m, iphlen, op_err, cookie->peers_vtag);
1219 if (sctp_load_addresses_from_init(stcb, m, iphlen,
1286 if (sctp_load_addresses_from_init(stcb, m, iphlen,
1371 if (sctp_load_addresses_from_init(stcb, m, iphlen,
1408 sctp_process_cookie_new(struct mbuf *m, int iphlen, int offset,
1500 sctp_abort_association(inp, (struct sctp_tcb *)NULL, m, iphlen,
1522 sctp_abort_association(inp, (struct sctp_tcb *)NULL, m, iphlen,
1552 if (sctp_load_addresses_from_init(stcb, m, iphlen,
1660 sctp_handle_cookie_echo(struct mbuf *m, int iphlen, int offset,
1958 sctp_send_operr_to(m, iphlen, op_err, cookie->peers_vtag);
2011 *stcb = sctp_process_cookie_new(m, iphlen, offset, sh, cookie,
2024 *stcb = sctp_process_cookie_existing(m, iphlen, offset, sh,
2100 sctp_abort_association(*inp_p, NULL, m, iphlen,
3025 sctp_process_control(struct mbuf *m, int iphlen, int *offset, int length,
3045 printf("sctp_process_control: iphlen=%u, offset=%u, length=%u stcb:%p\n",
3046 iphlen, *offset, length, stcb);
3084 stcb = sctp_findassociation_ep_asconf(m, iphlen,
3089 sctp_handle_ootb(m, iphlen, *offset, sh, inp, NULL);
3131 sctp_handle_ootb(m, iphlen, *offset, sh, inp,
3294 sctp_handle_init(m, iphlen, *offset, sh,
3340 ret = sctp_handle_init_ack(m, iphlen, *offset, sh,
3481 sctp_abort_association(inp, stcb, m, iphlen, sh,
3506 iphlen, sh, oper);
3513 ret_buf = sctp_handle_cookie_echo(m, iphlen,
3829 sctp_common_input_processing(struct mbuf **mm, int iphlen, int offset,
3850 printf("Ok, Common input processing called, m:%p iphlen:%d offset:%d length:%d\n",
3851 m, iphlen, offset, length);
3862 stcb = sctp_process_control(m, iphlen, &offset, length, sh, ch,
3877 sctp_handle_ootb(m, iphlen, offset, sh, inp, NULL);
3931 sctp_handle_ootb(m, iphlen, offset, sh, inp, NULL);
3958 retval = sctp_process_data(mm, iphlen, &offset, length, sh,
4050 int iphlen;
4068 iphlen = off;
4074 printf("V4 input gets a packet iphlen:%d pktlen:%d\n", iphlen, m->m_pkthdr.len);
4085 if ((size_t)iphlen > sizeof(struct ip)) {
4090 iphlen = sizeof(struct ip);
4097 offset = iphlen + sizeof(*sh) + sizeof(*ch);
4105 sh = (struct sctphdr *)((vaddr_t)ip + iphlen);
4141 calc_check = sctp_calculate_sum(m, &mlen, iphlen);
4145 printf("Bad CSUM on SCTP packet calc_check:%x check:%x m:%p mlen:%d iphlen:%d\n",
4146 calc_check, check, m, mlen, iphlen);
4150 stcb = sctp_findassociation_addr(m, iphlen,
4154 sctp_send_packet_dropped(stcb, net, m, iphlen,
4173 if (mlen < (ip->ip_len - iphlen)) {
4188 stcb = sctp_findassociation_addr(m, iphlen, offset - sizeof(*ch),
4215 iphlen + sizeof(*sh), sizeof(*init_chk),
4220 sctp_send_abort(m, iphlen, sh, 0, NULL);
4252 length = ip->ip_len - (ip->ip_hl << 2) + iphlen;
4256 sctp_common_input_processing(&m, iphlen, offset, length, sh, ch,