webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
sctp_structs.h
Go to the documentation of this file.
1 /*-
2  * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved.
3  * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
4  * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions are met:
8  *
9  * a) Redistributions of source code must retain the above copyright notice,
10  * this list of conditions and the following disclaimer.
11  *
12  * b) Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in
14  * the documentation and/or other materials provided with the distribution.
15  *
16  * c) Neither the name of Cisco Systems, Inc. nor the names of its
17  * contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
24  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30  * THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 
33 #ifdef __FreeBSD__
34 #include <sys/cdefs.h>
35 __FBSDID("$FreeBSD: head/sys/netinet/sctp_structs.h 303792 2016-08-06 12:33:15Z tuexen $");
36 #endif
37 
38 #ifndef _NETINET_SCTP_STRUCTS_H_
39 #define _NETINET_SCTP_STRUCTS_H_
40 
41 #include <netinet/sctp_os.h>
42 #include <netinet/sctp_header.h>
43 #include <netinet/sctp_auth.h>
44 
45 struct sctp_timer {
47 
48  int type;
49  /*
50  * Depending on the timer type these will be setup and cast with the
51  * appropriate entity.
52  */
53  void *ep;
54  void *tcb;
55  void *net;
56 #if defined(__FreeBSD__) && __FreeBSD_version >= 800000
57  void *vnet;
58 #endif
59 
60  /* for sanity checking */
61  void *self;
64 };
65 
66 
68  struct sctp_inpcb *inp;
71  int updown;
72 };
73 
74 
75 /*
76  * This is the information we track on each interface that we know about from
77  * the distant end.
78  */
79 TAILQ_HEAD(sctpnetlisthead, sctp_nets);
80 
86  uint16_t list_of_streams[];
87 };
88 
89 TAILQ_HEAD(sctp_resethead, sctp_stream_reset_list);
90 
91 /*
92  * Users of the iterator need to malloc a iterator with a call to
93  * sctp_initiate_iterator(inp_func, assoc_func, inp_func, pcb_flags, pcb_features,
94  * asoc_state, void-ptr-arg, uint32-arg, end_func, inp);
95  *
96  * Use the following two defines if you don't care what pcb flags are on the EP
97  * and/or you don't care what state the association is in.
98  *
99  * Note that if you specify an INP as the last argument then ONLY each
100  * association of that single INP will be executed upon. Note that the pcb
101  * flags STILL apply so if the inp you specify has different pcb_flags then
102  * what you put in pcb_flags nothing will happen. use SCTP_PCB_ANY_FLAGS to
103  * assure the inp you specify gets treated.
104  */
105 #define SCTP_PCB_ANY_FLAGS 0x00000000
106 #define SCTP_PCB_ANY_FEATURES 0x00000000
107 #define SCTP_ASOC_ANY_STATE 0x00000000
108 
109 typedef void (*asoc_func) (struct sctp_inpcb *, struct sctp_tcb *, void *ptr,
110  uint32_t val);
111 typedef int (*inp_func) (struct sctp_inpcb *, void *ptr, uint32_t val);
112 typedef void (*end_func) (void *ptr, uint32_t val);
113 
114 #if defined(__FreeBSD__) && defined(SCTP_MCORE_INPUT) && defined(SMP)
115 /* whats on the mcore control struct */
116 struct sctp_mcore_queue {
117  TAILQ_ENTRY(sctp_mcore_queue) next;
118 #if defined(__FreeBSD__) && __FreeBSD_version >= 801000
119  struct vnet *vn;
120 #endif
121  struct mbuf *m;
122  int off;
123  int v6;
124 };
125 
126 TAILQ_HEAD(sctp_mcore_qhead, sctp_mcore_queue);
127 
128 struct sctp_mcore_ctrl {
129  SCTP_PROCESS_STRUCT thread_proc;
130  struct sctp_mcore_qhead que;
131  struct mtx core_mtx;
132  struct mtx que_mtx;
133  int running;
134  int cpuid;
135 };
136 
137 
138 #endif
139 
140 
142  TAILQ_ENTRY(sctp_iterator) sctp_nxt_itr;
143 #if defined(__FreeBSD__) && __FreeBSD_version >= 801000
144  struct vnet *vn;
145 #endif
146  struct sctp_timer tmr;
147  struct sctp_inpcb *inp; /* current endpoint */
148  struct sctp_tcb *stcb; /* current* assoc */
149  struct sctp_inpcb *next_inp; /* special hook to skip to */
150  asoc_func function_assoc; /* per assoc function */
151  inp_func function_inp; /* per endpoint function */
152  inp_func function_inp_end; /* end INP function */
153  end_func function_atend; /* iterator completion function */
154  void *pointer; /* pointer for apply func to use */
155  uint32_t val; /* value for apply func to use */
156  uint32_t pcb_flags; /* endpoint flags being checked */
157  uint32_t pcb_features; /* endpoint features being checked */
158  uint32_t asoc_state; /* assoc state being checked */
162 };
163 /* iterator_flags values */
164 #define SCTP_ITERATOR_DO_ALL_INP 0x00000001
165 #define SCTP_ITERATOR_DO_SINGLE_INP 0x00000002
166 
167 
168 TAILQ_HEAD(sctpiterators, sctp_iterator);
169 
171  struct sctp_inpcb *inp; /* ep */
172  struct mbuf *m;
173  struct sctp_sndrcvinfo sndrcv;
174  int sndlen;
175  int cnt_sent;
177 };
178 
180  struct sctpladdr list_of_work;
181  int cnt;
182 };
183 
185 #if defined(__FreeBSD__)
186  struct mtx ipi_iterator_wq_mtx;
187  struct mtx it_mtx;
188 #elif defined(__APPLE__)
189  lck_mtx_t *ipi_iterator_wq_mtx;
190  lck_mtx_t *it_mtx;
191 #elif defined(SCTP_PROCESS_LEVEL_LOCKS)
192 #if defined(__Userspace__)
193  userland_mutex_t ipi_iterator_wq_mtx;
194  userland_mutex_t it_mtx;
195  userland_cond_t iterator_wakeup;
196 #else
197  pthread_mutex_t ipi_iterator_wq_mtx;
198  pthread_mutex_t it_mtx;
199  pthread_cond_t iterator_wakeup;
200 #endif
201 #elif defined(__Windows__)
202  struct spinlock it_lock;
203  struct spinlock ipi_iterator_wq_lock;
204  KEVENT iterator_wakeup[2];
205  PFILE_OBJECT iterator_thread_obj;
206 #else
207  void *it_mtx;
208 #endif
209 #if !defined(__Windows__)
210 #if !defined(__Userspace__)
212 #else
213  userland_thread_t thread_proc;
214 #endif
215 #endif
216  struct sctpiterators iteratorhead;
220 };
221 #if !defined(__FreeBSD__)
222 #define SCTP_ITERATOR_MUST_EXIT 0x00000001
223 #define SCTP_ITERATOR_EXITED 0x00000002
224 #endif
225 #define SCTP_ITERATOR_STOP_CUR_IT 0x00000004
226 #define SCTP_ITERATOR_STOP_CUR_INP 0x00000008
227 
230 #if defined(__FreeBSD__)
231 #if __FreeBSD_version < 1100093
232 #if __FreeBSD_version >= 800000
233  void *ro_lle;
234 #endif
235 #if __FreeBSD_version >= 900000
236  void *ro_ia;
237  int ro_flags;
238 #endif
239 #else
240 #if __FreeBSD_version >= 1100116
241  struct llentry *ro_lle;
242 #endif
243  char *ro_prepend;
244  uint16_t ro_plen;
245  uint16_t ro_flags;
246  uint16_t ro_mtu;
247  uint16_t spare;
248 #endif
249 #endif
250 #if defined(__APPLE__)
251 #if !defined(APPLE_LEOPARD) && !defined(APPLE_SNOWLEOPARD) && !defined(APPLE_LION) && !defined(APPLE_MOUNTAINLION)
252  struct ifaddr *ro_srcia;
253 #endif
254 #if !defined(APPLE_LEOPARD)
255  uint32_t ro_flags;
256 #endif
257 #endif
258  union sctp_sockstore _l_addr; /* remote peer addr */
259  struct sctp_ifa *_s_addr; /* our selected src addr */
260 };
261 
262 struct htcp {
263  uint16_t alpha; /* Fixed point arith, << 7 */
264  uint8_t beta; /* Fixed point arith, << 7 */
265  uint8_t modeswitch; /* Delay modeswitch until we had at least one congestion event */
266  uint32_t last_cong; /* Time since last congestion event end */
272 
275 
276  /* Bandwidth estimation */
282 };
283 
284 struct rtcc_cc {
285  struct timeval tls; /* The time we started the sending */
286  uint64_t lbw; /* Our last estimated bw */
287  uint64_t lbw_rtt; /* RTT at bw estimate */
288  uint64_t bw_bytes; /* The total bytes since this sending began */
289  uint64_t bw_tot_time; /* The total time since sending began */
290  uint64_t new_tot_time; /* temp holding the new value */
291  uint64_t bw_bytes_at_last_rttc; /* What bw_bytes was at last rtt calc */
292  uint32_t cwnd_at_bw_set; /* Cwnd at last bw saved - lbw */
293  uint32_t vol_reduce; /* cnt of voluntary reductions */
294  uint16_t steady_step; /* The number required to be in steady state*/
295  uint16_t step_cnt; /* The current number */
296  uint8_t ret_from_eq; /* When all things are equal what do I return 0/1 - 1 no cc advance */
297  uint8_t use_dccc_ecn; /* Flag to enable DCCC ECN */
298  uint8_t tls_needs_set; /* Flag to indicate we need to set tls 0 or 1 means set at send 2 not */
299  uint8_t last_step_state; /* Last state if steady state stepdown is on */
300  uint8_t rtt_set_this_sack; /* Flag saying this sack had RTT calc on it */
301  uint8_t last_inst_ind; /* Last saved inst indication */
302 };
303 
304 
305 struct sctp_nets {
306  TAILQ_ENTRY(sctp_nets) sctp_next; /* next link */
307 
308  /*
309  * Things on the top half may be able to be split into a common
310  * structure shared by all.
311  */
312  struct sctp_timer pmtu_timer;
313  struct sctp_timer hb_timer;
314 
315  /*
316  * The following two in combination equate to a route entry for v6
317  * or v4.
318  */
319  struct sctp_net_route ro;
320 
321  /* mtu discovered so far */
323  uint32_t ssthresh; /* not sure about this one for split */
328  /* smoothed average things for RTT and RTO itself */
329  int lastsa;
330  int lastsv;
331  uint64_t rtt; /* last measured rtt value in us */
332  unsigned int RTO;
333 
334  /* This is used for SHUTDOWN/SHUTDOWN-ACK/SEND or INIT timers */
335  struct sctp_timer rxt_timer;
336 
337  /* last time in seconds I sent to it */
338  struct timeval last_sent_time;
340  struct htcp htcp_ca; /* JRS - struct used in HTCP algorithm */
341  struct rtcc_cc rtcc; /* rtcc module cc stuff */
342  } cc_mod;
344 
345  /* Congestion stats per destination */
346  /*
347  * flight size variables and such, sorry Vern, I could not avoid
348  * this if I wanted performance :>
349  */
351  uint32_t cwnd; /* actual cwnd */
352  uint32_t prev_cwnd; /* cwnd before any processing */
353  uint32_t ecn_prev_cwnd; /* ECN prev cwnd at first ecn_echo seen in new window */
354  uint32_t partial_bytes_acked; /* in CA tracks when to incr a MTU */
355  /* tracking variables to avoid the aloc/free in sack processing */
356  unsigned int net_ack;
357  unsigned int net_ack2;
358 
359  /*
360  * JRS - 5/8/07 - Variable to track last time
361  * a destination was active for CMT PF
362  */
364 
365  /*
366  * CMT variables (iyengar@cis.udel.edu)
367  */
368  uint32_t this_sack_highest_newack; /* tracks highest TSN newly
369  * acked for a given dest in
370  * the current SACK. Used in
371  * SFR and HTNA algos */
372  uint32_t pseudo_cumack; /* CMT CUC algorithm. Maintains next expected
373  * pseudo-cumack for this destination */
374  uint32_t rtx_pseudo_cumack; /* CMT CUC algorithm. Maintains next
375  * expected pseudo-cumack for this
376  * destination */
377 
378  /* CMT fast recovery variables */
382 #ifdef INET6
383  uint32_t flowlabel;
384 #endif
386 
387  struct timeval start_time; /* time when this net was created */
388  uint32_t marked_retrans; /* number or DATA chunks marked for
389  timer based retransmissions */
391  uint32_t heart_beat_delay; /* Heart Beat delay in ms */
392 
393  /* if this guy is ok or not ... status */
395  /* number of timeouts to consider the destination unreachable */
397  /* number of timeouts to consider the destination potentially failed */
399  /* error stats on the destination */
401  /* UDP port number in case of UDP tunneling */
403 
406  /* Flags that probably can be combined into dest_state */
407  uint8_t fast_retran_ip; /* fast retransmit in progress */
409  uint8_t saw_newack; /* CMT's SFR algorithm flag */
410  uint8_t src_addr_selected; /* if we split we move */
412  uint8_t addr_is_local; /* its a local address (if known) could move
413  * in split */
414 
415  /*
416  * CMT variables (iyengar@cis.udel.edu)
417  */
418  uint8_t find_pseudo_cumack; /* CMT CUC algorithm. Flag used to
419  * find a new pseudocumack. This flag
420  * is set after a new pseudo-cumack
421  * has been received and indicates
422  * that the sender should find the
423  * next pseudo-cumack expected for
424  * this destination */
425  uint8_t find_rtx_pseudo_cumack; /* CMT CUCv2 algorithm. Flag used to
426  * find a new rtx-pseudocumack. This
427  * flag is set after a new
428  * rtx-pseudo-cumack has been received
429  * and indicates that the sender
430  * should find the next
431  * rtx-pseudo-cumack expected for this
432  * destination */
433  uint8_t new_pseudo_cumack; /* CMT CUC algorithm. Flag used to
434  * indicate if a new pseudo-cumack or
435  * rtx-pseudo-cumack has been received */
436  uint8_t window_probe; /* Doing a window probe? */
437  uint8_t RTO_measured; /* Have we done the first measure */
438  uint8_t last_hs_used; /* index into the last HS table entry we used */
441 #if defined(__FreeBSD__)
442  uint32_t flowid;
443  uint8_t flowtype;
444 #endif
445 };
446 
447 
449  uint32_t TSN_seq; /* the TSN of this transmit */
450  uint32_t stream_seq; /* the stream sequence number of this transmit */
451  uint16_t stream_number; /* the stream number of this guy */
453  uint32_t context; /* from send */
455  /*
456  * part of the Highest sacked algorithm to be able to stroke counts
457  * on ones that are FR'd.
458  */
459  uint32_t fast_retran_tsn; /* sending_seq at the time of FR */
460  struct timeval timetodrop; /* time we drop it from queue */
461  uint32_t fsn_num; /* Fragment Sequence Number */
463  uint8_t rcv_flags; /* flags pulled from data chunk on inbound for
464  * outbound holds sending flags for PR-SCTP.
465  */
469 };
470 
471 TAILQ_HEAD(sctpchunk_listhead, sctp_tmit_chunk);
472 
473 /* The lower byte is used to enumerate PR_SCTP policies */
474 #define CHUNK_FLAGS_PR_SCTP_TTL SCTP_PR_SCTP_TTL
475 #define CHUNK_FLAGS_PR_SCTP_BUF SCTP_PR_SCTP_BUF
476 #define CHUNK_FLAGS_PR_SCTP_RTX SCTP_PR_SCTP_RTX
477 
478 /* The upper byte is used as a bit mask */
479 #define CHUNK_FLAGS_FRAGMENT_OK 0x0100
480 
481 struct chk_id {
484 };
485 
486 
488  union {
490  struct chk_id chunk_id;
491  } rec;
492  struct sctp_association *asoc; /* bp to asoc this belongs to */
493  struct timeval sent_rcv_time; /* filled in if RTT being calculated */
494  struct mbuf *data; /* pointer to mbuf chain of data */
495  struct mbuf *last_mbuf; /* pointer to last mbuf in chain */
496  struct sctp_nets *whoTo;
497  TAILQ_ENTRY(sctp_tmit_chunk) sctp_next; /* next link */
498  int32_t sent; /* the send status */
499  uint16_t snd_count; /* number of times I sent */
500  uint16_t flags; /* flags, such as FRAGMENT_OK */
505  uint8_t holds_key_ref; /* flag if auth keyid refcount is held */
512 };
513 
514 struct sctp_queued_to_read { /* sinfo structure Pluse more */
515  uint16_t sinfo_stream; /* off the wire */
516  uint32_t sinfo_ssn; /* off the wire */
517  uint16_t sinfo_flags; /* SCTP_UNORDERED from wire use SCTP_EOF for
518  * EOR */
519  uint32_t sinfo_ppid; /* off the wire */
520  uint32_t sinfo_context; /* pick this up from assoc def context? */
521  uint32_t sinfo_timetolive; /* not used by kernel */
522  uint32_t sinfo_tsn; /* Use this in reassembly as first TSN */
523  uint32_t sinfo_cumtsn; /* Use this in reassembly as last TSN */
524  sctp_assoc_t sinfo_assoc_id; /* our assoc id */
525  /* Non sinfo stuff */
526  uint32_t msg_id; /* Fragment Index */
527  uint32_t length; /* length of data */
528  uint32_t held_length; /* length held in sb */
529  uint32_t top_fsn; /* Highest FSN in queue */
530  uint32_t fsn_included; /* Highest FSN in *data portion */
531  struct sctp_nets *whoFrom; /* where it came from */
532  struct mbuf *data; /* front of the mbuf chain of data with
533  * PKT_HDR */
534  struct mbuf *tail_mbuf; /* used for multi-part data */
535  struct mbuf *aux_data; /* used to hold/cache control if o/s does not take it from us */
536  struct sctp_tcb *stcb; /* assoc, used for window update */
538  TAILQ_ENTRY(sctp_queued_to_read) next_instrm;
539  struct sctpchunk_listhead reasm;
541  uint16_t spec_flags; /* Flags to hold the notification field */
551 };
552 
553 #define SCTP_ON_ORDERED 1
554 #define SCTP_ON_UNORDERED 2
555 
556 /* This data structure will be on the outbound
557  * stream queues. Data will be pulled off from
558  * the front of the mbuf data and chunk-ified
559  * by the output routines. We will custom
560  * fit every chunk we pull to the send/sent
561  * queue to make up the next full packet
562  * if we can. An entry cannot be removed
563  * from the stream_out queue until
564  * the msg_is_complete flag is set. This
565  * means at times data/tail_mbuf MIGHT
566  * be NULL.. If that occurs it happens
567  * for one of two reasons. Either the user
568  * is blocked on a send() call and has not
569  * awoken to copy more data down... OR
570  * the user is in the explict MSG_EOR mode
571  * and wrote some data, but has not completed
572  * sending.
573  */
575  struct mbuf *data;
576  struct mbuf *tail_mbuf;
577  struct timeval ts;
578  struct sctp_nets *net;
596 };
597 
598 /*
599  * this struct contains info that is used to track inbound stream data and
600  * help with ordering.
601  */
602 TAILQ_HEAD(sctpwheelunrel_listhead, sctp_stream_in);
604  struct sctp_readhead inqueue;
605  struct sctp_readhead uno_inqueue;
606  uint32_t last_sequence_delivered; /* used for re-order */
610 };
611 
612 TAILQ_HEAD(sctpwheel_listhead, sctp_stream_out);
613 TAILQ_HEAD(sctplist_listhead, sctp_stream_queue_pending);
614 
615 
616 /* Round-robin schedulers */
617 struct ss_rr {
618  /* next link in wheel */
619  TAILQ_ENTRY(sctp_stream_out) next_spoke;
620 };
621 
622 /* Priority scheduler */
623 struct ss_prio {
624  /* next link in wheel */
625  TAILQ_ENTRY(sctp_stream_out) next_spoke;
626  /* priority id */
628 };
629 
630 /* Fair Bandwidth scheduler */
631 struct ss_fb {
632  /* next link in wheel */
633  TAILQ_ENTRY(sctp_stream_out) next_spoke;
634  /* stores message size */
636 };
637 
638 /*
639  * This union holds all data necessary for
640  * different stream schedulers.
641  */
644  /* circular looking for output selection */
646  union {
647  struct sctpwheel_listhead wheel;
648  struct sctplist_listhead list;
649  } out;
650 };
651 
652 /*
653  * This union holds all parameters per stream
654  * necessary for different stream schedulers.
655  */
657  struct ss_rr rr;
658  struct ss_prio prio;
659  struct ss_fb fb;
660 };
661 
662 /* States for outgoing streams */
663 #define SCTP_STREAM_CLOSED 0x00
664 #define SCTP_STREAM_OPENING 0x01
665 #define SCTP_STREAM_OPEN 0x02
666 #define SCTP_STREAM_RESET_PENDING 0x03
667 #define SCTP_STREAM_RESET_IN_FLIGHT 0x04
668 
669 #define SCTP_MAX_STREAMS_AT_ONCE_RESET 200
670 
671 /* This struct is used to track the traffic on outbound streams */
673  struct sctp_streamhead outqueue;
674  union scheduling_parameters ss_params;
675  uint32_t chunks_on_queues; /* send queue and sent queue */
676 #if defined(SCTP_DETAILED_STR_STATS)
677  uint32_t abandoned_unsent[SCTP_PR_SCTP_MAX + 1];
678  uint32_t abandoned_sent[SCTP_PR_SCTP_MAX + 1];
679 #else
680  /* Only the aggregation */
681  uint32_t abandoned_unsent[1];
682  uint32_t abandoned_sent[1];
683 #endif
684  /* For associations using DATA chunks, the lower 16-bit of
685  * next_mid_ordered are used as the next SSN.
686  */
692 };
693 
694 /* used to keep track of the addresses yet to try to add/delete */
695 TAILQ_HEAD(sctp_asconf_addrhead, sctp_asconf_addr);
699  struct sctp_ifa *ifa; /* save the ifa for add/del ip */
700  uint8_t sent; /* has this been sent yet? */
701  uint8_t special_del; /* not to be used in lookup */
702 };
703 
704 struct sctp_scoping {
707 #if defined(__Userspace__)
708  uint8_t conn_addr_legal;
709 #endif
714 };
715 
716 #define SCTP_TSN_LOG_SIZE 40
717 
718 struct sctp_tsn_log {
719  void *stcb;
728 };
729 
730 #define SCTP_FS_SPEC_LOG_SIZE 200
738 };
739 
740 /* This struct is here to cut out the compatiabilty
741  * pad that bulks up both the inp and stcb. The non
742  * pad portion MUST stay in complete sync with
743  * sctp_sndrcvinfo... i.e. if sinfo_xxxx is added
744  * this must be done here too.
745  */
758 };
759 
760 /*
761  * JRS - Structure to hold function pointers to the functions responsible
762  * for congestion control.
763  */
764 
766  void (*sctp_set_initial_cc_param)(struct sctp_tcb *stcb, struct sctp_nets *net);
767  void (*sctp_cwnd_update_after_sack)(struct sctp_tcb *stcb,
768  struct sctp_association *asoc,
769  int accum_moved ,int reneged_all, int will_exit);
770  void (*sctp_cwnd_update_exit_pf)(struct sctp_tcb *stcb, struct sctp_nets *net);
771  void (*sctp_cwnd_update_after_fr)(struct sctp_tcb *stcb,
772  struct sctp_association *asoc);
773  void (*sctp_cwnd_update_after_timeout)(struct sctp_tcb *stcb,
774  struct sctp_nets *net);
775  void (*sctp_cwnd_update_after_ecn_echo)(struct sctp_tcb *stcb,
776  struct sctp_nets *net, int in_window, int num_pkt_lost);
777  void (*sctp_cwnd_update_after_packet_dropped)(struct sctp_tcb *stcb,
778  struct sctp_nets *net, struct sctp_pktdrop_chunk *cp,
779  uint32_t *bottle_bw, uint32_t *on_queue);
780  void (*sctp_cwnd_update_after_output)(struct sctp_tcb *stcb,
781  struct sctp_nets *net, int burst_limit);
782  void (*sctp_cwnd_update_packet_transmitted)(struct sctp_tcb *stcb,
783  struct sctp_nets *net);
784  void (*sctp_cwnd_update_tsn_acknowledged)(struct sctp_nets *net,
785  struct sctp_tmit_chunk *);
786  void (*sctp_cwnd_new_transmission_begins)(struct sctp_tcb *stcb,
787  struct sctp_nets *net);
788  void (*sctp_cwnd_prepare_net_for_sack)(struct sctp_tcb *stcb,
789  struct sctp_nets *net);
790  int (*sctp_cwnd_socket_option)(struct sctp_tcb *stcb, int set, struct sctp_cc_option *);
791  void (*sctp_rtt_calculated)(struct sctp_tcb *, struct sctp_nets *, struct timeval *);
792 };
793 
794 /*
795  * RS - Structure to hold function pointers to the functions responsible
796  * for stream scheduling.
797  */
799  void (*sctp_ss_init)(struct sctp_tcb *stcb, struct sctp_association *asoc,
800  int holds_lock);
801  void (*sctp_ss_clear)(struct sctp_tcb *stcb, struct sctp_association *asoc,
802  int clear_values, int holds_lock);
803  void (*sctp_ss_init_stream)(struct sctp_tcb *stcb, struct sctp_stream_out *strq, struct sctp_stream_out *with_strq);
804  void (*sctp_ss_add_to_stream)(struct sctp_tcb *stcb, struct sctp_association *asoc,
805  struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp, int holds_lock);
806  int (*sctp_ss_is_empty)(struct sctp_tcb *stcb, struct sctp_association *asoc);
807  void (*sctp_ss_remove_from_stream)(struct sctp_tcb *stcb, struct sctp_association *asoc,
808  struct sctp_stream_out *strq, struct sctp_stream_queue_pending *sp, int holds_lock);
809  struct sctp_stream_out* (*sctp_ss_select_stream)(struct sctp_tcb *stcb,
810  struct sctp_nets *net, struct sctp_association *asoc);
811  void (*sctp_ss_scheduled)(struct sctp_tcb *stcb, struct sctp_nets *net,
812  struct sctp_association *asoc, struct sctp_stream_out *strq, int moved_how_much);
813  void (*sctp_ss_packet_done)(struct sctp_tcb *stcb, struct sctp_nets *net,
814  struct sctp_association *asoc);
815  int (*sctp_ss_get_value)(struct sctp_tcb *stcb, struct sctp_association *asoc,
816  struct sctp_stream_out *strq, uint16_t *value);
817  int (*sctp_ss_set_value)(struct sctp_tcb *stcb, struct sctp_association *asoc,
818  struct sctp_stream_out *strq, uint16_t value);
819  int (*sctp_ss_is_user_msgs_incomplete)(struct sctp_tcb *stcb, struct sctp_association *asoc);
820 };
821 
822 /* used to save ASCONF chunks for retransmission */
823 TAILQ_HEAD(sctp_asconf_head, sctp_asconf);
824 struct sctp_asconf {
828  struct mbuf *data;
830 };
831 
832 /* used to save ASCONF-ACK chunks for retransmission */
833 TAILQ_HEAD(sctp_asconf_ackhead, sctp_asconf_ack);
838  struct mbuf *data;
840 };
841 
842 /*
843  * Here we have information about each individual association that we track.
844  * We probably in production would be more dynamic. But for ease of
845  * implementation we will have a fixed array that we hunt for in a linear
846  * fashion.
847  */
849  /* association state */
850  int state;
851 
852  /* queue of pending addrs to add/delete */
853  struct sctp_asconf_addrhead asconf_queue;
854 
855  struct timeval time_entered; /* time we entered state */
856  struct timeval time_last_rcvd;
857  struct timeval time_last_sent;
858  struct timeval time_last_sat_advance;
859  struct sctp_nonpad_sndrcvinfo def_send;
860 
861  /* timers and such */
862  struct sctp_timer dack_timer; /* Delayed ack timer */
863  struct sctp_timer asconf_timer; /* asconf */
864  struct sctp_timer strreset_timer; /* stream reset */
865  struct sctp_timer shut_guard_timer; /* shutdown guard */
866  struct sctp_timer autoclose_timer; /* automatic close timer */
867  struct sctp_timer delayed_event_timer; /* timer for delayed events */
868  struct sctp_timer delete_prim_timer; /* deleting primary dst */
869 
870  /* list of restricted local addresses */
871  struct sctpladdr sctp_restricted_addrs;
872 
873  /* last local address pending deletion (waiting for an address add) */
875  /* Deleted primary destination (used to stop timer) */
877 
878  struct sctpnetlisthead nets; /* remote address list */
879 
880  /* Free chunk list */
881  struct sctpchunk_listhead free_chunks;
882 
883  /* Control chunk queue */
884  struct sctpchunk_listhead control_send_queue;
885 
886  /* ASCONF chunk queue */
887  struct sctpchunk_listhead asconf_send_queue;
888 
889  /*
890  * Once a TSN hits the wire it is moved to the sent_queue. We
891  * maintain two counts here (don't know if any but retran_cnt is
892  * needed). The idea is that the sent_queue_retran_cnt reflects how
893  * many chunks have been marked for retranmission by either T3-rxt
894  * or FR.
895  */
896  struct sctpchunk_listhead sent_queue;
897  struct sctpchunk_listhead send_queue;
898 
899  /* Scheduling queues */
900  struct scheduling_data ss_data;
901 
902  /* If an iterator is looking at me, this is it */
904 
905  /* ASCONF save the last ASCONF-ACK so we can resend it if necessary */
906  struct sctp_asconf_ackhead asconf_ack_sent;
907 
908  /*
909  * pointer to last stream reset queued to control queue by us with
910  * requests.
911  */
913  /*
914  * if Source Address Selection happening, this will rotate through
915  * the link list.
916  */
918 
919  /* stream arrays */
923  /* primary destination to use */
925  struct sctp_nets *alternate; /* If primary is down or PF */
926  /* For CMT */
928  /* last place I got a data chunk from */
930  /* last place I got a control from */
932 
933 
934  /*
935  * wait to the point the cum-ack passes req->send_reset_at_tsn for
936  * any req on the list.
937  */
938  struct sctp_resethead resetHead;
939 
940  /* queue of chunks waiting to be sent into the local stack */
941  struct sctp_readhead pending_reply_queue;
942 
943  /* JRS - the congestion control functions are in this struct */
944  struct sctp_cc_functions cc_functions;
945  /* JRS - value to store the currently loaded congestion control module */
947  /* RS - the stream scheduling functions are in this struct */
948  struct sctp_ss_functions ss_functions;
949  /* RS - value to store the currently loaded stream scheduling module */
951 
954  /* ASCONF next seq I am sending out, inits at init-tsn */
957  /* ASCONF last received ASCONF from peer, starts at peer's TSN-1 */
959 
960  /* next seq I am sending in str reset messages */
962  /* next seq I am expecting in str reset messages */
964 
965  /* various verification tag information */
966  uint32_t my_vtag; /* The tag to be used. if assoc is re-initited
967  * by remote end, and I have unlocked this
968  * will be regenerated to a new random value. */
969  uint32_t peer_vtag; /* The peers last tag */
970 
973 
975 
976  /* This is the SCTP fragmentation threshold */
978 
979  /*
980  * Special hook for Fast retransmit, allows us to track the highest
981  * TSN that is NEW in this SACK if gap ack blocks are present.
982  */
984 
985  /*
986  * The highest consecutive TSN that has been acked by peer on my
987  * sends
988  */
990 
991  /* The next TSN that I will use in sending. */
993 
994  /* Original seq number I used ??questionable to keep?? */
996 
997 
998  /* The Advanced Peer Ack Point, as required by the PR-SCTP */
999  /* (A1 in Section 4.2) */
1001 
1002  /*
1003  * The highest consequetive TSN at the bottom of the mapping array
1004  * (for his sends).
1005  */
1007  /*
1008  * Used to track the mapping array and its offset bits. This MAY be
1009  * lower then cumulative_tsn.
1010  */
1012  /*
1013  * used to track highest TSN we have received and is listed in the
1014  * mapping array.
1015  */
1017 
1018  /* EY - new NR variables used for nr_sack based on mapping_array*/
1021 
1025  /*
1026  * For the pd-api we should re-write this a bit more efficient. We
1027  * could have multiple sctp_queued_to_read's that we are building at
1028  * once. Now we only do this when we get ready to deliver to the
1029  * socket buffer. Note that we depend on the fact that the struct is
1030  * "stuck" on the read queue until we finish all the pd-api.
1031  */
1033 
1037  uint32_t last_reset_action[SCTP_MAX_RESET_PARAMS];
1038  uint32_t last_sending_seq[SCTP_MAX_RESET_PARAMS];
1039  uint32_t last_base_tsnsent[SCTP_MAX_RESET_PARAMS];
1040 #ifdef SCTP_ASOCLOG_OF_TSNS
1041  /*
1042  * special log - This adds considerable size
1043  * to the asoc, but provides a log that you
1044  * can use to detect problems via kgdb.
1045  */
1046  struct sctp_tsn_log in_tsnlog[SCTP_TSN_LOG_SIZE];
1047  struct sctp_tsn_log out_tsnlog[SCTP_TSN_LOG_SIZE];
1048  uint32_t cumack_log[SCTP_TSN_LOG_SIZE];
1049  uint32_t cumack_logsnt[SCTP_TSN_LOG_SIZE];
1050  uint16_t tsn_in_at;
1051  uint16_t tsn_out_at;
1052  uint16_t tsn_in_wrapped;
1053  uint16_t tsn_out_wrapped;
1054  uint16_t cumack_log_at;
1055  uint16_t cumack_log_atsnt;
1056 #endif /* SCTP_ASOCLOG_OF_TSNS */
1057 #ifdef SCTP_FS_SPEC_LOG
1059  uint16_t fs_index;
1060 #endif
1061 
1062  /*
1063  * window state information and smallest MTU that I use to bound
1064  * segmentation
1065  */
1070 
1072 
1073  uint32_t sb_cc; /* shadow of sb_cc */
1074  uint32_t sb_send_resv; /* amount reserved on a send */
1075  uint32_t my_rwnd_control_len; /* shadow of sb_mbcnt used for rwnd control */
1076 #ifdef INET6
1077  uint32_t default_flowlabel;
1078 #endif
1080  int ctrl_queue_cnt; /* could be removed REM - NO IT CAN'T!! RRS */
1081  /*
1082  * All outbound datagrams queue into this list from the individual
1083  * stream queue. Here they get assigned a TSN and then await
1084  * sending. The stream seq comes when it is first put in the
1085  * individual str queue
1086  */
1087  unsigned int stream_queue_cnt;
1088  unsigned int send_queue_cnt;
1089  unsigned int sent_queue_cnt;
1091  /*
1092  * Number on sent queue that are marked for retran until this value
1093  * is 0 we only send one packet of retran'ed data.
1094  */
1096 
1097  unsigned int size_on_reasm_queue;
1098  unsigned int cnt_on_reasm_queue;
1099  unsigned int fwd_tsn_cnt;
1100  /* amount of data (bytes) currently in flight (on all destinations) */
1101  unsigned int total_flight;
1102  /* Total book size in flight */
1103  unsigned int total_flight_count; /* count of chunks used with
1104  * book total */
1105  /* count of destinaton nets and list of destination nets */
1106  unsigned int numnets;
1107 
1108  /* Total error count on this association */
1109  unsigned int overall_error_count;
1110 
1111  unsigned int cnt_msg_on_sb;
1112 
1113  /* All stream count of chunks for delivery */
1114  unsigned int size_on_all_streams;
1115  unsigned int cnt_on_all_streams;
1116 
1117  /* Heart Beat delay in ms */
1119 
1120  /* autoclose */
1121  unsigned int sctp_autoclose_ticks;
1122 
1123  /* how many preopen streams we have */
1124  unsigned int pre_open_streams;
1125 
1126  /* How many streams I support coming into me */
1127  unsigned int max_inbound_streams;
1128 
1129  /* the cookie life I award for any cookie, in seconds */
1130  unsigned int cookie_life;
1131  /* time to delay acks for */
1132  unsigned int delayed_ack;
1133  unsigned int old_delayed_ack;
1134  unsigned int sack_freq;
1135  unsigned int data_pkts_seen;
1136 
1137  unsigned int numduptsns;
1138  int dup_tsns[SCTP_MAX_DUP_TSNS];
1139  unsigned int initial_init_rto_max; /* initial RTO for INIT's */
1140  unsigned int initial_rto; /* initial send RTO */
1141  unsigned int minrto; /* per assoc RTO-MIN */
1142  unsigned int maxrto; /* per assoc RTO-MAX */
1143 
1144  /* authentication fields */
1147  sctp_hmaclist_t *local_hmacs; /* local HMACs supported */
1148  sctp_hmaclist_t *peer_hmacs; /* peer HMACs supported */
1149  struct sctp_keyhead shared_keys; /* assoc's shared keys */
1150  sctp_authinfo_t authinfo; /* randoms, cached keys */
1151  /*
1152  * refcnt to block freeing when a sender or receiver is off coping
1153  * user data in.
1154  */
1156  uint32_t chunks_on_out_queue; /* total chunks floating around,
1157  * locked by send socket buffer */
1159  uint16_t peer_hmac_id; /* peer HMAC id to send */
1160 
1161  /*
1162  * Being that we have no bag to collect stale cookies, and that we
1163  * really would not want to anyway.. we will count them in this
1164  * counter. We of course feed them to the pigeons right away (I have
1165  * always thought of pigeons as flying rats).
1166  */
1168 
1169  /*
1170  * For the partial delivery API, if up, invoked this is what last
1171  * TSN I delivered
1172  */
1175 
1176  /* counts of actual built streams. Allocation may be more however */
1177  /* could re-arrange to optimize space here. */
1182  /* my maximum number of retrans of INIT and SEND */
1183  /* copied from SCTP but should be individually setable */
1186 
1188 
1190 
1191  /*
1192  * lock flag: 0 is ok to send, 1+ (duals as a retran count) is
1193  * awaiting ACK
1194  */
1196 
1199 
1202 
1205 
1208  uint8_t authenticated; /* packet authenticated ok */
1209  /*
1210  * This flag indicates that a SACK need to be sent.
1211  * Initially this is 1 to send the first sACK immediately.
1212  */
1214 
1215  /* max burst of new packets into the network */
1217  /* max burst of fast retransmit packets */
1219 
1220  uint8_t sat_network; /* RTT is in range of sat net or greater */
1221  uint8_t sat_network_lockout; /* lockout code */
1222  uint8_t burst_limit_applied; /* Burst limit in effect at last send? */
1223  /* flag goes on when we are doing a partial delivery api */
1224  uint8_t hb_random_values[4];
1231  uint8_t asconf_del_pending; /* asconf delete last addr pending */
1233  /*
1234  * This value, plus all other ack'd but above cum-ack is added
1235  * together to cross check against the bit that we have yet to
1236  * define (probably in the SACK). When the cum-ack is updated, this
1237  * sum is updated as well.
1238  */
1239 
1240  /* Flags whether an extension is supported or not */
1249 
1250  /* Did the peer make the stream config (add out) request */
1252 
1255 
1256  struct sctp_scoping scope;
1257  /* flags to handle send alternate net tracking */
1273  /* CMT variables */
1277  uint8_t cookie_how[8];
1278  /* JRS 5/21/07 - CMT PF variable */
1283  uint16_t port; /* remote UDP encapsulation port */
1284  /*
1285  * The mapping array is used to track out of order sequences above
1286  * last_acked_seq. 0 indicates packet missing 1 indicates packet
1287  * rec'd. We slide it up every time we raise last_acked_seq and 0
1288  * trailing locactions out. If I get a TSN above the array
1289  * mappingArraySz, I discard the datagram and let retransmit happen.
1290  */
1299  struct timeval start_time;
1300  struct timeval discontinuity_time;
1301  uint64_t abandoned_unsent[SCTP_PR_SCTP_MAX + 1];
1302  uint64_t abandoned_sent[SCTP_PR_SCTP_MAX + 1];
1303 };
1304 
1305 #endif
uint16_t sinfo_keynumber
Definition: sctp_structs.h:756
uint16_t flgs
Definition: sctp_structs.h:724
uint32_t init_seq_number
Definition: sctp_structs.h:995
uint32_t flight_size
Definition: sctp_structs.h:350
Definition: sctp_structs.h:184
uint32_t next_mid_ordered
Definition: sctp_structs.h:687
uint8_t ecn_supported
Definition: sctp_structs.h:1241
Definition: sctp_auth.h:82
uint8_t hb_responded
Definition: sctp_structs.h:408
uint32_t peers_adaptation
Definition: sctp_structs.h:1158
struct sctp_inpcb * next_inp
Definition: sctp_structs.h:149
struct mbuf * data
Definition: sctp_structs.h:828
uint8_t seen_a_sack_this_pkt
Definition: sctp_structs.h:1262
Definition: sctp_structs.h:574
uint8_t fragmented_delivery_inprogress
Definition: sctp_structs.h:1225
uint32_t maxRTT
Definition: sctp_structs.h:271
unsigned int sent_queue_cnt
Definition: sctp_structs.h:1089
uint8_t local_scope
Definition: sctp_structs.h:712
int16_t num_send_timers_up
Definition: sctp_structs.h:1201
unsigned int size_on_reasm_queue
Definition: sctp_structs.h:1097
unsigned long long uint64_t
Definition: ptypes.h:120
sctp_rtentry_t * ro_rt
Definition: sctp_structs.h:229
uint8_t fast_retran_loss_recovery
Definition: sctp_structs.h:404
uint8_t sent
Definition: sctp_structs.h:700
uint64_t bw_bytes_at_last_rttc
Definition: sctp_structs.h:291
Definition: sctp_structs.h:672
uint32_t sinfo_context
Definition: sctp_structs.h:520
unsigned int pre_open_streams
Definition: sctp_structs.h:1124
unsigned int cookie_life
Definition: sctp_structs.h:1130
pthread_cond_t userland_cond_t
Definition: sctp_os_userspace.h:281
uint32_t vrf_id
Definition: sctp_structs.h:952
struct sctp_laddr * last_used_address
Definition: sctp_structs.h:917
struct mbuf * data
Definition: sctp_structs.h:494
struct sctp_tmit_chunk * str_reset
Definition: sctp_structs.h:912
unsigned int overall_error_count
Definition: sctp_structs.h:1109
uint32_t asconf_seq_in
Definition: sctp_structs.h:958
uint8_t in_asocid_hash
Definition: sctp_structs.h:1269
int ref_count
Definition: sctp_structs.h:343
uint8_t find_rtx_pseudo_cumack
Definition: sctp_structs.h:425
end_func function_atend
Definition: sctp_structs.h:153
uint32_t Bi
Definition: sctp_structs.h:280
uint16_t steady_step
Definition: sctp_structs.h:294
uint8_t addr_is_local
Definition: sctp_structs.h:412
struct sctp_nets * last_sent_to
Definition: sctp_structs.h:837
uint32_t msg_id
Definition: sctp_structs.h:526
Definition: sctp_header.h:125
uint32_t sctp_frag_point
Definition: sctp_structs.h:1069
Definition: sctp_structs.h:631
uint32_t tsn
Definition: sctp_structs.h:720
uint32_t timoshutdown
Definition: sctp_structs.h:1295
unsigned int total_flight
Definition: sctp_structs.h:1101
uint16_t stream_no
Definition: sctp_structs.h:607
Definition: sctp_structs.h:67
uint8_t peer_supports_nat
Definition: sctp_structs.h:1254
uint32_t timoheartbeat
Definition: sctp_structs.h:1296
uint16_t in_pos
Definition: sctp_structs.h:725
uint8_t site_scope
Definition: sctp_structs.h:713
uint32_t last_cong
Definition: sctp_structs.h:266
uint8_t find_pseudo_cumack
Definition: sctp_structs.h:418
Definition: sctp_structs.h:305
Definition: sctp_structs.h:824
uint16_t strm
Definition: sctp_structs.h:722
uint8_t pktdrop_supported
Definition: sctp_structs.h:1247
uint32_t marked_retrans
Definition: sctp_structs.h:388
uint32_t old_maxB
Definition: sctp_structs.h:279
signed int int32_t
Definition: ptypes.h:101
uint8_t fast_retran_ip
Definition: sctp_structs.h:407
uint8_t nrsack_supported
Definition: sctp_structs.h:1246
Definition: sctp_pcb.h:444
int type
Definition: sctp_structs.h:48
uint8_t send_sack
Definition: sctp_structs.h:1213
s ts
Definition: plot_neteq_delay.m:55
uint16_t snd_count
Definition: sctp_structs.h:499
unsigned int uint32_t
Definition: ptypes.h:105
int ctrl_queue_cnt
Definition: sctp_structs.h:1080
uint16_t peer_hmac_id
Definition: sctp_structs.h:1159
uint64_t rtt
Definition: sctp_structs.h:331
uint32_t asconf_seq_out
Definition: sctp_structs.h:955
uint32_t ticks
Definition: sctp_structs.h:62
uint8_t delayed_connection
Definition: sctp_structs.h:1265
uint32_t max_cwnd
Definition: sctp_structs.h:1282
uint16_t mapping_array_size
Definition: sctp_structs.h:1195
uint16_t spec_flags
Definition: sctp_structs.h:541
uint8_t burst_limit_applied
Definition: sctp_structs.h:1222
sctp_auth_chklist_t * peer_auth_chunks
Definition: sctp_structs.h:1146
uint16_t book_size
Definition: sctp_structs.h:502
struct sctp_nets * net
Definition: sctp_structs.h:578
uint32_t str_reset_seq_out
Definition: sctp_structs.h:961
uint32_t context
Definition: sctp_structs.h:1036
Definition: AudioContext.idl:28
uint32_t sb_send_resv
Definition: sctp_structs.h:1074
uint16_t def_net_failure
Definition: sctp_structs.h:1187
uint16_t sinfo_ssn
Definition: sctp_structs.h:748
uint8_t stream_locked
Definition: sctp_structs.h:1207
uint16_t dest_state
Definition: sctp_structs.h:394
unsigned int max_inbound_streams
Definition: sctp_structs.h:1127
#define SCTP_MAX_DUP_TSNS
Definition: sctp_constants.h:582
uint32_t sinfo_timetolive
Definition: sctp_structs.h:521
struct sctp_nets * last_data_chunk_from
Definition: sctp_structs.h:929
unsigned int initial_rto
Definition: sctp_structs.h:1140
uint32_t ecn_prev_cwnd
Definition: sctp_structs.h:353
uint16_t port_from
Definition: sctp_structs.h:540
Definition: sctp_header.h:438
uint8_t adaptation_sent
Definition: sctp_structs.h:1272
uint32_t lost_cnt
Definition: sctp_structs.h:327
uint32_t prev_cwnd
Definition: sctp_structs.h:352
struct sctp_nets * deleted_primary
Definition: sctp_structs.h:876
uint8_t do_not_ref_stcb
Definition: sctp_structs.h:542
uint32_t cwnd
Definition: sctp_structs.h:351
struct sctp_stream_out * locked_on_sending
Definition: sctp_structs.h:643
#define SCTP_FS_SPEC_LOG_SIZE
Definition: sctp_structs.h:730
uint8_t peer_req_out
Definition: sctp_structs.h:1251
uint32_t held_length
Definition: sctp_structs.h:528
void * net
Definition: sctp_structs.h:55
uint16_t sinfo_stream
Definition: sctp_structs.h:515
uint8_t stream_reset_outstanding
Definition: sctp_structs.h:1263
uint32_t minRTT
Definition: sctp_structs.h:270
uint16_t stream_number
Definition: sctp_structs.h:451
uint32_t congestion_control_module
Definition: sctp_structs.h:946
uint16_t last_strm_no_delivered
Definition: sctp_structs.h:1198
uint32_t timocookie
Definition: sctp_structs.h:1297
sctp_assoc_t sinfo_assoc_id
Definition: sctp_structs.h:524
uint16_t sinfo_flags
Definition: sctp_structs.h:586
struct sctp_iterator * cur_it
Definition: sctp_structs.h:217
uint8_t ipv6_addr_legal
Definition: sctp_structs.h:706
uint16_t max_send_times
Definition: sctp_structs.h:1185
Definition: sctp_auth.h:89
int state
Definition: sctp_structs.h:850
unsigned int numduptsns
Definition: sctp_structs.h:1137
uint8_t modeswitch
Definition: sctp_structs.h:265
unsigned int initial_init_rto_max
Definition: sctp_structs.h:1139
const GLfloat * m
Definition: gl2ext.h:850
uint32_t top_fsn
Definition: sctp_structs.h:529
uint32_t last_active
Definition: sctp_structs.h:363
uint32_t fr_max_burst
Definition: sctp_structs.h:1218
uint32_t mtu
Definition: sctp_structs.h:322
uint32_t assoc_id
Definition: sctp_structs.h:974
sctp_os_timer_t timer
Definition: sctp_structs.h:46
inp_func function_inp_end
Definition: sctp_structs.h:152
uint32_t payloadtype
Definition: sctp_structs.h:452
uint16_t in_out
Definition: sctp_structs.h:726
sctp_hmaclist_t * peer_hmacs
Definition: sctp_structs.h:1148
uint16_t bytes_acked
Definition: sctp_structs.h:268
uint32_t last_acked_seq
Definition: sctp_structs.h:989
unsigned int cnt_on_all_streams
Definition: sctp_structs.h:1115
uint8_t id
Definition: sctp_structs.h:482
uint16_t streamincnt
Definition: sctp_structs.h:1178
unsigned int sent_queue_cnt_removeable
Definition: sctp_structs.h:1090
uint8_t prsctp_supported
Definition: sctp_structs.h:1242
unsigned int delayed_ack
Definition: sctp_structs.h:1132
uint32_t this_sack_highest_gap
Definition: sctp_structs.h:983
uint32_t marked_fastretrans
Definition: sctp_structs.h:390
uint8_t do_rtt
Definition: sctp_structs.h:507
uint8_t hb_ect_randombit
Definition: sctp_structs.h:1228
uint32_t sinfo_cumtsn
Definition: sctp_structs.h:754
uint8_t dscp
Definition: sctp_structs.h:385
uint32_t chunks_on_queues
Definition: sctp_structs.h:675
uint16_t failure_threshold
Definition: sctp_structs.h:396
uint32_t iterator_flags
Definition: sctp_structs.h:159
struct sctp_nets * whoFrom
Definition: sctp_structs.h:531
Definition: sctp_structs.h:81
uint16_t step_cnt
Definition: sctp_structs.h:295
uint32_t stream_scheduling_module
Definition: sctp_structs.h:950
pthread_t userland_thread_t
Definition: sctp_os_userspace.h:282
signed short int16_t
Definition: ptypes.h:93
Definition: sctp_structs.h:481
uint8_t last_msg_incomplete
Definition: sctp_structs.h:690
uint64_t new_tot_time
Definition: sctp_structs.h:290
#define SCTP_TSN_LOG_SIZE
Definition: sctp_structs.h:716
uint8_t msg_is_complete
Definition: sctp_structs.h:591
uint32_t pdapi_ppid
Definition: sctp_structs.h:1035
uint32_t my_last_reported_rwnd
Definition: sctp_structs.h:1068
uint8_t discard_rest
Definition: sctp_structs.h:595
#define TAILQ_ENTRY(type)
Definition: user_queue.h:466
uint32_t peer_vtag_nonce
Definition: sctp_structs.h:972
uint32_t cookie_preserve_req
Definition: sctp_structs.h:953
uint32_t lasttime
Definition: sctp_structs.h:281
uint16_t streamoutcnt
Definition: sctp_structs.h:1179
uint8_t beta
Definition: sctp_structs.h:264
uint32_t sinfo_ppid
Definition: sctp_structs.h:750
uint32_t marked_retrans
Definition: sctp_structs.h:1291
uint32_t pcb_features
Definition: sctp_structs.h:157
uint32_t ticks
Definition: sctp_structs.h:70
struct sctp_queued_to_read * control_pdapi
Definition: sctp_structs.h:1032
uint8_t delivery_started
Definition: sctp_structs.h:608
uint32_t asconf_seq_out_acked
Definition: sctp_structs.h:956
Definition: user_route.h:72
#define SCTP_MAX_RESET_PARAMS
Definition: sctp_constants.h:421
Definition: sctp_structs.h:731
uint8_t dropped_special_cnt
Definition: sctp_structs.h:1261
unsigned int fwd_tsn_cnt
Definition: sctp_structs.h:1099
uint32_t highest_tsn_inside_map
Definition: sctp_structs.h:1016
Definition: sctp_structs.h:514
struct sctp_iterator * stcb_starting_point_for_iterator
Definition: sctp_structs.h:903
uint32_t val
Definition: sctp_structs.h:155
int cnt
Definition: sctp_structs.h:181
uint32_t undo_maxRTT
Definition: sctp_structs.h:273
struct mbuf * tail_mbuf
Definition: sctp_structs.h:534
uint32_t heartbeat_random2
Definition: sctp_structs.h:381
Definition: sctp_structs.h:704
uint32_t last_cwr_tsn
Definition: sctp_structs.h:324
uint16_t error_count
Definition: sctp_structs.h:400
uint16_t sinfo_flags
Definition: sctp_structs.h:749
uint32_t seq
Definition: sctp_structs.h:83
uint64_t bw_bytes
Definition: sctp_structs.h:288
Definition: sctp_structs.h:339
uint32_t number_entries
Definition: sctp_structs.h:85
uint32_t this_sack_highest_newack
Definition: sctp_structs.h:368
unsigned int sctp_autoclose_ticks
Definition: sctp_structs.h:1121
sctp_authinfo_t authinfo
Definition: sctp_structs.h:1150
Definition: sctp_structs.h:179
unsigned int maxrto
Definition: sctp_structs.h:1142
uint32_t str_reset_seq_in
Definition: sctp_structs.h:963
uint32_t smallest_mtu
Definition: sctp_structs.h:977
uint32_t length
Definition: sctp_structs.h:527
uint32_t sinfo_tsn
Definition: sctp_structs.h:753
uint16_t str_of_pdapi
Definition: sctp_structs.h:1173
int(* inp_func)(struct sctp_inpcb *, void *ptr, uint32_t val)
Definition: sctp_structs.h:111
struct sctp_ifa * asconf_addr_del_pending
Definition: sctp_structs.h:874
uint16_t port
Definition: sctp_structs.h:402
#define SCTP_PROCESS_STRUCT
Definition: sctp_os_userspace.h:704
uint32_t sb_cc
Definition: sctp_structs.h:1073
uint32_t partial_bytes_acked
Definition: sctp_structs.h:354
uint16_t sinfo_flags
Definition: sctp_structs.h:517
void
Definition: AVFoundationCFSoftLinking.h:81
uint32_t ecn_ce_pkt_cnt
Definition: sctp_structs.h:326
void(* end_func)(void *ptr, uint32_t val)
Definition: sctp_structs.h:112
uint32_t tsn
Definition: sctp_structs.h:734
struct sctp_stream_out * last_out_stream
Definition: sctp_structs.h:645
int
Definition: runtests.py:53
uint16_t def_net_pf_threshold
Definition: sctp_structs.h:1189
uint16_t mbcnt
Definition: sctp_structs.h:503
uint32_t sinfo_cumtsn
Definition: sctp_structs.h:523
uint16_t last_revoke_count
Definition: sctp_structs.h:1200
struct sctp_ifa * ifa
Definition: sctp_structs.h:699
uint32_t undo_old_maxB
Definition: sctp_structs.h:274
uint8_t used_alt_asconfack
Definition: sctp_structs.h:1258
uint8_t default_dscp
Definition: sctp_structs.h:1230
sctp_hmaclist_t * local_hmacs
Definition: sctp_structs.h:1147
Definition: sctp_uio.h:1149
uint32_t timoinit
Definition: sctp_structs.h:1292
uint32_t serial_number
Definition: sctp_structs.h:826
uint8_t some_taken
Definition: sctp_structs.h:592
uint8_t window_probe
Definition: sctp_structs.h:436
int updown
Definition: sctp_structs.h:71
Definition: sctp_structs.h:617
Definition: sctp_structs.h:798
uint16_t snd_count
Definition: sctp_structs.h:827
uint16_t alpha
Definition: sctp_structs.h:263
unsigned int stream_queue_cnt
Definition: sctp_structs.h:1087
uint16_t strm_pending_add_size
Definition: sctp_structs.h:1181
uint32_t lineno
Definition: sctp_structs.h:69
uint8_t sat_network_lockout
Definition: sctp_structs.h:1221
Definition: sctp_structs.h:746
uint8_t use_dccc_ecn
Definition: sctp_structs.h:297
Definition: sctp_structs.h:448
Definition: sctp_structs.h:170
uint16_t last_strm_seq_delivered
Definition: sctp_structs.h:1197
int int * out
Definition: gcc-loops.cpp:206
uint8_t sender_all_done
Definition: sctp_structs.h:593
uint8_t loopback_scope
Definition: sctp_structs.h:710
uint32_t asoc_state
Definition: sctp_structs.h:158
unsigned int net_ack2
Definition: sctp_structs.h:357
Definition: interfaces.idl:172
uint32_t ppid
Definition: sctp_structs.h:584
uint8_t ret_from_eq
Definition: sctp_structs.h:296
uint8_t sat_t3_loss_recovery
Definition: sctp_structs.h:1260
struct sctp_nets * last_control_chunk_from
Definition: sctp_structs.h:931
EGLAttrib * value
Definition: eglext.h:120
uint16_t len
Definition: sctp_structs.h:839
uint8_t trigger_reset
Definition: sctp_structs.h:1232
unsigned char uint8_t
Definition: ptypes.h:89
struct sctp_ifa * _s_addr
Definition: sctp_structs.h:259
uint8_t no_fr_allowed
Definition: sctp_structs.h:509
uint32_t timosack
Definition: sctp_structs.h:1294
uint8_t last_step_state
Definition: sctp_structs.h:299
Definition: sctp_uio.h:140
uint32_t refcnt
Definition: sctp_structs.h:1155
uint8_t incr
Definition: sctp_structs.h:736
struct sctp_association * asoc
Definition: sctp_structs.h:492
uint32_t timoshutdownack
Definition: sctp_structs.h:1298
uint8_t local_strreset_support
Definition: sctp_structs.h:1253
unsigned short uint16_t
Definition: ptypes.h:97
uint32_t max_burst
Definition: sctp_structs.h:1216
uint8_t copy_by_ref
Definition: sctp_structs.h:510
uint16_t flags
Definition: sctp_structs.h:500
uint8_t adaptation_needed
Definition: sctp_structs.h:1271
uint32_t tsn
Definition: sctp_structs.h:84
Definition: sctp_auth.h:76
Definition: sctp_structs.h:45
uint8_t auth_supported
Definition: sctp_structs.h:1243
uint8_t decr
Definition: sctp_structs.h:737
struct sctp_nets * last_net_cmt_send_started
Definition: sctp_structs.h:927
uint8_t put_last_out
Definition: sctp_structs.h:594
uint8_t last_frag_seen
Definition: sctp_structs.h:547
uint16_t max_init_times
Definition: sctp_structs.h:1184
uint8_t ipv4_local_scope
Definition: sctp_structs.h:711
struct sctp_tcb * stcb
Definition: sctp_structs.h:148
uint8_t pd_api_started
Definition: sctp_structs.h:609
uint32_t fast_recovery_tsn
Definition: sctp_structs.h:379
Definition: sctp_pcb.h:122
uint64_t sctp_features
Definition: sctp_structs.h:1281
uint8_t chunk_was_revoked
Definition: sctp_structs.h:467
uint32_t peer_vtag
Definition: sctp_structs.h:969
uint32_t bottle_bw
Definition: sctp_header.h:440
uint32_t sinfo_timetolive
Definition: sctp_structs.h:752
uint8_t end_added
Definition: sctp_structs.h:543
uint8_t first_frag_seen
Definition: sctp_structs.h:548
Definition: sctp_structs.h:848
uint8_t assoc_up_sent
Definition: sctp_structs.h:1270
uint8_t last_inst_ind
Definition: sctp_structs.h:301
uint32_t my_rwnd_control_len
Definition: sctp_structs.h:1075
uint32_t sinfo_tsn
Definition: sctp_structs.h:522
uint32_t pcb_flags
Definition: sctp_structs.h:156
inp_func function_inp
Definition: sctp_structs.h:151
uint16_t sz
Definition: sctp_structs.h:723
Definition: sctp_structs.h:228
Definition: sctp_structs.h:656
uint32_t last_sequence_delivered
Definition: sctp_structs.h:606
unsigned int size_on_all_streams
Definition: sctp_structs.h:1114
asoc_func function_assoc
Definition: sctp_structs.h:150
uint32_t iterator_flags
Definition: sctp_structs.h:219
uint8_t ipv4_addr_legal
Definition: sctp_structs.h:705
struct mbuf * tail_mbuf
Definition: sctp_structs.h:576
uint32_t vol_reduce
Definition: sctp_structs.h:293
unsigned int cnt_msg_on_sb
Definition: sctp_structs.h:1111
Definition: sctp_structs.h:141
uint8_t * nr_mapping_array
Definition: sctp_structs.h:1019
uint8_t holds_key_ref
Definition: sctp_structs.h:505
uint8_t reconfig_supported
Definition: sctp_structs.h:1245
uint8_t book_size_scale
Definition: sctp_structs.h:508
uint16_t ssn_of_pdapi
Definition: sctp_structs.h:1174
Definition: sctp_pcb.h:614
uint8_t hb_random_idx
Definition: sctp_structs.h:1229
uint32_t peers_rwnd
Definition: sctp_structs.h:1066
uint32_t next_mid_unordered
Definition: sctp_structs.h:688
uint32_t cwnd_at_send
Definition: sctp_structs.h:454
Definition: user_mbuf.h:231
uint32_t fsn
Definition: sctp_structs.h:581
struct mbuf * data
Definition: sctp_structs.h:532
uint32_t context
Definition: sctp_structs.h:585
struct sctp_stream_out * strmout
Definition: sctp_structs.h:921
uint8_t tls_needs_set
Definition: sctp_structs.h:298
#define SCTP_PR_SCTP_MAX
Definition: sctp_uio.h:294
SCTP_PROCESS_STRUCT thread_proc
Definition: sctp_structs.h:211
unsigned int numnets
Definition: sctp_structs.h:1106
struct mbuf * last_mbuf
Definition: sctp_structs.h:495
uint8_t new_pseudo_cumack
Definition: sctp_structs.h:433
struct mbuf * m
Definition: sctp_structs.h:172
unsigned int sent_queue_retran_cnt
Definition: sctp_structs.h:1095
Definition: InternalSettings.idl:27
uint32_t fsn_num
Definition: sctp_structs.h:461
void * tcb
Definition: sctp_structs.h:54
struct sctp_nets * alternate
Definition: sctp_structs.h:925
int lastsa
Definition: sctp_structs.h:329
Definition: sctp_pcb.h:103
uint32_t sat_t3_recovery_tsn
Definition: sctp_structs.h:1023
uint16_t free_chunk_cnt
Definition: sctp_structs.h:1206
TAILQ_HEAD(sctpnetlisthead, sctp_nets)
uint8_t no_chunk_output
Definition: sctp_structs.h:160
uint32_t seq
Definition: sctp_structs.h:721
uint16_t pf_threshold
Definition: sctp_structs.h:398
uint32_t maxB
Definition: sctp_structs.h:278
pthread_mutex_t userland_mutex_t
Definition: sctp_os_userspace.h:280
uint32_t advanced_peer_ack_point
Definition: sctp_structs.h:1000
uint32_t stopped_from
Definition: sctp_structs.h:63
uint8_t pdapi_aborted
Definition: sctp_structs.h:544
uint8_t rto_needed
Definition: sctp_structs.h:440
uint32_t timodata
Definition: sctp_structs.h:1293
EGLStreamKHR EGLint EGLint EGLint const void * data
Definition: eglext.h:984
unsigned int data_pkts_seen
Definition: sctp_structs.h:1135
uint8_t saw_sack_with_frags
Definition: sctp_structs.h:1267
Definition: sctp_structs.h:765
unsigned int total_flight_count
Definition: sctp_structs.h:1103
uint32_t ssthresh
Definition: sctp_structs.h:323
uint16_t port
Definition: sctp_structs.h:1283
uint32_t highest_tsn_inside_nr_map
Definition: sctp_structs.h:1020
uint16_t auth_keyid
Definition: sctp_structs.h:589
uint32_t cumulative_tsn
Definition: sctp_structs.h:1006
uint8_t src_addr_selected
Definition: sctp_structs.h:410
int sndlen
Definition: sctp_structs.h:174
unsigned int RTO
Definition: sctp_structs.h:332
int32_t sent
Definition: sctp_structs.h:498
uint32_t tsn_of_pdapi_last_delivered
Definition: sctp_structs.h:1034
uint32_t heart_beat_delay
Definition: sctp_structs.h:391
uint8_t pdapi_started
Definition: sctp_structs.h:545
struct sctp_inpcb * inp
Definition: sctp_structs.h:68
uint16_t stream_no
Definition: sctp_structs.h:689
uint64_t bw_tot_time
Definition: sctp_structs.h:289
sctp_assoc_t sinfo_assoc_id
Definition: sctp_structs.h:755
uint16_t len
Definition: sctp_structs.h:829
float fb[N]
Definition: gcc-loops.cpp:29
uint32_t sinfo_ssn
Definition: sctp_structs.h:516
uint8_t asconf_del_pending
Definition: sctp_structs.h:1231
uint8_t idata_supported
Definition: sctp_structs.h:1248
uint8_t on_strm_q
Definition: sctp_structs.h:550
uint32_t undo_last_cong
Definition: sctp_structs.h:267
uint32_t TSN_seq
Definition: sctp_structs.h:449
uint8_t state_flags
Definition: sctp_structs.h:466
Definition: sctp_structs.h:284
uint8_t saw_sack_with_nr_frags
Definition: sctp_structs.h:1268
uint32_t heart_beat_delay
Definition: sctp_structs.h:1118
uint32_t chunks_on_out_queue
Definition: sctp_structs.h:1156
uint16_t auth_keyid
Definition: sctp_structs.h:504
uint8_t asconf_supported
Definition: sctp_structs.h:1244
Definition: sctp_structs.h:603
uint8_t last_flags_delivered
Definition: sctp_structs.h:1227
Definition: sctp_structs.h:696
uint8_t authenticated
Definition: sctp_structs.h:1208
uint32_t iterator_running
Definition: sctp_structs.h:218
uint8_t fwd_tsn_cnt
Definition: sctp_structs.h:468
uint32_t tsn_last_delivered
Definition: sctp_structs.h:1024
uint32_t cwnd_at_bw_set
Definition: sctp_structs.h:292
uint16_t stream_locked_on
Definition: sctp_structs.h:1203
uint32_t my_vtag_nonce
Definition: sctp_structs.h:971
uint8_t indx_of_eligible_next_to_use
Definition: sctp_structs.h:411
uint8_t holds_key_ref
Definition: sctp_structs.h:590
uint16_t send_size
Definition: sctp_structs.h:501
uint64_t lbw
Definition: sctp_structs.h:286
void * stcb
Definition: sctp_structs.h:719
uint16_t priority
Definition: sctp_structs.h:627
uint32_t heartbeat_random1
Definition: sctp_structs.h:380
uint32_t pseudo_cumack
Definition: sctp_structs.h:372
uint16_t sinfo_stream
Definition: sctp_structs.h:747
uint8_t last_hs_used
Definition: sctp_structs.h:438
uint32_t minB
Definition: sctp_structs.h:277
struct mbuf * data
Definition: sctp_structs.h:575
uint32_t length
Definition: sctp_structs.h:582
Definition: sctp_os_userspace.h:427
void(* asoc_func)(struct sctp_inpcb *, struct sctp_tcb *, void *ptr, uint32_t val)
Definition: sctp_structs.h:109
uint32_t timetolive
Definition: sctp_structs.h:583
uint8_t fragment_flags
Definition: sctp_structs.h:1226
void * ep
Definition: sctp_structs.h:53
uint8_t sctp_cmt_pf
Definition: sctp_structs.h:1279
uint32_t my_vtag
Definition: sctp_structs.h:966
uint32_t rtx_pseudo_cumack
Definition: sctp_structs.h:374
uint16_t sinfo_keynumber_valid
Definition: sctp_structs.h:757
struct sctp_stream_in * strmin
Definition: sctp_structs.h:920
uint8_t stream_reset_out_is_outstanding
Definition: sctp_structs.h:1264
uint8_t fast_retran_loss_recovery
Definition: sctp_structs.h:1259
uint8_t special_del
Definition: sctp_structs.h:701
int cnt_failed
Definition: sctp_structs.h:176
uint8_t rcv_flags
Definition: sctp_structs.h:463
int cnt_sent
Definition: sctp_structs.h:175
uint8_t window_probe
Definition: sctp_structs.h:511
uint8_t on_read_q
Definition: sctp_structs.h:549
uint16_t stale_cookie_count
Definition: sctp_structs.h:1167
uint16_t resv
Definition: sctp_structs.h:727
Definition: sctp_callout.h:76
uint32_t sctp_assoc_t
Definition: sctp_uio.h:65
uint8_t ifp_had_enobuf
Definition: sctp_structs.h:1266
int32_t rounds
Definition: sctp_structs.h:635
uint8_t will_exit_fast_recovery
Definition: sctp_structs.h:405
void * pointer
Definition: sctp_structs.h:154
Definition: sctp_structs.h:623
uint8_t done_current_ep
Definition: sctp_structs.h:161
uint32_t sinfo_context
Definition: sctp_structs.h:751
uint8_t lan_type
Definition: sctp_structs.h:439
struct sctp_inpcb * inp
Definition: sctp_structs.h:147
Definition: sctp_structs.h:642
unsigned int net_ack
Definition: sctp_structs.h:356
uint32_t pr_sctp_cnt
Definition: sctp_structs.h:1079
uint16_t strm_realoutsize
Definition: sctp_structs.h:1180
Definition: sctp_structs.h:262
uint8_t use_precise_time
Definition: sctp_structs.h:1280
uint32_t total_output_queue_size
Definition: sctp_structs.h:1071
uint32_t my_rwnd
Definition: sctp_structs.h:1067
uint8_t can_take_data
Definition: sctp_structs.h:483
unsigned int old_delayed_ack
Definition: sctp_structs.h:1133
uint16_t book
Definition: sctp_structs.h:735
unsigned int send_queue_cnt
Definition: sctp_structs.h:1088
uint32_t cwr_window_tsn
Definition: sctp_structs.h:325
uint8_t doing_fast_retransmit
Definition: sctp_structs.h:462
uint32_t serial_number
Definition: sctp_structs.h:836
uint16_t act_flags
Definition: sctp_structs.h:588
uint32_t fast_recovery_tsn
Definition: sctp_structs.h:1022
uint32_t sending_seq
Definition: sctp_structs.h:992
uint64_t lbw_rtt
Definition: sctp_structs.h:287
struct sctp_tcb * stcb
Definition: sctp_structs.h:536
uint8_t RTO_measured
Definition: sctp_structs.h:437
struct sctp_inpcb * inp
Definition: sctp_structs.h:171
uint32_t mapping_array_base_tsn
Definition: sctp_structs.h:1011
uint16_t stream
Definition: sctp_structs.h:587
uint32_t context
Definition: sctp_structs.h:453
GLuint GLsizei GLsizei GLfloat * val
Definition: gl2ext.h:3301
struct sctp_nets * whoTo
Definition: sctp_structs.h:496
void * it_mtx
Definition: sctp_structs.h:207
uint32_t total_flight
Definition: sctp_structs.h:733
uint8_t * mapping_array
Definition: sctp_structs.h:922
uint32_t sinfo_ppid
Definition: sctp_structs.h:519
struct mbuf * aux_data
Definition: sctp_structs.h:535
uint8_t saw_newack
Definition: sctp_structs.h:409
uint32_t fsn_included
Definition: sctp_structs.h:530
uint8_t pad_inplace
Definition: sctp_structs.h:506
int lastsv
Definition: sctp_structs.h:330
uint8_t iam_blocking
Definition: sctp_structs.h:1276
uint32_t sent
Definition: sctp_structs.h:732
uint32_t stream_seq
Definition: sctp_structs.h:450
Definition: sctp_structs.h:834
uint32_t fast_retran_tsn
Definition: sctp_structs.h:459
struct mbuf * data
Definition: sctp_structs.h:838
Definition: sctp_structs.h:718
unsigned int cnt_on_reasm_queue
Definition: sctp_structs.h:1098
uint8_t state
Definition: sctp_structs.h:691
unsigned int sack_freq
Definition: sctp_structs.h:1134
unsigned int minrto
Definition: sctp_structs.h:1141
struct sctp_nets * primary_destination
Definition: sctp_structs.h:924
uint8_t cmt_dac_pkts_rcvd
Definition: sctp_structs.h:1274
uint8_t some_taken
Definition: sctp_structs.h:546
Definition: sctp_structs.h:487
uint8_t sat_network
Definition: sctp_structs.h:1220
Definition: sctp_uio.h:726
uint32_t bytecount
Definition: sctp_structs.h:269
sctp_auth_chklist_t * local_auth_chunks
Definition: sctp_structs.h:1145
uint8_t sctp_cmt_on_off
Definition: sctp_structs.h:1275
uint16_t ecn_echo_cnt_onq
Definition: sctp_structs.h:1204
uint8_t rtt_set_this_sack
Definition: sctp_structs.h:300