Home
last modified time | relevance | path

Searched refs:chunk_hdr (Results 1 – 11 of 11) sorted by relevance

/net/sctp/
Doutqueue.c294 chunk && chunk->chunk_hdr ? in sctp_outq_tail()
295 sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)) : in sctp_outq_tail()
323 __func__, q, chunk, chunk && chunk->chunk_hdr ? in sctp_outq_tail()
324 sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)) : in sctp_outq_tail()
328 if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) in sctp_outq_tail()
746 chunk->chunk_hdr->type != SCTP_CID_ASCONF) in sctp_outq_flush()
794 if (chunk->chunk_hdr->type != SCTP_CID_HEARTBEAT && in sctp_outq_flush()
795 chunk->chunk_hdr->type != SCTP_CID_HEARTBEAT_ACK && in sctp_outq_flush()
796 chunk->chunk_hdr->type != SCTP_CID_ASCONF_ACK) in sctp_outq_flush()
814 switch (chunk->chunk_hdr->type) { in sctp_outq_flush()
[all …]
Dsm_statefuns.c171 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid()
363 if (!sctp_verify_init(net, ep, asoc, chunk->chunk_hdr->type, in sctp_sf_do_5_1B_init()
364 (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, in sctp_sf_do_5_1B_init()
371 (__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
373 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
409 (sctp_init_chunk_t *)chunk->chunk_hdr, in sctp_sf_do_5_1B_init()
420 len = ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
440 ((__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
530 if (!sctp_verify_init(net, ep, asoc, chunk->chunk_hdr->type, in sctp_sf_do_5_1C_ack()
531 (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, in sctp_sf_do_5_1C_ack()
[all …]
Dsm_make_chunk.c943 if (chunk && chunk->chunk_hdr && in sctp_make_abort()
944 chunk->chunk_hdr->type == SCTP_CID_INIT) in sctp_make_abort()
1050 int chunklen = ntohs(chunk->chunk_hdr->length); in sctp_addto_param()
1060 chunk->chunk_hdr->length = htons(chunklen + len); in sctp_addto_param()
1084 phdr.type = htons(chunk->chunk_hdr->type); in sctp_make_abort_violation()
1085 phdr.length = chunk->chunk_hdr->length; in sctp_make_abort_violation()
1288 retval->chunk_hdr->length = in sctp_make_auth()
1289 htons(ntohs(retval->chunk_hdr->length) + hmac_desc->hmac_len); in sctp_make_auth()
1367 sctp_chunkhdr_t *chunk_hdr; in _sctp_make_chunk() local
1378 chunk_hdr = (sctp_chunkhdr_t *)skb_put(skb, sizeof(sctp_chunkhdr_t)); in _sctp_make_chunk()
[all …]
Dinqueue.c168 chunk->chunk_hdr = ch; in sctp_inq_pop()
197 chunk, sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)), in sctp_inq_pop()
198 ntohs(chunk->chunk_hdr->length), chunk->skb->len); in sctp_inq_pop()
Dulpevent.c158 ntohs(chunk->chunk_hdr->length) - in sctp_ulpevent_make_assoc_change()
435 int len = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_send_failed()
511 ssf->ssf_info.sinfo_flags = chunk->chunk_hdr->flags; in sctp_ulpevent_make_send_failed()
687 len = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_rcvmsg()
707 if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) { in sctp_ulpevent_make_rcvmsg()
712 event->msg_flags |= chunk->chunk_hdr->flags; in sctp_ulpevent_make_rcvmsg()
Doutput.c203 if (chunk->chunk_hdr->type == SCTP_CID_AUTH || pkt->has_auth) in sctp_packet_bundle_auth()
274 __u16 chunk_len = WORD_ROUND(ntohs(chunk->chunk_hdr->length)); in __sctp_packet_append_chunk()
282 switch (chunk->chunk_hdr->type) { in __sctp_packet_append_chunk()
500 sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)), in sctp_packet_transmit()
503 ntohs(chunk->chunk_hdr->length), chunk->skb->len, in sctp_packet_transmit()
Dchunk.c289 __skb_pull(chunk->skb, (__u8 *)chunk->chunk_hdr in sctp_datamsg_from_user()
323 __skb_pull(chunk->skb, (__u8 *)chunk->chunk_hdr in sctp_datamsg_from_user()
Dassociola.c1015 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_assoc_bh_rcv()
1035 if (chunk->chunk_hdr->type == SCTP_CID_SACK) in sctp_assoc_bh_rcv()
1567 int var_size2 = ntohs(cookie->peer_init->chunk_hdr.length); in sctp_assoc_set_bind_addr_from_cookie()
Dendpointola.c429 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_endpoint_bh_rcv()
Dinput.c523 chunkhdr->chunk_hdr.type != SCTP_CID_INIT || in sctp_err_lookup()
Dulpqueue.c1088 needed = ntohs(chunk->chunk_hdr->length); in sctp_ulpq_renege()