sctp_structs.h (168859) | sctp_structs.h (168943) |
---|---|
1/*- 2 * Copyright (c) 2001-2007, Cisco Systems, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are met: 6 * 7 * a) Redistributions of source code must retain the above copyright notice, 8 * this list of conditions and the following disclaimer. --- 17 unchanged lines hidden (view full) --- 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31/* $KAME: sctp_structs.h,v 1.13 2005/03/06 16:04:18 itojun Exp $ */ 32 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2007, Cisco Systems, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are met: 6 * 7 * a) Redistributions of source code must retain the above copyright notice, 8 * this list of conditions and the following disclaimer. --- 17 unchanged lines hidden (view full) --- 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31/* $KAME: sctp_structs.h,v 1.13 2005/03/06 16:04:18 itojun Exp $ */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_structs.h 168859 2007-04-19 11:28:43Z rrs $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_structs.h 168943 2007-04-22 11:06:27Z rrs $"); |
35 36#ifndef __sctp_structs_h__ 37#define __sctp_structs_h__ 38 39#include <netinet/sctp_os.h> 40#include <netinet/sctp_header.h> 41#include <netinet/sctp_uio.h> 42#include <netinet/sctp_auth.h> --- 327 unchanged lines hidden (view full) --- 370 struct mbuf *tail_mbuf; /* used for multi-part data */ 371 struct sctp_tcb *stcb; /* assoc, used for window update */ 372 TAILQ_ENTRY(sctp_queued_to_read) next; 373 uint16_t port_from; 374 uint16_t spec_flags; /* Flags to hold the notification field */ 375 uint8_t do_not_ref_stcb; 376 uint8_t end_added; 377 uint8_t pdapi_aborted; | 35 36#ifndef __sctp_structs_h__ 37#define __sctp_structs_h__ 38 39#include <netinet/sctp_os.h> 40#include <netinet/sctp_header.h> 41#include <netinet/sctp_uio.h> 42#include <netinet/sctp_auth.h> --- 327 unchanged lines hidden (view full) --- 370 struct mbuf *tail_mbuf; /* used for multi-part data */ 371 struct sctp_tcb *stcb; /* assoc, used for window update */ 372 TAILQ_ENTRY(sctp_queued_to_read) next; 373 uint16_t port_from; 374 uint16_t spec_flags; /* Flags to hold the notification field */ 375 uint8_t do_not_ref_stcb; 376 uint8_t end_added; 377 uint8_t pdapi_aborted; |
378 uint8_t resv; | 378 uint8_t some_taken; |
379}; 380 381/* This data structure will be on the outbound 382 * stream queues. Data will be pulled off from 383 * the front of the mbuf data and chunk-ified 384 * by the output routines. We will custom 385 * fit every chunk we pull to the send/sent 386 * queue to make up the next full packet --- 33 unchanged lines hidden (view full) --- 420 421/* 422 * this struct contains info that is used to track inbound stream data and 423 * help with ordering. 424 */ 425TAILQ_HEAD(sctpwheelunrel_listhead, sctp_stream_in); 426struct sctp_stream_in { 427 struct sctp_readhead inqueue; | 379}; 380 381/* This data structure will be on the outbound 382 * stream queues. Data will be pulled off from 383 * the front of the mbuf data and chunk-ified 384 * by the output routines. We will custom 385 * fit every chunk we pull to the send/sent 386 * queue to make up the next full packet --- 33 unchanged lines hidden (view full) --- 420 421/* 422 * this struct contains info that is used to track inbound stream data and 423 * help with ordering. 424 */ 425TAILQ_HEAD(sctpwheelunrel_listhead, sctp_stream_in); 426struct sctp_stream_in { 427 struct sctp_readhead inqueue; |
428 TAILQ_ENTRY(sctp_stream_in) next_spoke; | |
429 uint16_t stream_no; 430 uint16_t last_sequence_delivered; /* used for re-order */ | 428 uint16_t stream_no; 429 uint16_t last_sequence_delivered; /* used for re-order */ |
430 uint8_t delivery_started; |
|
431}; 432 433/* This struct is used to track the traffic on outbound streams */ 434TAILQ_HEAD(sctpwheel_listhead, sctp_stream_out); 435struct sctp_stream_out { 436 struct sctp_streamhead outqueue; 437 TAILQ_ENTRY(sctp_stream_out) next_spoke; /* next link in wheel */ 438 uint16_t stream_no; --- 497 unchanged lines hidden --- | 431}; 432 433/* This struct is used to track the traffic on outbound streams */ 434TAILQ_HEAD(sctpwheel_listhead, sctp_stream_out); 435struct sctp_stream_out { 436 struct sctp_streamhead outqueue; 437 TAILQ_ENTRY(sctp_stream_out) next_spoke; /* next link in wheel */ 438 uint16_t stream_no; --- 497 unchanged lines hidden --- |