sctp_pcb.h (206137) | sctp_pcb.h (208160) |
---|---|
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_pcb.h,v 1.21 2005/07/16 01:18:47 suz 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_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.h 206137 2010-04-03 15:40:14Z tuexen $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.h 208160 2010-05-16 17:03:56Z rrs $"); |
35 36#ifndef __sctp_pcb_h__ 37#define __sctp_pcb_h__ 38 39#include <netinet/sctp_os.h> 40#include <netinet/sctp.h> 41#include <netinet/sctp_constants.h> 42#include <netinet/sctp_sysctl.h> --- 129 unchanged lines hidden (view full) --- 172 u_long hashvrfmark; 173 174 struct sctp_ifnlist *vrf_ifn_hash; 175 u_long vrf_ifn_hashmark; 176 177 struct sctppcbhead listhead; 178 struct sctpladdr addr_wq; 179 | 35 36#ifndef __sctp_pcb_h__ 37#define __sctp_pcb_h__ 38 39#include <netinet/sctp_os.h> 40#include <netinet/sctp.h> 41#include <netinet/sctp_constants.h> 42#include <netinet/sctp_sysctl.h> --- 129 unchanged lines hidden (view full) --- 172 u_long hashvrfmark; 173 174 struct sctp_ifnlist *vrf_ifn_hash; 175 u_long vrf_ifn_hashmark; 176 177 struct sctppcbhead listhead; 178 struct sctpladdr addr_wq; 179 |
180 struct sctpiterators iteratorhead; 181 int threads_must_exit; | |
182 /* ep zone info */ 183 sctp_zone_t ipi_zone_ep; 184 sctp_zone_t ipi_zone_asoc; 185 sctp_zone_t ipi_zone_laddr; 186 sctp_zone_t ipi_zone_net; 187 sctp_zone_t ipi_zone_chunk; 188 sctp_zone_t ipi_zone_readq; 189 sctp_zone_t ipi_zone_strmoq; 190 sctp_zone_t ipi_zone_asconf; 191 sctp_zone_t ipi_zone_asconf_ack; 192 193 struct rwlock ipi_ep_mtx; | 180 /* ep zone info */ 181 sctp_zone_t ipi_zone_ep; 182 sctp_zone_t ipi_zone_asoc; 183 sctp_zone_t ipi_zone_laddr; 184 sctp_zone_t ipi_zone_net; 185 sctp_zone_t ipi_zone_chunk; 186 sctp_zone_t ipi_zone_readq; 187 sctp_zone_t ipi_zone_strmoq; 188 sctp_zone_t ipi_zone_asconf; 189 sctp_zone_t ipi_zone_asconf_ack; 190 191 struct rwlock ipi_ep_mtx; |
194 struct mtx it_mtx; | |
195 struct mtx ipi_iterator_wq_mtx; 196 struct rwlock ipi_addr_mtx; 197 struct mtx ipi_pktlog_mtx; | 192 struct mtx ipi_iterator_wq_mtx; 193 struct rwlock ipi_addr_mtx; 194 struct mtx ipi_pktlog_mtx; |
195 struct mtx wq_addr_mtx; |
|
198 uint32_t ipi_count_ep; 199 200 /* assoc/tcb zone info */ 201 uint32_t ipi_count_asoc; 202 203 /* local addrlist zone info */ 204 uint32_t ipi_count_laddr; 205 --- 17 unchanged lines hidden (view full) --- 223 224 /* Number of ifas */ 225 uint32_t ipi_count_ifas; 226 227 /* system wide number of free chunks hanging around */ 228 uint32_t ipi_free_chunks; 229 uint32_t ipi_free_strmoq; 230 | 196 uint32_t ipi_count_ep; 197 198 /* assoc/tcb zone info */ 199 uint32_t ipi_count_asoc; 200 201 /* local addrlist zone info */ 202 uint32_t ipi_count_laddr; 203 --- 17 unchanged lines hidden (view full) --- 221 222 /* Number of ifas */ 223 uint32_t ipi_count_ifas; 224 225 /* system wide number of free chunks hanging around */ 226 uint32_t ipi_free_chunks; 227 uint32_t ipi_free_strmoq; 228 |
231 | |
232 struct sctpvtaghead vtag_timewait[SCTP_STACK_VTAG_HASH_SIZE]; 233 234 /* address work queue handling */ | 229 struct sctpvtaghead vtag_timewait[SCTP_STACK_VTAG_HASH_SIZE]; 230 231 /* address work queue handling */ |
235#if defined(SCTP_USE_THREAD_BASED_ITERATOR) 236 uint32_t iterator_running; 237 SCTP_PROCESS_STRUCT thread_proc; 238#endif | |
239 struct sctp_timer addr_wq_timer; 240 241}; 242 243 244struct sctp_base_info { 245 /* 246 * All static structures that anchor the system must be here. --- 386 unchanged lines hidden --- | 232 struct sctp_timer addr_wq_timer; 233 234}; 235 236 237struct sctp_base_info { 238 /* 239 * All static structures that anchor the system must be here. --- 386 unchanged lines hidden --- |