sctp_header.h (228653) | sctp_header.h (233660) |
---|---|
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 * 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_header.h,v 1.14 2005/03/06 16:04:17 itojun Exp $ */ 34 35#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 * 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_header.h,v 1.14 2005/03/06 16:04:17 itojun Exp $ */ 34 35#include <sys/cdefs.h> |
36__FBSDID("$FreeBSD: head/sys/netinet/sctp_header.h 228653 2011-12-17 19:21:40Z tuexen $"); | 36__FBSDID("$FreeBSD: head/sys/netinet/sctp_header.h 233660 2012-03-29 13:36:53Z rrs $"); |
37 38#ifndef __sctp_header_h__ 39#define __sctp_header_h__ 40 41#include <sys/time.h> 42#include <netinet/sctp.h> 43#include <netinet/sctp_constants.h> 44 --- 451 unchanged lines hidden (view full) --- 496 struct sctp_paramhdr ph; 497 uint32_t request_seq; 498 uint16_t number_of_streams; 499 uint16_t reserved; 500} SCTP_PACKED; 501 502#define SCTP_STREAM_RESET_NOTHING 0x00000000 /* Nothing for me to do */ 503#define SCTP_STREAM_RESET_PERFORMED 0x00000001 /* Did it */ | 37 38#ifndef __sctp_header_h__ 39#define __sctp_header_h__ 40 41#include <sys/time.h> 42#include <netinet/sctp.h> 43#include <netinet/sctp_constants.h> 44 --- 451 unchanged lines hidden (view full) --- 496 struct sctp_paramhdr ph; 497 uint32_t request_seq; 498 uint16_t number_of_streams; 499 uint16_t reserved; 500} SCTP_PACKED; 501 502#define SCTP_STREAM_RESET_NOTHING 0x00000000 /* Nothing for me to do */ 503#define SCTP_STREAM_RESET_PERFORMED 0x00000001 /* Did it */ |
504#define SCTP_STREAM_RESET_DENIED 0x00000002 /* refused to do it */ | 504#define SCTP_STREAM_RESET_REJECT 0x00000002 /* refused to do it */ |
505#define SCTP_STREAM_RESET_ERROR_STR 0x00000003 /* bad Stream no */ 506#define SCTP_STREAM_RESET_TRY_LATER 0x00000004 /* collision, try again */ 507#define SCTP_STREAM_RESET_BAD_SEQNO 0x00000005 /* bad str-reset seq no */ 508 509/* 510 * convience structures, note that if you are making a request for specific 511 * streams then the request will need to be an overlay structure. 512 */ --- 114 unchanged lines hidden --- | 505#define SCTP_STREAM_RESET_ERROR_STR 0x00000003 /* bad Stream no */ 506#define SCTP_STREAM_RESET_TRY_LATER 0x00000004 /* collision, try again */ 507#define SCTP_STREAM_RESET_BAD_SEQNO 0x00000005 /* bad str-reset seq no */ 508 509/* 510 * convience structures, note that if you are making a request for specific 511 * streams then the request will need to be an overlay structure. 512 */ --- 114 unchanged lines hidden --- |