alias_sctp.h (215152) | alias_sctp.h (215153) |
---|---|
1/** 2 * @file alias_sctp.h 3 * Copyright (c) 2008, Centre for Advanced Internet Architectures 4 * Swinburne University of Technology, Melbourne, Australia. 5 * | 1/*- 2 * Copyright (c) 2008 3 * Swinburne University of Technology, Melbourne, Australia. 4 * |
6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 13 * documentation and/or other materials provided with the distribution. | 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. |
14 * 3. The names of the authors, the "Centre for Advanced Internet Architectures" 15 * and "Swinburne University of Technology" may not be used to endorse 16 * or promote products derived from this software without specific 17 * prior written permission. 18 * | 13 * |
19 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS "AS IS" AND 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. | 14 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS "AS IS" AND 15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. |
30 * | 25 */ 26 27/* |
31 * Alias_sctp forms part of the libalias kernel module to handle 32 * Network Address Translation (NAT) for the SCTP protocol. 33 * 34 * This software was developed by David A. Hayes 35 * with leadership and advice from Jason But 36 * 37 * The design is outlined in CAIA technical report number 080618A 38 * (D. Hayes and J. But, "Alias_sctp Version 0.1: SCTP NAT implementation in IPFW") --- 4 unchanged lines hidden (view full) --- 43 * 44 * 45 * This project has been made possible in part by a grant from 46 * the Cisco University Research Program Fund at Community 47 * Foundation Silicon Valley. 48 * 49 */ 50 | 28 * Alias_sctp forms part of the libalias kernel module to handle 29 * Network Address Translation (NAT) for the SCTP protocol. 30 * 31 * This software was developed by David A. Hayes 32 * with leadership and advice from Jason But 33 * 34 * The design is outlined in CAIA technical report number 080618A 35 * (D. Hayes and J. But, "Alias_sctp Version 0.1: SCTP NAT implementation in IPFW") --- 4 unchanged lines hidden (view full) --- 40 * 41 * 42 * This project has been made possible in part by a grant from 43 * the Cisco University Research Program Fund at Community 44 * Foundation Silicon Valley. 45 * 46 */ 47 |
51/* $FreeBSD: head/sys/netinet/libalias/alias_sctp.h 215152 2010-11-12 00:19:42Z lstewart $ */ | 48/* $FreeBSD: head/sys/netinet/libalias/alias_sctp.h 215153 2010-11-12 00:44:18Z lstewart $ */ |
52 53#ifndef _ALIAS_SCTP_H_ 54#define _ALIAS_SCTP_H_ 55 56#include <sys/param.h> 57#ifdef _KERNEL 58#include <sys/malloc.h> 59#include <sys/module.h> --- 140 unchanged lines hidden --- | 49 50#ifndef _ALIAS_SCTP_H_ 51#define _ALIAS_SCTP_H_ 52 53#include <sys/param.h> 54#ifdef _KERNEL 55#include <sys/malloc.h> 56#include <sys/module.h> --- 140 unchanged lines hidden --- |