• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sctp/

Lines Matching defs:chunk

91 /* Helper function for delayed processing of SCTP ECNE chunk.  */
98 * by including the CWR chunk. This chunk contains one data
99 * element, i.e. the TSN number that was sent in the ECNE chunk.
105 struct sctp_chunk *chunk)
137 repl = sctp_make_cwr(asoc, asoc->last_cwr_tsn, chunk);
145 /* Helper function to do delayed processing of ECN CWR chunk. */
189 * second packet (not every second DATA chunk) received, and
191 * unacknowledged DATA chunk. ...
550 struct sctp_chunk *chunk,
558 if (event_type == SCTP_EVENT_T_CHUNK && subtype.chunk == SCTP_CID_ABORT)
560 (__u16)error, 0, 0, chunk,
578 /* Process an init chunk (may be real INIT/INIT-ACK or an embedded INIT
585 struct sctp_chunk *chunk,
596 if (!sctp_process_init(asoc, chunk->chunk_hdr->type,
597 sctp_source(chunk), peer_init, gfp))
665 struct sctp_chunk *chunk)
691 * using the time value carried in the HEARTBEAT ACK chunk.
699 hbinfo = (sctp_sender_hb_info_t *) chunk->skb->data;
727 * the transport for a shutdown chunk.
731 struct sctp_chunk *chunk)
735 if (chunk->transport)
736 t = chunk->transport;
740 chunk->transport = t;
827 struct sctp_chunk *chunk)
831 t = sctp_assoc_choose_alter_transport(asoc, chunk->transport);
833 chunk->transport = t;
839 struct sctp_chunk *chunk)
844 while (chunk->chunk_end > chunk->skb->data) {
845 err_hdr = (struct sctp_errhdr *)(chunk->skb->data);
847 ev = sctp_ulpevent_make_remote_error(asoc, chunk, 0,
862 * an ERROR chunk reporting that it did not recognized
863 * the ASCONF chunk type, the sender of the ASCONF MUST
886 /* Process variable FWDTSN chunk information. */
888 struct sctp_chunk *chunk)
892 sctp_walk_fwdtsn(skip, chunk) {
980 /* Send the whole message, chunk by chunk, to the outqueue.
987 struct sctp_chunk *chunk;
990 list_for_each_entry(chunk, &msg->chunks, frag_list) {
991 error = sctp_outq_tail(&asoc->outqueue, chunk);
1005 /* Send the next asconf chunk from the addip chunk
1014 /* Hold the chunk until an ASCONF_ACK is received. */
1116 state, event_type, subtype.chunk);
1144 "chunkid %d\n", state, subtype.chunk);
1150 state, event_type, subtype.chunk);
1156 state, event_type, subtype.chunk);
1163 status, state, event_type, subtype.chunk);
1191 struct sctp_chunk *chunk = NULL;
1200 chunk = (struct sctp_chunk *) event_arg;
1288 /* Generate an INIT ACK chunk. */
1289 new_obj = sctp_make_init_ack(asoc, chunk, GFP_ATOMIC,
1304 error = sctp_cmd_process_init(commands, asoc, chunk,
1309 /* Generate a COOKIE ECHO chunk. */
1310 new_obj = sctp_make_cookie_echo(asoc, chunk);
1319 /* If there is an ERROR chunk to be sent along with
1347 /* Generate a SHUTDOWN chunk. */
1348 new_obj = sctp_make_shutdown(asoc, chunk);
1356 /* Send a chunk to the sockets layer. */
1378 /* Send a chunk to our peer. */
1415 chunk);
1454 chunk = cmd->obj.ptr;
1458 chunk->transport = t;
1510 subtype, chunk, cmd->obj.err);
1554 sctp_cmd_transport_on(commands, asoc, t, chunk);
1590 chunk->pdiscard = 1;
1617 sctp_cmd_process_operr(commands, asoc, chunk);
1674 /* If this is in response to a received chunk, wait until
1678 if (asoc && SCTP_EVENT_T_CHUNK == event_type && chunk) {
1679 if (chunk->end_of_packet || chunk->singleton)