Deleted Added
full compact
sctp_structs.h (226222) sctp_structs.h (227489)
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 226222 2011-10-10 16:31:18Z tuexen $");
36__FBSDID("$FreeBSD: head/sys/netinet/sctp_structs.h 227489 2011-11-13 17:06:33Z eadler $");
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

--- 366 unchanged lines hidden (view full) ---

411
412TAILQ_HEAD(sctpchunk_listhead, sctp_tmit_chunk);
413
414/* The lower byte is used to enumerate PR_SCTP policies */
415#define CHUNK_FLAGS_PR_SCTP_TTL SCTP_PR_SCTP_TTL
416#define CHUNK_FLAGS_PR_SCTP_BUF SCTP_PR_SCTP_BUF
417#define CHUNK_FLAGS_PR_SCTP_RTX SCTP_PR_SCTP_RTX
418
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

--- 366 unchanged lines hidden (view full) ---

411
412TAILQ_HEAD(sctpchunk_listhead, sctp_tmit_chunk);
413
414/* The lower byte is used to enumerate PR_SCTP policies */
415#define CHUNK_FLAGS_PR_SCTP_TTL SCTP_PR_SCTP_TTL
416#define CHUNK_FLAGS_PR_SCTP_BUF SCTP_PR_SCTP_BUF
417#define CHUNK_FLAGS_PR_SCTP_RTX SCTP_PR_SCTP_RTX
418
419/* The upper byte is used a a bit mask */
419/* The upper byte is used as a bit mask */
420#define CHUNK_FLAGS_FRAGMENT_OK 0x0100
421
422struct chk_id {
423 uint16_t id;
424 uint16_t can_take_data;
425};
426
427

--- 808 unchanged lines hidden ---
420#define CHUNK_FLAGS_FRAGMENT_OK 0x0100
421
422struct chk_id {
423 uint16_t id;
424 uint16_t can_take_data;
425};
426
427

--- 808 unchanged lines hidden ---