Lines Matching +full:aind +full:-

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (c) 1999-2000 Cisco, Inc.
5 * Copyright (c) 1999-2001 Motorola, Inc.
12 * lksctp developers <linux-sctp@vger.kernel.org>
37 #include <linux/generic-radix-tree.h>
38 #include <linux/rhashtable-types.h>
257 /* This is our APPLICATION-SPECIFIC state cookie.
306 * Include the source port of the INIT-ACK
326 * the association TCB is re-constructed from the cookie.
363 struct sctp_adaptation_ind_param *aind;
373 * The Sender-specific Heartbeat Info field should normally include
395 (sctp_stream_##type((stream), (sid))->ssn)
399 (sctp_stream_##type((stream), (sid))->ssn++)
403 (sctp_stream_##type((stream), (sid))->ssn = ssn + 1)
407 (sctp_stream_##type((stream), (sid))->mid)
411 (sctp_stream_##type((stream), (sid))->mid++)
415 (sctp_stream_##type((stream), (sid))->mid = mid + 1)
419 (sctp_stream_##type((stream), (sid))->mid_uo)
423 (sctp_stream_##type((stream), (sid))->mid_uo++)
539 * a chunk header and chunk-specific content.
553 /* This is our link to the per-transport transmitted list. */
634 /* SCTP-AUTH: For the special case inbound processing of COOKIE-ECHO
635 * we need save a pointer to the AUTH chunk, since the SCTP-AUTH
661 #define sctp_chunk_retransmitted(chunk) (chunk->sent_count > 1)
677 return ntohs(ch->subh.data_hdr->stream);
725 u8 has_cookie_echo:1, /* This packet contains a COOKIE-ECHO chunk. */
745 return packet->size == packet->overhead;
763 * source-destination pair but for each destination). The parameters
776 /* RTO-Pending : A flag used to track if one of the DATA
924 * [Everywhere else in the text this is called T3-rtx. -ed]
940 /* Since we're using per-destination retransmission timers
941 * (see above), we're also using per-destination "transmitted"
947 /* We build bundle-able packets for this transport here. */
955 * per-destination basis when a changeover happens.
990 /* 64-bit random number sent with heartbeat. */
1104 /* How many unackd bytes do we have in-flight? */
1107 /* Are we doing fast-rtx on this queue */
1130 q->cork = 1;
1147 #define SCTP_INPUT_CB(__skb) ((struct sctp_input_cb *)&((__skb)->cb[0]))
1152 #define SCTP_OUTPUT_CB(__skb) ((struct sctp_output_cb *)&((__skb)->cb[0]))
1156 const struct sctp_chunk *chunk = SCTP_INPUT_CB(skb)->chunk;
1158 return chunk->head_skb ? : skb;
1244 * refcnt - Reference count access to this object.
1245 * dead - Do not attempt to use this object.
1271 * multi-homed host, an SCTP endpoint is represented to its peers as a
1282 * A TCP-style socket will have exactly one association on one of
1283 * these. An UDP-style socket will have multiple associations hanging
1316 /* SCTP-AUTH: hmacs for the endpoint encoded into parameter */
1319 /* SCTP-AUTH: chunks to authenticate encoded into parameter */
1322 /* SCTP-AUTH: endpoint shared keys */
1469 return genradix_ptr(&stream->out, sid);
1476 return genradix_ptr(&stream->in, sid);
1487 return stream->si->data_chunk_len;
1492 return stream->si->data_chunk_len - sizeof(struct sctp_chunkhdr);
1497 return stream->si->ftsn_chunk_len;
1502 return stream->si->ftsn_chunk_len - sizeof(struct sctp_chunkhdr);
1642 * RFC2960 6.4 Multi-homed SCTP Endpoints
1644 * Furthermore, when its peer is multi-homed, an
1676 * in tsn_map--we get it by calling sctp_tsnmap_get_ctsn().
1690 prsctp_capable:1, /* Can peer do PR-SCTP? */
1691 reconf_capable:1, /* Can peer do RE-CONFIG? */
1693 auth_capable:1, /* Is peer doing SCTP-AUTH? */
1718 * C1) ... "Peer-Serial-Number'. This value MUST be initialized to the
1723 /* SCTP-AUTH: We need to know pears random number, hmac list
1733 * : association is in, i.e. COOKIE-WAIT,
1734 * : COOKIE-ECHOED, ESTABLISHED, SHUTDOWN-PENDING,
1735 * : SHUTDOWN-SENT, SHUTDOWN-RECEIVED, SHUTDOWN-ACK-SENT.
1853 /* PR-SCTP Advanced.Peer.Ack.Point */
1896 * as specified in the sk->sndbuf.
1953 * <draft-ietf-tsvwg-addip-sctp-02.txt>
1964 * ASCONF Chunk, it MUST wait until the ASCONF-ACK Chunk
1967 * so at any time two ASCONF may be in-transit on any given
1970 * [This is our one-and-only-one ASCONF in flight. If we do
1977 * This is needed to implement items E1 - E4 of the updated
2003 * ASCONF Chunk, it MUST wait until the ASCONF-ACK Chunk
2006 * so at any time two ASCONF may be in-transit on any given
2012 * queue and its supporting logic down there. --piggy]
2033 * 4294967295 (2^32 - 1). Serial Numbers wrap back to 0