1230192Sdas/*-
2230192Sdas * Copyright (c) 2008 Apple Inc.
3230192Sdas * All rights reserved.
4230192Sdas *
5230192Sdas * Redistribution and use in source and binary forms, with or without
6230192Sdas * modification, are permitted provided that the following conditions
7230192Sdas * are met:
8230192Sdas * 1.  Redistributions of source code must retain the above copyright
9230192Sdas *     notice, this list of conditions and the following disclaimer.
10230192Sdas * 2.  Redistributions in binary form must reproduce the above copyright
11230192Sdas *     notice, this list of conditions and the following disclaimer in the
12230192Sdas *     documentation and/or other materials provided with the distribution.
13230192Sdas * 3.  Neither the name of Apple Inc. ("Apple") nor the names of
14230192Sdas *     its contributors may be used to endorse or promote products derived
15230192Sdas *     from this software without specific prior written permission.
16230192Sdas *
17230192Sdas * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND
18230192Sdas * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19230192Sdas * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20230192Sdas * ARE DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR
21230192Sdas * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22230192Sdas * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23230192Sdas * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24230192Sdas * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
25230192Sdas * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
26230192Sdas * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27230192Sdas * POSSIBILITY OF SUCH DAMAGE.
28230192Sdas *
29230192Sdas * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_socket_type.h#1 $
30230192Sdas */
31230192Sdas
32230192Sdas#ifndef _BSM_AUDIT_SOCKET_TYPE_H_
33230192Sdas#define	_BSM_AUDIT_SOCKET_TYPE_H_
34230192Sdas
35230192Sdas/*
36230192Sdas * BSM socket type constants.
37230192Sdas */
38230192Sdas#define	BSM_SOCK_DGRAM		1
39230192Sdas#define	BSM_SOCK_STREAM		2
40230192Sdas#define	BSM_SOCK_RAW		4
41230192Sdas#define	BSM_SOCK_RDM		5
42230192Sdas#define	BSM_SOCK_SEQPACKET	6
43230192Sdas
44230192Sdas#define	BSM_SOCK_UNKNOWN	500
45230192Sdas
46230192Sdas#endif /* !_BSM_AUDIT_SOCKET_TYPE_H_ */
47230192Sdas