sctp_structs.h (202526) | sctp_structs.h (206137) |
---|---|
1/*- 2 * Copyright (c) 2001-2008, 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-2008, 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 202526 2010-01-17 21:00:28Z tuexen $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_structs.h 206137 2010-04-03 15:40:14Z tuexen $"); |
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 --- 429 unchanged lines hidden (view full) --- 472/* used to keep track of the addresses yet to try to add/delete */ 473TAILQ_HEAD(sctp_asconf_addrhead, sctp_asconf_addr); 474struct sctp_asconf_addr { 475 TAILQ_ENTRY(sctp_asconf_addr) next; 476 struct sctp_asconf_addr_param ap; 477 struct sctp_ifa *ifa; /* save the ifa for add/del ip */ 478 uint8_t sent; /* has this been sent yet? */ 479 uint8_t special_del; /* not to be used in lookup */ | 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 --- 429 unchanged lines hidden (view full) --- 472/* used to keep track of the addresses yet to try to add/delete */ 473TAILQ_HEAD(sctp_asconf_addrhead, sctp_asconf_addr); 474struct sctp_asconf_addr { 475 TAILQ_ENTRY(sctp_asconf_addr) next; 476 struct sctp_asconf_addr_param ap; 477 struct sctp_ifa *ifa; /* save the ifa for add/del ip */ 478 uint8_t sent; /* has this been sent yet? */ 479 uint8_t special_del; /* not to be used in lookup */ |
480 | |
481}; 482 483struct sctp_scoping { 484 uint8_t ipv4_addr_legal; 485 uint8_t ipv6_addr_legal; 486 uint8_t loopback_scope; 487 uint8_t ipv4_local_scope; 488 uint8_t local_scope; --- 277 unchanged lines hidden (view full) --- 766 /* 767 * used to track highest TSN we have received and is listed in the 768 * mapping array. 769 */ 770 uint32_t highest_tsn_inside_map; 771 772 /* EY - new NR variables used for nr_sack based on mapping_array */ 773 uint8_t *nr_mapping_array; | 480}; 481 482struct sctp_scoping { 483 uint8_t ipv4_addr_legal; 484 uint8_t ipv6_addr_legal; 485 uint8_t loopback_scope; 486 uint8_t ipv4_local_scope; 487 uint8_t local_scope; --- 277 unchanged lines hidden (view full) --- 765 /* 766 * used to track highest TSN we have received and is listed in the 767 * mapping array. 768 */ 769 uint32_t highest_tsn_inside_map; 770 771 /* EY - new NR variables used for nr_sack based on mapping_array */ 772 uint8_t *nr_mapping_array; |
774 uint32_t nr_mapping_array_base_tsn; | |
775 uint32_t highest_tsn_inside_nr_map; | 773 uint32_t highest_tsn_inside_nr_map; |
776 uint16_t nr_mapping_array_size; | |
777 778 uint32_t last_echo_tsn; 779 uint32_t last_cwr_tsn; 780 uint32_t fast_recovery_tsn; 781 uint32_t sat_t3_recovery_tsn; 782 uint32_t tsn_last_delivered; 783 /* 784 * For the pd-api we should re-write this a bit more efficent. We --- 294 unchanged lines hidden --- | 774 775 uint32_t last_echo_tsn; 776 uint32_t last_cwr_tsn; 777 uint32_t fast_recovery_tsn; 778 uint32_t sat_t3_recovery_tsn; 779 uint32_t tsn_last_delivered; 780 /* 781 * For the pd-api we should re-write this a bit more efficent. We --- 294 unchanged lines hidden --- |