Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dsctp.h161 #define sctp_test_T_bit(c) ((c)->chunk_hdr->flags & SCTP_CHUNK_FLAG_T)
234 sctp_chunkhdr_t chunk_hdr; member
265 sctp_chunkhdr_t chunk_hdr; member
384 sctp_chunkhdr_t chunk_hdr; member
401 sctp_chunkhdr_t chunk_hdr; member
423 sctp_chunkhdr_t chunk_hdr; member
436 sctp_chunkhdr_t chunk_hdr; member
526 sctp_chunkhdr_t chunk_hdr; member
538 sctp_chunkhdr_t chunk_hdr; member
599 struct sctp_chunkhdr chunk_hdr; member
[all …]
/linux-3.4.99/net/sctp/
Dsm_statefuns.c164 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid()
351 if (!sctp_verify_init(asoc, chunk->chunk_hdr->type, in sctp_sf_do_5_1B_init()
352 (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, in sctp_sf_do_5_1B_init()
359 (__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
361 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
397 (sctp_init_chunk_t *)chunk->chunk_hdr, in sctp_sf_do_5_1B_init()
408 len = ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
428 ((__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
517 if (!sctp_verify_init(asoc, chunk->chunk_hdr->type, in sctp_sf_do_5_1C_ack()
518 (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, in sctp_sf_do_5_1C_ack()
[all …]
Dsm_make_chunk.c903 if (chunk && chunk->chunk_hdr && in sctp_make_abort()
904 chunk->chunk_hdr->type == SCTP_CID_INIT) in sctp_make_abort()
1010 int chunklen = ntohs(chunk->chunk_hdr->length); in sctp_addto_param()
1020 chunk->chunk_hdr->length = htons(chunklen + len); in sctp_addto_param()
1044 phdr.type = htons(chunk->chunk_hdr->type); in sctp_make_abort_violation()
1045 phdr.length = chunk->chunk_hdr->length; in sctp_make_abort_violation()
1229 retval->chunk_hdr->length = in sctp_make_auth()
1230 htons(ntohs(retval->chunk_hdr->length) + hmac_desc->hmac_len); in sctp_make_auth()
1324 sctp_chunkhdr_t *chunk_hdr; in sctp_make_chunk() local
1335 chunk_hdr = (sctp_chunkhdr_t *)skb_put(skb, sizeof(sctp_chunkhdr_t)); in sctp_make_chunk()
[all …]
Doutqueue.c305 q, chunk, chunk && chunk->chunk_hdr ? in sctp_outq_tail()
306 sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)) in sctp_outq_tail()
334 q, chunk, chunk && chunk->chunk_hdr ? in sctp_outq_tail()
335 sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)) in sctp_outq_tail()
339 if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) in sctp_outq_tail()
762 chunk->chunk_hdr->type != SCTP_CID_ASCONF) in sctp_outq_flush()
809 if (chunk->chunk_hdr->type != SCTP_CID_HEARTBEAT && in sctp_outq_flush()
810 chunk->chunk_hdr->type != SCTP_CID_HEARTBEAT_ACK && in sctp_outq_flush()
811 chunk->chunk_hdr->type != SCTP_CID_ASCONF_ACK) in sctp_outq_flush()
829 switch (chunk->chunk_hdr->type) { in sctp_outq_flush()
[all …]
Dinqueue.c189 chunk->chunk_hdr = ch; in sctp_inq_pop()
229 sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)), in sctp_inq_pop()
230 ntohs(chunk->chunk_hdr->length), chunk->skb->len); in sctp_inq_pop()
Dulpevent.c165 ntohs(chunk->chunk_hdr->length) - in sctp_ulpevent_make_assoc_change()
483 int len = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_send_failed()
559 ssf->ssf_info.sinfo_flags = chunk->chunk_hdr->flags; in sctp_ulpevent_make_send_failed()
733 len = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_rcvmsg()
753 if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) { in sctp_ulpevent_make_rcvmsg()
758 event->msg_flags |= chunk->chunk_hdr->flags; in sctp_ulpevent_make_rcvmsg()
Doutput.c214 if (chunk->chunk_hdr->type == SCTP_CID_AUTH || pkt->has_auth) in sctp_packet_bundle_auth()
271 __u16 chunk_len = WORD_ROUND(ntohs(chunk->chunk_hdr->length)); in sctp_packet_append_chunk()
302 switch (chunk->chunk_hdr->type) { in sctp_packet_append_chunk()
482 chunk->chunk_hdr->type)), in sctp_packet_transmit()
486 "length", ntohs(chunk->chunk_hdr->length), in sctp_packet_transmit()
Dchunk.c295 __skb_pull(chunk->skb, (__u8 *)chunk->chunk_hdr in sctp_datamsg_from_user()
329 __skb_pull(chunk->skb, (__u8 *)chunk->chunk_hdr in sctp_datamsg_from_user()
Dendpointola.c433 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_endpoint_bh_rcv()
Dassociola.c1109 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_assoc_bh_rcv()
1531 int var_size2 = ntohs(cookie->peer_init->chunk_hdr.length); in sctp_assoc_set_bind_addr_from_cookie()
Dinput.c516 chunkhdr->chunk_hdr.type != SCTP_CID_INIT || in sctp_err_lookup()
Dulpqueue.c1037 needed = ntohs(chunk->chunk_hdr->length); in sctp_ulpq_renege()
/linux-3.4.99/include/net/sctp/
Dsctp.h533 _sctp_walk_params((pos), (chunk), ntohs((chunk)->chunk_hdr.length), member)
541 #define sctp_walk_errors(err, chunk_hdr)\ argument
542 _sctp_walk_errors((err), (chunk_hdr), ntohs((chunk_hdr)->length))
544 #define _sctp_walk_errors(err, chunk_hdr, end)\ argument
545 for (err = (sctp_errhdr_t *)((void *)chunk_hdr + \
547 (void *)err <= (void *)chunk_hdr + end - ntohs(err->length) &&\
552 _sctp_walk_fwdtsn((pos), (chunk), ntohs((chunk)->chunk_hdr->length) - sizeof(struct sctp_fwdtsn_chu…
Dconstants.h153 #define sctp_chunk_is_data(a) (a->chunk_hdr->type == SCTP_CID_DATA)
157 - (unsigned long)(c->chunk_hdr)\
Dsm.h306 size = ntohs(chunk->chunk_hdr->length); in sctp_data_size()
Dstructs.h728 struct sctp_chunkhdr *chunk_hdr; member