/linux-3.4.99/include/linux/ |
D | sctp.h | 161 #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/ |
D | sm_statefuns.c | 164 __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 …]
|
D | sm_make_chunk.c | 903 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 …]
|
D | outqueue.c | 305 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 …]
|
D | inqueue.c | 189 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()
|
D | ulpevent.c | 165 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()
|
D | output.c | 214 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()
|
D | chunk.c | 295 __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()
|
D | endpointola.c | 433 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_endpoint_bh_rcv()
|
D | associola.c | 1109 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()
|
D | input.c | 516 chunkhdr->chunk_hdr.type != SCTP_CID_INIT || in sctp_err_lookup()
|
D | ulpqueue.c | 1037 needed = ntohs(chunk->chunk_hdr->length); in sctp_ulpq_renege()
|
/linux-3.4.99/include/net/sctp/ |
D | sctp.h | 533 _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…
|
D | constants.h | 153 #define sctp_chunk_is_data(a) (a->chunk_hdr->type == SCTP_CID_DATA) 157 - (unsigned long)(c->chunk_hdr)\
|
D | sm.h | 306 size = ntohs(chunk->chunk_hdr->length); in sctp_data_size()
|
D | structs.h | 728 struct sctp_chunkhdr *chunk_hdr; member
|