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