sctp_structs.h (231074) | sctp_structs.h (233660) |
---|---|
1/*- 2 * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved. 3 * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved. 4 * Copyright (c) 2008-2011, 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 * --- 19 unchanged lines hidden (view full) --- 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/* $KAME: sctp_structs.h,v 1.13 2005/03/06 16:04:18 itojun Exp $ */ 34 35#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved. 3 * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved. 4 * Copyright (c) 2008-2011, 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 * --- 19 unchanged lines hidden (view full) --- 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/* $KAME: sctp_structs.h,v 1.13 2005/03/06 16:04:18 itojun Exp $ */ 34 35#include <sys/cdefs.h> |
36__FBSDID("$FreeBSD: head/sys/netinet/sctp_structs.h 231074 2012-02-06 10:47:12Z tuexen $"); | 36__FBSDID("$FreeBSD: head/sys/netinet/sctp_structs.h 233660 2012-03-29 13:36:53Z rrs $"); |
37 38#ifndef __sctp_structs_h__ 39#define __sctp_structs_h__ 40 41#include <netinet/sctp_os.h> 42#include <netinet/sctp_header.h> 43#include <netinet/sctp_auth.h> 44 --- 1045 unchanged lines hidden (view full) --- 1090 uint16_t str_of_pdapi; 1091 uint16_t ssn_of_pdapi; 1092 1093 /* counts of actual built streams. Allocation may be more however */ 1094 /* could re-arrange to optimize space here. */ 1095 uint16_t streamincnt; 1096 uint16_t streamoutcnt; 1097 uint16_t strm_realoutsize; | 37 38#ifndef __sctp_structs_h__ 39#define __sctp_structs_h__ 40 41#include <netinet/sctp_os.h> 42#include <netinet/sctp_header.h> 43#include <netinet/sctp_auth.h> 44 --- 1045 unchanged lines hidden (view full) --- 1090 uint16_t str_of_pdapi; 1091 uint16_t ssn_of_pdapi; 1092 1093 /* counts of actual built streams. Allocation may be more however */ 1094 /* could re-arrange to optimize space here. */ 1095 uint16_t streamincnt; 1096 uint16_t streamoutcnt; 1097 uint16_t strm_realoutsize; |
1098 uint16_t strm_pending_add_size; |
|
1098 /* my maximum number of retrans of INIT and SEND */ 1099 /* copied from SCTP but should be individually setable */ 1100 uint16_t max_init_times; 1101 uint16_t max_send_times; 1102 1103 uint16_t def_net_failure; 1104 1105 uint16_t def_net_pf_threshold; --- 45 unchanged lines hidden (view full) --- 1151 * together to cross check against the bit that we have yet to 1152 * define (probably in the SACK). When the cum-ack is updated, this 1153 * sum is updated as well. 1154 */ 1155 1156 /* Flag to tell if ECN is allowed */ 1157 uint8_t ecn_allowed; 1158 | 1099 /* my maximum number of retrans of INIT and SEND */ 1100 /* copied from SCTP but should be individually setable */ 1101 uint16_t max_init_times; 1102 uint16_t max_send_times; 1103 1104 uint16_t def_net_failure; 1105 1106 uint16_t def_net_pf_threshold; --- 45 unchanged lines hidden (view full) --- 1152 * together to cross check against the bit that we have yet to 1153 * define (probably in the SACK). When the cum-ack is updated, this 1154 * sum is updated as well. 1155 */ 1156 1157 /* Flag to tell if ECN is allowed */ 1158 uint8_t ecn_allowed; 1159 |
1160 /* Did the peer make the stream config (add out) request */ 1161 uint8_t peer_req_out; 1162 |
|
1159 /* flag to indicate if peer can do asconf */ 1160 uint8_t peer_supports_asconf; 1161 /* EY - flag to indicate if peer can do nr_sack */ 1162 uint8_t peer_supports_nr_sack; 1163 /* pr-sctp support flag */ 1164 uint8_t peer_supports_prsctp; 1165 /* peer authentication support flag */ 1166 uint8_t peer_supports_auth; 1167 /* stream resets are supported by the peer */ 1168 uint8_t peer_supports_strreset; | 1163 /* flag to indicate if peer can do asconf */ 1164 uint8_t peer_supports_asconf; 1165 /* EY - flag to indicate if peer can do nr_sack */ 1166 uint8_t peer_supports_nr_sack; 1167 /* pr-sctp support flag */ 1168 uint8_t peer_supports_prsctp; 1169 /* peer authentication support flag */ 1170 uint8_t peer_supports_auth; 1171 /* stream resets are supported by the peer */ 1172 uint8_t peer_supports_strreset; |
1173 uint8_t local_strreset_support; |
|
1169 1170 uint8_t peer_supports_nat; 1171 /* 1172 * packet drop's are supported by the peer, we don't really care 1173 * about this but we bookkeep it anyway. 1174 */ 1175 uint8_t peer_supports_pktdrop; 1176 --- 60 unchanged lines hidden --- | 1174 1175 uint8_t peer_supports_nat; 1176 /* 1177 * packet drop's are supported by the peer, we don't really care 1178 * about this but we bookkeep it anyway. 1179 */ 1180 uint8_t peer_supports_pktdrop; 1181 --- 60 unchanged lines hidden --- |