Deleted Added
full compact
sctp_structs.h (163953) sctp_structs.h (163996)
1/*-
2 * Copyright (c) 2001-2006, 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-2006, 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 163953 2006-11-03 15:23:16Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_structs.h 163996 2006-11-05 13:25:18Z rrs $");
35
36#ifndef __sctp_structs_h__
37#define __sctp_structs_h__
38
39#include <sys/queue.h>
40
41#include <sys/callout.h>
42#include <sys/socket.h>

--- 692 unchanged lines hidden (view full) ---

735
736 /* authentication fields */
737 sctp_auth_chklist_t *local_auth_chunks;
738 sctp_auth_chklist_t *peer_auth_chunks;
739 sctp_hmaclist_t *local_hmacs; /* local HMACs supported */
740 sctp_hmaclist_t *peer_hmacs; /* peer HMACs supported */
741 struct sctp_keyhead shared_keys; /* assoc's shared keys */
742 sctp_authinfo_t authinfo; /* randoms, cached keys */
35
36#ifndef __sctp_structs_h__
37#define __sctp_structs_h__
38
39#include <sys/queue.h>
40
41#include <sys/callout.h>
42#include <sys/socket.h>

--- 692 unchanged lines hidden (view full) ---

735
736 /* authentication fields */
737 sctp_auth_chklist_t *local_auth_chunks;
738 sctp_auth_chklist_t *peer_auth_chunks;
739 sctp_hmaclist_t *local_hmacs; /* local HMACs supported */
740 sctp_hmaclist_t *peer_hmacs; /* peer HMACs supported */
741 struct sctp_keyhead shared_keys; /* assoc's shared keys */
742 sctp_authinfo_t authinfo; /* randoms, cached keys */
743 uint16_t peer_hmac_id; /* peer HMAC id to send */
744 /*
745 * refcnt to block freeing when a sender or receiver is off coping
746 * user data in.
747 */
743 /*
744 * refcnt to block freeing when a sender or receiver is off coping
745 * user data in.
746 */
748 uint16_t refcnt;
747 uint32_t refcnt;
748 uint32_t chunks_on_out_queue; /* total chunks floating around,
749 * locked by send socket buffer */
749
750
751 uint16_t peer_hmac_id; /* peer HMAC id to send */
752
750 /*
751 * Being that we have no bag to collect stale cookies, and that we
752 * really would not want to anyway.. we will count them in this
753 * counter. We of course feed them to the pigeons right away (I have
754 * always thought of pigeons as flying rats).
755 */
756 uint16_t stale_cookie_count;
757

--- 21 unchanged lines hidden (view full) ---

779 * awaiting ACK
780 */
781 uint16_t asconf_sent; /* possibly removable REM */
782 uint16_t mapping_array_size;
783
784 uint16_t last_strm_seq_delivered;
785 uint16_t last_strm_no_delivered;
786
753 /*
754 * Being that we have no bag to collect stale cookies, and that we
755 * really would not want to anyway.. we will count them in this
756 * counter. We of course feed them to the pigeons right away (I have
757 * always thought of pigeons as flying rats).
758 */
759 uint16_t stale_cookie_count;
760

--- 21 unchanged lines hidden (view full) ---

782 * awaiting ACK
783 */
784 uint16_t asconf_sent; /* possibly removable REM */
785 uint16_t mapping_array_size;
786
787 uint16_t last_strm_seq_delivered;
788 uint16_t last_strm_no_delivered;
789
787 uint16_t chunks_on_out_queue; /* total chunks floating around,
788 * locked by send socket buffer */
789 uint16_t last_revoke_count;
790 int16_t num_send_timers_up;
791
792 uint16_t stream_locked_on;
793 uint16_t ecn_echo_cnt_onq;
794
795 uint16_t free_chunk_cnt;
796 uint16_t free_strmoq_cnt;

--- 96 unchanged lines hidden ---
790 uint16_t last_revoke_count;
791 int16_t num_send_timers_up;
792
793 uint16_t stream_locked_on;
794 uint16_t ecn_echo_cnt_onq;
795
796 uint16_t free_chunk_cnt;
797 uint16_t free_strmoq_cnt;

--- 96 unchanged lines hidden ---