Home
last modified time | relevance | path

Searched refs:sctp_chunkhdr (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/netinet/
H A Dsctp_header.h144 struct sctp_chunkhdr ch;
161 struct sctp_chunkhdr ch;
222 struct sctp_chunkhdr ch;
252 struct sctp_chunkhdr ch;
268 struct sctp_chunkhdr ch;
278 struct sctp_chunkhdr ch;
288 struct sctp_chunkhdr ch;
299 struct sctp_chunkhdr ch;
305 struct sctp_chunkhdr ch;
310 struct sctp_chunkhdr ch;
[all …]
H A Dsctp_input.c408 &abort_flag, (struct sctp_chunkhdr *)cp, in sctp_process_init_ack()
759 if (len >= sizeof(struct sctp_chunkhdr) + sizeof(struct sctp_error_cause)) { in sctp_handle_abort()
1060 sctp_handle_error(struct sctp_chunkhdr *ch, in sctp_handle_error()
1071 sizeof(struct sctp_chunkhdr)); in sctp_handle_error()
1076 if (remaining_length >= sizeof(struct sctp_chunkhdr)) { in sctp_handle_error()
1077 remaining_length -= sizeof(struct sctp_chunkhdr); in sctp_handle_error()
2275 cookie_offset = offset + sizeof(struct sctp_chunkhdr); in sctp_handle_cookie_echo()
3368 struct sctp_chunkhdr *ch; in sctp_find_stream_reset()
3388 ch = mtod(chk->data, struct sctp_chunkhdr *); in sctp_find_stream_reset()
3395 if (clen > (len + (int)sizeof(struct sctp_chunkhdr))) { in sctp_find_stream_reset()
[all …]
H A Dsctp_input.h42 struct sctphdr *, struct sctp_chunkhdr *,
H A Dsctp.h56 struct sctp_chunkhdr { struct
424 struct sctp_chunkhdr ch; /* header from chunk in error */
H A Dsctp_output.c4917 struct sctp_chunkhdr *cp, in sctp_arethere_unrecognized_parameters()
5111 l_len += sizeof(struct sctp_chunkhdr); in sctp_arethere_unrecognized_parameters()
5125 SCTP_BUF_RESV_UF(op_err, sizeof(struct sctp_chunkhdr)); in sctp_arethere_unrecognized_parameters()
5157 l_len += sizeof(struct sctp_chunkhdr); in sctp_arethere_unrecognized_parameters()
5168 SCTP_BUF_RESV_UF(op_err, sizeof(struct sctp_chunkhdr)); in sctp_arethere_unrecognized_parameters()
5248 l_len += sizeof(struct sctp_chunkhdr); in sctp_arethere_unrecognized_parameters()
5259 SCTP_BUF_RESV_UF(op_err, sizeof(struct sctp_chunkhdr)); in sctp_arethere_unrecognized_parameters()
5576 (struct sctp_chunkhdr *)init_chk, in sctp_send_initiate_ack()
8958 struct sctp_chunkhdr *hdr; in sctp_queue_op_err()
8965 SCTP_BUF_PREPEND(op_err, sizeof(struct sctp_chunkhdr), M_NOWAIT); in sctp_queue_op_err()
[all …]
H A Dsctp_output.h83 struct sctp_chunkhdr *, int *, int *,
H A Dip_icmp.c287 struct sctp_chunkhdr *ch; in icmp_error()
312 ch = (struct sctp_chunkhdr *)(sh + 1); in icmp_error()
H A Dsctp_pcb.h517 struct sctphdr *, struct sctp_chunkhdr *, struct sctp_inpcb **,
H A Dsctp_indata.c1819 SCTP_BUF_RESV_UF(op_err, sizeof(struct sctp_chunkhdr)); in sctp_process_a_data_chunk()
2641 struct sctp_chunkhdr *ch, chunk_buf; in sctp_process_data()
2699 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, *offset, in sctp_process_data()
2700 sizeof(struct sctp_chunkhdr), in sctp_process_data()
2840 if (chk_length < sizeof(struct sctp_chunkhdr)) { in sctp_process_data()
2888 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, *offset, in sctp_process_data()
2889 sizeof(struct sctp_chunkhdr), in sctp_process_data()
H A Dsctputil.c3378 struct sctp_chunkhdr *chkhdr; in sctp_notify_send_failed()
3414 chkhdr = mtod(chk->data, struct sctp_chunkhdr *); in sctp_notify_send_failed()
4549 struct sctp_chunkhdr *ch, chunk_buf; in sctp_handle_ootb()
4562 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, offset, in sctp_handle_ootb()
4595 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, offset, in sctp_handle_ootb()
4614 struct sctp_chunkhdr *ch; in sctp_is_there_an_abort_here()
4620 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, offset, sizeof(*ch), in sctp_is_there_an_abort_here()
4644 ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, offset, in sctp_is_there_an_abort_here()
7407 sizeof(struct sctp_chunkhdr) + in sctp_recv_icmp6_tunneled_packet()
7427 sizeof(struct sctp_chunkhdr), in sctp_recv_icmp6_tunneled_packet()
H A Dsctp_auth.c1630 SCTP_BUF_RESV_UF(op_err, sizeof(struct sctp_chunkhdr)); in sctp_handle_auth()
H A Dsctp_pcb.c2085 struct sctphdr *sh, struct sctp_chunkhdr *ch, in sctp_findassociation_addr()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw2.c528 struct sctp_chunkhdr *chunk; in ipfw_send_abort()
559 plen = sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr); in ipfw_send_abort()
606 chunk = (struct sctp_chunkhdr *)(sctp + 1); in ipfw_send_abort()
612 chunk->chunk_length = htons(sizeof(struct sctp_chunkhdr)); in ipfw_send_abort()
921 sizeof(struct sctp_chunkhdr)) { in send_reject6()
922 const struct sctp_chunkhdr *chunk; in send_reject6()
924 chunk = (const struct sctp_chunkhdr *)(sctp + 1); in send_reject6()
943 sizeof(struct sctp_chunkhdr) + in send_reject6()
1031 struct sctp_chunkhdr *chunk; in send_reject()
1040 sizeof(struct sctp_chunkhdr)) { in send_reject()
[all …]
/freebsd/sys/netinet6/
H A Dsctp6_usrreq.c67 struct sctp_chunkhdr *ch; in sctp6_input_with_port()
102 offset = iphlen + sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr); in sctp6_input_with_port()
112 ch = (struct sctp_chunkhdr *)((caddr_t)sh + sizeof(struct sctphdr)); in sctp6_input_with_port()
113 offset -= sizeof(struct sctp_chunkhdr); in sctp6_input_with_port()
313 sizeof(struct sctp_chunkhdr) + in sctp6_ctlinput()
331 sizeof(struct sctp_chunkhdr), in sctp6_ctlinput()
/freebsd/usr.sbin/traceroute6/
H A Dtraceroute6.c1107 struct sctp_chunkhdr *chk; in send_probe()
1190 sizeof(struct sctp_chunkhdr))) { in send_probe()
1191 chk = (struct sctp_chunkhdr *)(sctp + 1); in send_probe()
1197 2 * sizeof(struct sctp_chunkhdr))) { in send_probe()
1203 sizeof(struct sctp_chunkhdr))); in send_probe()
/freebsd/sys/netinet/libalias/
H A Dalias_sctp.c208 #define SN_SCTP_FIRSTCHUNK(sctphead) (struct sctp_chunkhdr *)(((char *)sctphead) + sizeof(struct sc…
211 #define SN_SCTP_NEXTCHUNK(chunkhead) (struct sctp_chunkhdr *)(((char *)chunkhead) + SCTP_SIZE32(nto…
933 …int sctp_size = sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr) + sizeof(struct sctp_error_c… in TxAbortErrorM()
947 struct sctp_chunkhdr* chunk_hdr = (struct sctp_chunkhdr *) ((char *) sctp_hdr + sizeof(*sctp_hdr)); in TxAbortErrorM()
1054 struct sctp_chunkhdr *chunk_hdr; in sctp_PktParser()
1127 sm->sctpchnk.Init = (struct sctp_init *) ((char *) chunk_hdr + sizeof(struct sctp_chunkhdr)); in sctp_PktParser()
1149 …m->sctpchnk.InitAck = (struct sctp_init_ack *) ((char *) chunk_hdr + sizeof(struct sctp_chunkhdr)); in sctp_PktParser()
/freebsd/usr.sbin/traceroute/
H A Dtraceroute.c1521 struct sctp_chunkhdr *chk; in sctp_prep()
1571 sizeof(struct sctp_chunkhdr))) { in sctp_prep()
1572 chk = (struct sctp_chunkhdr *)(sctp + 1); in sctp_prep()
1579 2 * sizeof(struct sctp_chunkhdr))) { in sctp_prep()
1584 (sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr))); in sctp_prep()
/freebsd/sys/netpfil/pf/
H A Dpf_norm.c1991 struct sctp_chunkhdr ch = { }; in pf_scan_sctp()
H A Dpf.c4123 struct sctp_chunkhdr *chunk; in pf_send_sctp_abort()