1/*- 2 * Copyright (c) 2006-2007, 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. --- 14 unchanged lines hidden (view full) --- 23 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 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#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/netinet/sctp_os.h 167598 2007-03-15 11:27:14Z rrs $"); |
32#ifndef __sctp_os_h__ 33#define __sctp_os_h__ 34 35/* 36 * General kernel memory allocation: 37 * SCTP_MALLOC(element, type, size, name) 38 * SCTP_FREE(element) 39 * Kernel memory allocation for "soname"- memory must be zeroed. --- 17 unchanged lines hidden (view full) --- 57 */ 58 59#include <netinet/sctp_os_bsd.h> 60 61 62 63 64 |
65/* All os's must implement this address gatherer. If 66 * no VRF's exist, then vrf 0 is the only one and all 67 * addresses and ifn's live here. 68 */ 69#define SCTP_DEFAULT_VRF 0 70void sctp_init_vrf_list(int vrfid); 71 |
72#endif |