1187214Srwatson/*-
2187214Srwatson * Copyright (c) 2008 Apple Inc.
3187214Srwatson * All rights reserved.
4187214Srwatson *
5187214Srwatson * Redistribution and use in source and binary forms, with or without
6187214Srwatson * modification, are permitted provided that the following conditions
7187214Srwatson * are met:
8187214Srwatson * 1.  Redistributions of source code must retain the above copyright
9187214Srwatson *     notice, this list of conditions and the following disclaimer.
10187214Srwatson * 2.  Redistributions in binary form must reproduce the above copyright
11187214Srwatson *     notice, this list of conditions and the following disclaimer in the
12187214Srwatson *     documentation and/or other materials provided with the distribution.
13187214Srwatson * 3.  Neither the name of Apple Inc. ("Apple") nor the names of
14187214Srwatson *     its contributors may be used to endorse or promote products derived
15187214Srwatson *     from this software without specific prior written permission.
16187214Srwatson *
17187214Srwatson * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND
18187214Srwatson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19187214Srwatson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20187214Srwatson * ARE DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR
21187214Srwatson * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22187214Srwatson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23187214Srwatson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24187214Srwatson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
25187214Srwatson * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
26187214Srwatson * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27187214Srwatson * POSSIBILITY OF SUCH DAMAGE.
28187214Srwatson *
29187214Srwatson * P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_socket_type.h#1
30187214Srwatson * $FreeBSD$
31187214Srwatson */
32187214Srwatson
33187214Srwatson#ifndef _BSM_AUDIT_SOCKET_TYPE_H_
34187214Srwatson#define	_BSM_AUDIT_SOCKET_TYPE_H_
35187214Srwatson
36187214Srwatson/*
37187214Srwatson * BSM socket type constants.
38187214Srwatson */
39187214Srwatson#define	BSM_SOCK_DGRAM		1
40187214Srwatson#define	BSM_SOCK_STREAM		2
41187214Srwatson#define	BSM_SOCK_RAW		4
42187214Srwatson#define	BSM_SOCK_RDM		5
43187214Srwatson#define	BSM_SOCK_SEQPACKET	6
44187214Srwatson
45187214Srwatson#define	BSM_SOCK_UNKNOWN	500
46187214Srwatson
47187214Srwatson#endif /* !_BSM_AUDIT_SOCKET_TYPE_H_ */
48