Imported Upstream version 2.4.3
[platform/upstream/audit.git] / auparse / sockoptnametab.h
1 /* sockoptnametab.h --
2  * Copyright 2013-15 Red Hat Inc., Durham, North Carolina.
3  * All Rights Reserved.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  *
19  * Authors:
20  *      Steve Grubb <sgrubb@redhat.com>
21  * File: include/uapi/asm-generic/socket.h
22  */
23
24
25 _S(1, "SO_DEBUG")
26 _S(2, "SO_REUSEADDR")
27 _S(3, "SO_TYPE")
28 _S(4, "SO_ERROR")
29 _S(5, "SO_DONTROUTE")
30 _S(6, "SO_BROADCAST")
31 _S(7, "SO_SNDBUF")
32 _S(8, "SO_RCVBUF")
33 _S(9, "SO_KEEPALIVE")
34 _S(10, "SO_OOBINLINE")
35 _S(11, "SO_NO_CHECK")
36 _S(12, "SO_PRIORITY")
37 _S(13, "SO_LINGER")
38 _S(14, "SO_BSDCOMPAT")
39 _S(15, "SO_REUSEPORT")
40 _S(16, "SO_PASSCRED")
41 _S(17, "SO_PEERCRED")
42 _S(18, "SO_RCVLOWAT")
43 _S(19, "SO_SNDLOWAT")
44 _S(20, "SO_RCVTIMEO")
45 _S(21, "SO_SNDTIMEO")
46 _S(22, "SO_SECURITY_AUTHENTICATION")
47 _S(23, "SO_SECURITY_ENCRYPTION_TRANSPORT")
48 _S(24, "SO_SECURITY_ENCRYPTION_NETWORK")
49 _S(25, "SO_BINDTODEVICE")
50 _S(26, "SO_ATTACH_FILTER")
51 _S(27, "SO_DETACH_FILTER")
52 _S(28, "SO_PEERNAME")
53 _S(29, "SO_TIMESTAMP")
54 _S(30, "SO_ACCEPTCONN")
55 _S(31, "SO_PEERSEC")
56 _S(32, "SO_SNDBUFFORCE")
57 _S(33, "SO_RCVBUFFORCE")
58 _S(34, "SO_PASSSEC")
59 _S(35, "SO_TIMESTAMPNS")
60 _S(36, "SO_MARK")
61 _S(37, "SO_TIMESTAMPING")
62 _S(38, "SO_PROTOCOL")
63 _S(39, "SO_DOMAIN")
64 _S(40, "SO_RXQ_OVFL")
65 _S(41, "SO_WIFI_STATUS")
66 _S(42, "SO_PEEK_OFF")
67 _S(43, "SO_NOFCS")
68 _S(44, "SO_LOCK_FILTER")
69 _S(45, "SO_SELECT_ERR_QUEUE")
70 _S(46, "SO_BUSY_POLL")
71 _S(47, "SO_MAX_PACING_RATE")
72 _S(48, "SO_BPF_EXTENSIONS")
73 _S(49, "SO_INCOMING_CPU")
74 _S(50, "SO_ATTACH_BPF")
75
76 // PPC has these different
77 _S(116, "SO_RCVLOWAT")
78 _S(117, "SO_SNDLOWAT")
79 _S(118, "SO_RCVTIMEO")
80 _S(119, "SO_SNDTIMEO")
81 _S(120, "SO_PASSCRED")
82 _S(121, "SO_PEERCRED")
83
84