sctp_pcb.h (218319) | sctp_pcb.h (224641) |
---|---|
1/*- 2 * Copyright (c) 2001-2007, 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 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are met: 7 * 8 * a) Redistributions of source code must retain the above copyright notice, --- 18 unchanged lines hidden (view full) --- 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29 * THE POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32/* $KAME: sctp_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */ 33 34#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2007, 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 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are met: 7 * 8 * a) Redistributions of source code must retain the above copyright notice, --- 18 unchanged lines hidden (view full) --- 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29 * THE POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32/* $KAME: sctp_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */ 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.h 218319 2011-02-05 12:12:51Z rrs $"); | 35__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.h 224641 2011-08-03 20:21:00Z tuexen $"); |
36 37#ifndef __sctp_pcb_h__ 38#define __sctp_pcb_h__ 39 40#include <netinet/sctp_os.h> 41#include <netinet/sctp.h> 42#include <netinet/sctp_constants.h> 43#include <netinet/sctp_sysctl.h> --- 244 unchanged lines hidden (view full) --- 288 /* Max times I will init at a guy */ 289 uint16_t max_init_times; 290 291 /* Max times I will send before we consider someone dead */ 292 uint16_t max_send_times; 293 294 uint16_t def_net_failure; 295 | 36 37#ifndef __sctp_pcb_h__ 38#define __sctp_pcb_h__ 39 40#include <netinet/sctp_os.h> 41#include <netinet/sctp.h> 42#include <netinet/sctp_constants.h> 43#include <netinet/sctp_sysctl.h> --- 244 unchanged lines hidden (view full) --- 288 /* Max times I will init at a guy */ 289 uint16_t max_init_times; 290 291 /* Max times I will send before we consider someone dead */ 292 uint16_t max_send_times; 293 294 uint16_t def_net_failure; 295 |
296 uint16_t def_net_pf_threshold; 297 |
|
296 /* number of streams to pre-open on a association */ 297 uint16_t pre_open_stream_count; 298 uint16_t max_open_streams_intome; 299 300 /* random number generator */ 301 uint32_t random_counter; 302 uint8_t random_numbers[SCTP_SIGNATURE_ALOC_SIZE]; 303 uint8_t random_store[SCTP_SIGNATURE_ALOC_SIZE]; --- 273 unchanged lines hidden (view full) --- 577void sctp_add_local_addr_ep(struct sctp_inpcb *, struct sctp_ifa *, uint32_t); 578 579int sctp_insert_laddr(struct sctpladdr *, struct sctp_ifa *, uint32_t); 580 581void sctp_remove_laddr(struct sctp_laddr *); 582 583void sctp_del_local_addr_ep(struct sctp_inpcb *, struct sctp_ifa *); 584 | 298 /* number of streams to pre-open on a association */ 299 uint16_t pre_open_stream_count; 300 uint16_t max_open_streams_intome; 301 302 /* random number generator */ 303 uint32_t random_counter; 304 uint8_t random_numbers[SCTP_SIGNATURE_ALOC_SIZE]; 305 uint8_t random_store[SCTP_SIGNATURE_ALOC_SIZE]; --- 273 unchanged lines hidden (view full) --- 579void sctp_add_local_addr_ep(struct sctp_inpcb *, struct sctp_ifa *, uint32_t); 580 581int sctp_insert_laddr(struct sctpladdr *, struct sctp_ifa *, uint32_t); 582 583void sctp_remove_laddr(struct sctp_laddr *); 584 585void sctp_del_local_addr_ep(struct sctp_inpcb *, struct sctp_ifa *); 586 |
585int sctp_add_remote_addr(struct sctp_tcb *, struct sockaddr *, int, int); | 587int sctp_add_remote_addr(struct sctp_tcb *, struct sockaddr *, struct sctp_nets **, int, int); |
586 587void sctp_remove_net(struct sctp_tcb *, struct sctp_nets *); 588 589int sctp_del_remote_addr(struct sctp_tcb *, struct sockaddr *); 590 591void sctp_pcb_init(void); 592 593void sctp_pcb_finish(void); --- 49 unchanged lines hidden --- | 588 589void sctp_remove_net(struct sctp_tcb *, struct sctp_nets *); 590 591int sctp_del_remote_addr(struct sctp_tcb *, struct sockaddr *); 592 593void sctp_pcb_init(void); 594 595void sctp_pcb_finish(void); --- 49 unchanged lines hidden --- |