audit_socket_type.h revision 187063
1187063Srwatson/*- 2187063Srwatson * Copyright (c) 2008 Apple Inc. 3187063Srwatson * All rights reserved. 4187063Srwatson * 5187063Srwatson * Redistribution and use in source and binary forms, with or without 6187063Srwatson * modification, are permitted provided that the following conditions 7187063Srwatson * are met: 8187063Srwatson * 1. Redistributions of source code must retain the above copyright 9187063Srwatson * notice, this list of conditions and the following disclaimer. 10187063Srwatson * 2. Redistributions in binary form must reproduce the above copyright 11187063Srwatson * notice, this list of conditions and the following disclaimer in the 12187063Srwatson * documentation and/or other materials provided with the distribution. 13187063Srwatson * 3. Neither the name of Apple Inc. ("Apple") nor the names of 14187063Srwatson * its contributors may be used to endorse or promote products derived 15187063Srwatson * from this software without specific prior written permission. 16187063Srwatson * 17187063Srwatson * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND 18187063Srwatson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19187063Srwatson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20187063Srwatson * ARE DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR 21187063Srwatson * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22187063Srwatson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23187063Srwatson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24187063Srwatson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 25187063Srwatson * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 26187063Srwatson * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27187063Srwatson * POSSIBILITY OF SUCH DAMAGE. 28187063Srwatson * 29187063Srwatson * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_socket_type.h#1 $ 30187063Srwatson */ 31187063Srwatson 32187063Srwatson#ifndef _BSM_AUDIT_SOCKET_TYPE_H_ 33187063Srwatson#define _BSM_AUDIT_SOCKET_TYPE_H_ 34187063Srwatson 35187063Srwatson/* 36187063Srwatson * BSM socket type constants. 37187063Srwatson */ 38187063Srwatson#define BSM_SOCK_DGRAM 1 39187063Srwatson#define BSM_SOCK_STREAM 2 40187063Srwatson#define BSM_SOCK_RAW 4 41187063Srwatson#define BSM_SOCK_RDM 5 42187063Srwatson#define BSM_SOCK_SEQPACKET 6 43187063Srwatson 44187063Srwatson#define BSM_SOCK_UNKNOWN 500 45187063Srwatson 46187063Srwatson#endif /* !_BSM_AUDIT_SOCKET_TYPE_H_ */ 47