• 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

112 	struct sctp_chunk *chunk;
126 struct sctp_chunk *chunk;
153 /* Make sure we at least have chunk headers worth of data left. */
232 chunk = sctp_chunkify(skb, asoc, sk);
233 if (!chunk)
235 SCTP_INPUT_CB(skb)->chunk = chunk;
238 chunk->rcvr = rcvr;
241 chunk->sctp_hdr = sh;
243 /* Set the source and destination addresses of the incoming chunk. */
244 sctp_init_addrs(chunk, &src, &dest);
247 chunk->transport = transport;
271 sctp_chunk_free(chunk);
278 sctp_inq_push(&chunk->rcvr->inqueue, chunk);
313 struct sctp_chunk *chunk = SCTP_INPUT_CB(skb)->chunk;
314 struct sctp_inq *inqueue = &chunk->rcvr->inqueue;
318 rcvr = chunk->rcvr;
321 * has been deleted and we can safely drop the chunk
325 sctp_chunk_free(chunk);
336 * If the new socket is user-owned, queue the chunk to the
338 * Otherwise, we can safely push the chunk on the inqueue.
346 sctp_chunk_free(chunk);
350 sctp_inq_push(inqueue, chunk);
354 /* If the chunk was backloged again, don't drop refs */
358 sctp_inq_push(inqueue, chunk);
375 struct sctp_chunk *chunk = SCTP_INPUT_CB(skb)->chunk;
376 struct sctp_ep_common *rcvr = chunk->rcvr;
506 * message contains enough bytes to verify that the chunk type is
507 * an INIT chunk and that the Initiate Tag matches the tag of the
509 * or the chunk type or the Initiate Tag does not match, silently
670 /* Break out if chunk length is less then minimal. */
678 /* RFC 8.4, 2) If the OOTB packet contains an ABORT chunk, the
686 * chunk, the receiver should silently discard the packet
693 * This will discard packets with INIT chunk bundled as
695 * the normal INIT processing will discard the chunk.
931 * or INIT-ACK chunk the receiver SHOULD use not only the
934 * address parameters contained within the chunk.
960 * This code will NOT touch anything inside the chunk--it is
968 * other chunk in a packet. See Section 6.10 for more details
969 * on chunk bundling.
972 /* Find the start of the TLVs and the end of the chunk. This is
1035 * chunk as the first chunk and not a COOKIE-ECHO chunk as the second
1036 * chunk, it MUST use the chunks after the AUTH chunk to look up an existing
1057 /* Break out if chunk length is less then minimal. */
1071 /* If a packet arrives containing an AUTH chunk as
1072 * a first chunk, a COOKIE-ECHO chunk as the second
1073 * chunk, and possibly more chunks after them, and
1076 * the contents of the COOKIE- ECHO chunk.
1115 /* The code below will attempt to walk the chunk and extract
1117 * that the chunk length doesn't cause overflow. Otherwise, we'll
1123 /* If this is INIT/INIT-ACK look inside the chunk too. */