]> git.saurik.com Git - apple/xnu.git/blame - tests/ioc_str.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / tests / ioc_str.h
CommitLineData
eb6b6ca3
A
1/*
2 * Copyright (c) 2020 Apple Inc. All rights reserved.
3 *
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the License
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
14 *
15 * Please obtain a copy of the License at
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
17 *
18 * The Original Code and all software distributed under the License are
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23 * Please see the License for the specific language governing rights and
24 * limitations under the License.
25 *
26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
27 */
28
29#ifndef ioc_str_h
30#define ioc_str_h
31
32#include <sys/socket.h>
33#include <sys/kern_event.h>
34#include <sys/sockio.h>
35
36#include <net/if.h>
37
38#include <netinet/in.h>
39
40#include <netinet6/in6_var.h>
41#include <netinet6/nd6.h>
42
43#define SIOC_LIST \
44 X(SIOCSIFADDR_IN6) \
45 X(SIOCGIFADDR_IN6) \
46 X(SIOCSIFDSTADDR_IN6) \
47 X(SIOCSIFNETMASK_IN6) \
48 X(SIOCGIFDSTADDR_IN6) \
49 X(SIOCGIFNETMASK_IN6) \
50 X(SIOCDIFADDR_IN6) \
51 X(SIOCAIFADDR_IN6) \
52 X(SIOCSIFPHYADDR_IN6) \
53 X(SIOCGIFPSRCADDR_IN6) \
54 X(SIOCGIFPDSTADDR_IN6) \
55 X(SIOCGIFAFLAG_IN6) \
56 X(SIOCGDRLST_IN6) \
57 X(SIOCGPRLST_IN6) \
58 X(SIOCGIFINFO_IN6) \
59 X(SIOCSNDFLUSH_IN6) \
60 X(SIOCGNBRINFO_IN6) \
61 X(SIOCSPFXFLUSH_IN6) \
62 X(SIOCSRTRFLUSH_IN6) \
63 X(SIOCGIFALIFETIME_IN6) \
64 X(SIOCSIFALIFETIME_IN6) \
65 X(SIOCGIFSTAT_IN6) \
66 X(SIOCGIFSTAT_ICMP6) \
67 X(SIOCSDEFIFACE_IN6) \
68 X(SIOCGDEFIFACE_IN6) \
69 X(SIOCSIFINFO_FLAGS) \
70 X(SIOCSSCOPE6) \
71 X(SIOCGSCOPE6) \
72 X(SIOCGSCOPE6DEF) \
73 X(SIOCSIFPREFIX_IN6) \
74 X(SIOCGIFPREFIX_IN6) \
75 X(SIOCDIFPREFIX_IN6) \
76 X(SIOCAIFPREFIX_IN6) \
77 X(SIOCCIFPREFIX_IN6) \
78 X(SIOCSGIFPREFIX_IN6) \
79 X(SIOCAADDRCTL_POLICY) \
80 X(SIOCDADDRCTL_POLICY) \
81 X(SIOCSHIWAT) \
82 X(SIOCGHIWAT) \
83 X(SIOCSLOWAT) \
84 X(SIOCGLOWAT) \
85 X(SIOCATMARK) \
86 X(SIOCSPGRP) \
87 X(SIOCGPGRP) \
88 X(SIOCSIFADDR) \
89 X(SIOCSIFDSTADDR) \
90 X(SIOCSIFFLAGS) \
91 X(SIOCGIFFLAGS) \
92 X(SIOCSIFBRDADDR) \
93 X(SIOCSIFNETMASK) \
94 X(SIOCGIFMETRIC) \
95 X(SIOCSIFMETRIC) \
96 X(SIOCDIFADDR) \
97 X(SIOCAIFADDR) \
98 X(SIOCGIFADDR) \
99 X(SIOCGIFDSTADDR) \
100 X(SIOCGIFBRDADDR) \
101 X(SIOCGIFCONF) \
102 X(SIOCGIFNETMASK) \
103 X(SIOCAUTOADDR) \
104 X(SIOCAUTONETMASK) \
105 X(SIOCARPIPLL) \
106 X(SIOCADDMULTI) \
107 X(SIOCDELMULTI) \
108 X(SIOCGIFMTU) \
109 X(SIOCSIFMTU) \
110 X(SIOCGIFPHYS) \
111 X(SIOCSIFPHYS) \
112 X(SIOCSIFMEDIA) \
113 X(SIOCGIFMEDIA) \
114 X(SIOCSIFGENERIC) \
115 X(SIOCGIFGENERIC) \
116 X(SIOCRSLVMULTI) \
117 X(SIOCSIFLLADDR) \
118 X(SIOCGIFSTATUS) \
119 X(SIOCSIFPHYADDR) \
120 X(SIOCGIFPSRCADDR) \
121 X(SIOCGIFPDSTADDR) \
122 X(SIOCDIFPHYADDR) \
123 X(SIOCGIFDEVMTU) \
124 X(SIOCSIFALTMTU) \
125 X(SIOCGIFALTMTU) \
126 X(SIOCSIFBOND) \
127 X(SIOCGIFBOND) \
128 X(SIOCGIFXMEDIA) \
129 X(SIOCSIFCAP) \
130 X(SIOCGIFCAP) \
131 X(SIOCIFCREATE) \
132 X(SIOCIFDESTROY) \
133 X(SIOCIFCREATE2) \
134 X(SIOCSDRVSPEC) \
135 X(SIOCGDRVSPEC) \
136 X(SIOCSIFVLAN) \
137 X(SIOCGIFVLAN) \
138 X(SIOCIFGCLONERS) \
139 X(SIOCGIFASYNCMAP) \
140 X(SIOCSIFASYNCMAP) \
141 X(SIOCGIFMAC) \
142 X(SIOCSIFMAC) \
143 X(SIOCSIFKPI) \
144 X(SIOCGIFKPI) \
145 X(SIOCGIFWAKEFLAGS) \
146 X(SIOCGIFFUNCTIONALTYPE) \
147 X(SIOCSIF6LOWPAN) \
148 X(SIOCGIF6LOWPAN) \
149 X(SIOCGKEVID) \
150 X(SIOCSKEVFILT) \
151 X(SIOCGKEVFILT) \
152 X(SIOCGKEVVENDOR)
153
154#endif /* ioc_str_h */