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 * $FreeBSD: releng/11.0/sys/bsm/audit_domain.h 292522 2015-12-20 23:22:04Z brueffer $ 30187214Srwatson */ 31187214Srwatson 32187214Srwatson#ifndef _BSM_AUDIT_DOMAIN_H_ 33187214Srwatson#define _BSM_AUDIT_DOMAIN_H_ 34187214Srwatson 35187214Srwatson/* 36187214Srwatson * BSM protocol domain constants - protocol domains defined in Solaris. 37187214Srwatson */ 38187214Srwatson#define BSM_PF_UNSPEC 0 39187214Srwatson#define BSM_PF_LOCAL 1 40187214Srwatson#define BSM_PF_INET 2 41187214Srwatson#define BSM_PF_IMPLINK 3 42187214Srwatson#define BSM_PF_PUP 4 43187214Srwatson#define BSM_PF_CHAOS 5 44187214Srwatson#define BSM_PF_NS 6 45187214Srwatson#define BSM_PF_NBS 7 /* Solaris-specific. */ 46187214Srwatson#define BSM_PF_ECMA 8 47187214Srwatson#define BSM_PF_DATAKIT 9 48187214Srwatson#define BSM_PF_CCITT 10 49187214Srwatson#define BSM_PF_SNA 11 50187214Srwatson#define BSM_PF_DECnet 12 51187214Srwatson#define BSM_PF_DLI 13 52187214Srwatson#define BSM_PF_LAT 14 53187214Srwatson#define BSM_PF_HYLINK 15 54187214Srwatson#define BSM_PF_APPLETALK 16 55187214Srwatson#define BSM_PF_NIT 17 /* Solaris-specific. */ 56187214Srwatson#define BSM_PF_802 18 /* Solaris-specific. */ 57187214Srwatson#define BSM_PF_OSI 19 58187214Srwatson#define BSM_PF_X25 20 /* Solaris/Linux-specific. */ 59187214Srwatson#define BSM_PF_OSINET 21 /* Solaris-specific. */ 60187214Srwatson#define BSM_PF_GOSIP 22 /* Solaris-specific. */ 61187214Srwatson#define BSM_PF_IPX 23 62187214Srwatson#define BSM_PF_ROUTE 24 63187214Srwatson#define BSM_PF_LINK 25 64187214Srwatson#define BSM_PF_INET6 26 65187214Srwatson#define BSM_PF_KEY 27 66187214Srwatson#define BSM_PF_NCA 28 /* Solaris-specific. */ 67187214Srwatson#define BSM_PF_POLICY 29 /* Solaris-specific. */ 68187214Srwatson#define BSM_PF_INET_OFFLOAD 30 /* Solaris-specific. */ 69187214Srwatson 70187214Srwatson/* 71187214Srwatson * BSM protocol domain constants - protocol domains not defined in Solaris. 72187214Srwatson */ 73187214Srwatson#define BSM_PF_NETBIOS 500 /* FreeBSD/Darwin-specific. */ 74187214Srwatson#define BSM_PF_ISO 501 /* FreeBSD/Darwin-specific. */ 75187214Srwatson#define BSM_PF_XTP 502 /* FreeBSD/Darwin-specific. */ 76187214Srwatson#define BSM_PF_COIP 503 /* FreeBSD/Darwin-specific. */ 77187214Srwatson#define BSM_PF_CNT 504 /* FreeBSD/Darwin-specific. */ 78187214Srwatson#define BSM_PF_RTIP 505 /* FreeBSD/Darwin-specific. */ 79187214Srwatson#define BSM_PF_SIP 506 /* FreeBSD/Darwin-specific. */ 80187214Srwatson#define BSM_PF_PIP 507 /* FreeBSD/Darwin-specific. */ 81187214Srwatson#define BSM_PF_ISDN 508 /* FreeBSD/Darwin-specific. */ 82187214Srwatson#define BSM_PF_E164 509 /* FreeBSD/Darwin-specific. */ 83187214Srwatson#define BSM_PF_NATM 510 /* FreeBSD/Darwin-specific. */ 84187214Srwatson#define BSM_PF_ATM 511 /* FreeBSD/Darwin-specific. */ 85187214Srwatson#define BSM_PF_NETGRAPH 512 /* FreeBSD/Darwin-specific. */ 86187214Srwatson#define BSM_PF_SLOW 513 /* FreeBSD-specific. */ 87187214Srwatson#define BSM_PF_SCLUSTER 514 /* FreeBSD-specific. */ 88187214Srwatson#define BSM_PF_ARP 515 /* FreeBSD-specific. */ 89187214Srwatson#define BSM_PF_BLUETOOTH 516 /* FreeBSD-specific. */ 90191273Srwatson /* 517: unallocated. */ 91187214Srwatson#define BSM_PF_AX25 518 /* Linux-specific. */ 92187214Srwatson#define BSM_PF_ROSE 519 /* Linux-specific. */ 93187214Srwatson#define BSM_PF_NETBEUI 520 /* Linux-specific. */ 94187214Srwatson#define BSM_PF_SECURITY 521 /* Linux-specific. */ 95187214Srwatson#define BSM_PF_PACKET 522 /* Linux-specific. */ 96187214Srwatson#define BSM_PF_ASH 523 /* Linux-specific. */ 97187214Srwatson#define BSM_PF_ECONET 524 /* Linux-specific. */ 98187214Srwatson#define BSM_PF_ATMSVC 525 /* Linux-specific. */ 99187214Srwatson#define BSM_PF_IRDA 526 /* Linux-specific. */ 100187214Srwatson#define BSM_PF_PPPOX 527 /* Linux-specific. */ 101187214Srwatson#define BSM_PF_WANPIPE 528 /* Linux-specific. */ 102187214Srwatson#define BSM_PF_LLC 529 /* Linux-specific. */ 103187214Srwatson#define BSM_PF_CAN 530 /* Linux-specific. */ 104187214Srwatson#define BSM_PF_TIPC 531 /* Linux-specific. */ 105187214Srwatson#define BSM_PF_IUCV 532 /* Linux-specific. */ 106187214Srwatson#define BSM_PF_RXRPC 533 /* Linux-specific. */ 107187214Srwatson#define BSM_PF_PHONET 534 /* Linux-specific. */ 108187214Srwatson 109187214Srwatson/* 110187214Srwatson * Used when there is no mapping from a local to BSM protocol domain. 111187214Srwatson */ 112187214Srwatson#define BSM_PF_UNKNOWN 700 /* OpenBSM-specific. */ 113187214Srwatson 114187214Srwatson#endif /* !_BSM_AUDIT_DOMAIN_H_ */ 115