sctp_structs.h (171440) | sctp_structs.h (171477) |
---|---|
1/*- 2 * Copyright (c) 2001-2007, by 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, by 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 171440 2007-07-14 09:36:28Z rrs $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_structs.h 171477 2007-07-17 20:58:26Z 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_auth.h> 42 --- 436 unchanged lines hidden (view full) --- 479 uint8_t ipv4_local_scope; 480 uint8_t local_scope; 481 uint8_t site_scope; 482}; 483 484#define SCTP_TSN_LOG_SIZE 40 485 486struct sctp_tsn_log { | 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_auth.h> 42 --- 436 unchanged lines hidden (view full) --- 479 uint8_t ipv4_local_scope; 480 uint8_t local_scope; 481 uint8_t site_scope; 482}; 483 484#define SCTP_TSN_LOG_SIZE 40 485 486struct sctp_tsn_log { |
487 void *stcb; |
|
487 uint32_t tsn; 488 uint16_t strm; 489 uint16_t seq; 490 uint16_t sz; 491 uint16_t flgs; | 488 uint32_t tsn; 489 uint16_t strm; 490 uint16_t seq; 491 uint16_t sz; 492 uint16_t flgs; |
493 uint16_t in_pos; 494 uint16_t in_out; |
|
492}; 493 494#define SCTP_FS_SPEC_LOG_SIZE 200 495struct sctp_fs_spec_log { 496 uint32_t sent; 497 uint32_t total_flight; 498 uint32_t tsn; 499 uint16_t book; --- 256 unchanged lines hidden (view full) --- 756 uint32_t last_base_tsnsent[SCTP_MAX_RESET_PARAMS]; 757#ifdef SCTP_ASOCLOG_OF_TSNS 758 /* 759 * special log - This adds considerable size to the asoc, but 760 * provides a log that you can use to detect problems via kgdb. 761 */ 762 struct sctp_tsn_log in_tsnlog[SCTP_TSN_LOG_SIZE]; 763 struct sctp_tsn_log out_tsnlog[SCTP_TSN_LOG_SIZE]; | 495}; 496 497#define SCTP_FS_SPEC_LOG_SIZE 200 498struct sctp_fs_spec_log { 499 uint32_t sent; 500 uint32_t total_flight; 501 uint32_t tsn; 502 uint16_t book; --- 256 unchanged lines hidden (view full) --- 759 uint32_t last_base_tsnsent[SCTP_MAX_RESET_PARAMS]; 760#ifdef SCTP_ASOCLOG_OF_TSNS 761 /* 762 * special log - This adds considerable size to the asoc, but 763 * provides a log that you can use to detect problems via kgdb. 764 */ 765 struct sctp_tsn_log in_tsnlog[SCTP_TSN_LOG_SIZE]; 766 struct sctp_tsn_log out_tsnlog[SCTP_TSN_LOG_SIZE]; |
767 uint32_t cumack_log[SCTP_TSN_LOG_SIZE]; |
|
764 uint16_t tsn_in_at; 765 uint16_t tsn_out_at; 766 uint16_t tsn_in_wrapped; 767 uint16_t tsn_out_wrapped; | 768 uint16_t tsn_in_at; 769 uint16_t tsn_out_at; 770 uint16_t tsn_in_wrapped; 771 uint16_t tsn_out_wrapped; |
772 uint16_t cumack_log_at; 773 |
|
768#endif /* SCTP_ASOCLOG_OF_TSNS */ 769#ifdef SCTP_FS_SPEC_LOG 770 struct sctp_fs_spec_log fslog[SCTP_FS_SPEC_LOG_SIZE]; 771 uint16_t fs_index; 772#endif 773 774 /* 775 * window state information and smallest MTU that I use to bound --- 250 unchanged lines hidden --- | 774#endif /* SCTP_ASOCLOG_OF_TSNS */ 775#ifdef SCTP_FS_SPEC_LOG 776 struct sctp_fs_spec_log fslog[SCTP_FS_SPEC_LOG_SIZE]; 777 uint16_t fs_index; 778#endif 779 780 /* 781 * window state information and smallest MTU that I use to bound --- 250 unchanged lines hidden --- |