1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
|
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#
# WARNING: This file is machine generated by fidlgen.
include <fuchsia/net/stack/c/fidl.h>
fuchsia_net_stack_InterfaceAddressInLine {
ip_addressInLine fuchsia_net_IpAddressInLine
prefix_len int8
} [packed]
fuchsia_net_stack_InterfaceAddressOutOfLine {
void void
} [packed]
fuchsia_net_stack_InterfaceAddressHandles {
void void
} [packed]
fuchsia_net_stack_InterfaceInfoHandles {
properties fuchsia_net_stack_InterfacePropertiesHandles
} [packed]
fuchsia_net_stack_InterfacePropertiesHandles {
mac fuchsia_hardware_ethernet_MacAddressHandles
addresses array[fuchsia_net_stack_InterfaceAddressHandles]
} [packed]
fuchsia_net_stack_ForwardingEntryInLine {
subnetInLine fuchsia_net_SubnetInLine
destinationInLine fuchsia_net_stack_ForwardingDestinationInLine
} [packed]
fuchsia_net_stack_ForwardingEntryOutOfLine {
subnetOutOfLine fuchsia_net_SubnetOutOfLine
} [packed]
fuchsia_net_stack_ForwardingEntryHandles {
subnet fuchsia_net_SubnetHandles
} [packed]
fuchsia_net_stack_InterfaceStatusChangeHandles {
void void
} [packed]
fuchsia_net_stack_InterfaceAddressChangeHandles {
void void
} [packed]
fuchsia_net_stack_ErrorHandles {
void void
} [packed]
fuchsia_net_stack_ForwardingDestinationInLine [
device_id fidl_union_member[fuchsia_net_stack_ForwardingDestinationTag_deviceId, int64]
next_hopInLine fidl_union_member[fuchsia_net_stack_ForwardingDestinationTag_nextHop, fuchsia_net_IpAddressInLine]
]
fuchsia_net_stack_StackAddEthernetInterfaceRequest {
hdr fidl_message_header[523329667]
topological_pathInLine fidl_string
device flags[fidl_handle_presence, int32]
topological_pathOutOfLine fidl_aligned[stringnoz]
} [packed]
fuchsia_net_stack_StackAddEthernetInterfaceRequestHandles {
device zx_chan_fuchsia_hardware_ethernet_Device_client
} [packed]
fuchsia_net_stack_StackAddEthernetInterfaceResponseHandles {
err fuchsia_net_stack_ErrorHandles
} [packed]
fuchsia_net_stack_StackDelEthernetInterfaceRequest {
hdr fidl_message_header[164294732]
id int64
} [packed]
fuchsia_net_stack_StackDelEthernetInterfaceRequestHandles {
void void
} [packed]
fuchsia_net_stack_StackDelEthernetInterfaceResponseHandles {
err fuchsia_net_stack_ErrorHandles
} [packed]
fuchsia_net_stack_StackListInterfacesRequest {
hdr fidl_message_header[1110617141]
} [packed]
fuchsia_net_stack_StackListInterfacesRequestHandles {
void void
} [packed]
fuchsia_net_stack_StackListInterfacesResponseHandles {
ifs array[fuchsia_net_stack_InterfaceInfoHandles]
} [packed]
fuchsia_net_stack_StackGetInterfaceInfoRequest {
hdr fidl_message_header[1475819982]
id int64
} [packed]
fuchsia_net_stack_StackGetInterfaceInfoRequestHandles {
void void
} [packed]
fuchsia_net_stack_StackGetInterfaceInfoResponseHandles {
info fuchsia_net_stack_InterfaceInfoHandles
err fuchsia_net_stack_ErrorHandles
} [packed]
fuchsia_net_stack_StackEnableInterfaceRequest {
hdr fidl_message_header[338651837]
id int64
} [packed]
fuchsia_net_stack_StackEnableInterfaceRequestHandles {
void void
} [packed]
fuchsia_net_stack_StackEnableInterfaceResponseHandles {
err fuchsia_net_stack_ErrorHandles
} [packed]
fuchsia_net_stack_StackDisableInterfaceRequest {
hdr fidl_message_header[420106991]
id int64
} [packed]
fuchsia_net_stack_StackDisableInterfaceRequestHandles {
void void
} [packed]
fuchsia_net_stack_StackDisableInterfaceResponseHandles {
err fuchsia_net_stack_ErrorHandles
} [packed]
fuchsia_net_stack_StackAddInterfaceAddressRequest {
hdr fidl_message_header[503331302]
id int64
addrInLine fuchsia_net_stack_InterfaceAddressInLine
addrOutOfLine fuchsia_net_stack_InterfaceAddressOutOfLine
} [packed]
fuchsia_net_stack_StackAddInterfaceAddressRequestHandles {
addr fuchsia_net_stack_InterfaceAddressHandles
} [packed]
fuchsia_net_stack_StackAddInterfaceAddressResponseHandles {
err fuchsia_net_stack_ErrorHandles
} [packed]
fuchsia_net_stack_StackDelInterfaceAddressRequest {
hdr fidl_message_header[1221457197]
id int64
addrInLine fuchsia_net_IpAddressInLine
} [packed]
fuchsia_net_stack_StackDelInterfaceAddressRequestHandles {
void void
} [packed]
fuchsia_net_stack_StackDelInterfaceAddressResponseHandles {
err fuchsia_net_stack_ErrorHandles
} [packed]
fuchsia_net_stack_StackGetForwardingTableRequest {
hdr fidl_message_header[1689435905]
} [packed]
fuchsia_net_stack_StackGetForwardingTableRequestHandles {
void void
} [packed]
fuchsia_net_stack_StackGetForwardingTableResponseHandles {
table array[fuchsia_net_stack_ForwardingEntryHandles]
} [packed]
fuchsia_net_stack_StackAddForwardingEntryRequest {
hdr fidl_message_header[707225626]
entryInLine fuchsia_net_stack_ForwardingEntryInLine
entryOutOfLine fuchsia_net_stack_ForwardingEntryOutOfLine
} [packed]
fuchsia_net_stack_StackAddForwardingEntryRequestHandles {
entry fuchsia_net_stack_ForwardingEntryHandles
} [packed]
fuchsia_net_stack_StackAddForwardingEntryResponseHandles {
err fuchsia_net_stack_ErrorHandles
} [packed]
fuchsia_net_stack_StackDelForwardingEntryRequest {
hdr fidl_message_header[456510177]
subnetInLine fuchsia_net_SubnetInLine
subnetOutOfLine fuchsia_net_SubnetOutOfLine
} [packed]
fuchsia_net_stack_StackDelForwardingEntryRequestHandles {
subnet fuchsia_net_SubnetHandles
} [packed]
fuchsia_net_stack_StackDelForwardingEntryResponseHandles {
err fuchsia_net_stack_ErrorHandles
} [packed]
fuchsia_net_stack_StackOnInterfaceStatusChangeEventHandles {
info fuchsia_net_stack_InterfaceStatusChangeHandles
} [packed]
fuchsia_net_stack_StackOnInterfaceAddressChangeEventHandles {
info fuchsia_net_stack_InterfaceAddressChangeHandles
} [packed]
resource zx_chan_fuchsia_net_stack_Stack_client[zx_chan]
resource zx_chan_fuchsia_net_stack_Stack_server[zx_chan]
zx_channel_create$fuchsia_net_stack_Stack(options const[0], out0 ptr[out, zx_chan_fuchsia_net_stack_Stack_client], out1 ptr[out, zx_chan_fuchsia_net_stack_Stack_server])
fdio_service_connect$fuchsia_net_stack_Stack(path ptr[in, string["/svc/fuchsia.net.stack.Stack"]], handle zx_chan_fuchsia_net_stack_Stack_server)
zx_channel_call$fuchsia_net_stack_StackAddEthernetInterface(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackAddEthernetInterfaceRequest, fuchsia_net_stack_StackAddEthernetInterfaceRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackAddEthernetInterfaceResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackDelEthernetInterface(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackDelEthernetInterfaceRequest, fuchsia_net_stack_StackDelEthernetInterfaceRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackDelEthernetInterfaceResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackListInterfaces(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackListInterfacesRequest, fuchsia_net_stack_StackListInterfacesRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackListInterfacesResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackGetInterfaceInfo(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackGetInterfaceInfoRequest, fuchsia_net_stack_StackGetInterfaceInfoRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackGetInterfaceInfoResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackEnableInterface(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackEnableInterfaceRequest, fuchsia_net_stack_StackEnableInterfaceRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackEnableInterfaceResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackDisableInterface(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackDisableInterfaceRequest, fuchsia_net_stack_StackDisableInterfaceRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackDisableInterfaceResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackAddInterfaceAddress(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackAddInterfaceAddressRequest, fuchsia_net_stack_StackAddInterfaceAddressRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackAddInterfaceAddressResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackDelInterfaceAddress(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackDelInterfaceAddressRequest, fuchsia_net_stack_StackDelInterfaceAddressRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackDelInterfaceAddressResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackGetForwardingTable(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackGetForwardingTableRequest, fuchsia_net_stack_StackGetForwardingTableRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackGetForwardingTableResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackAddForwardingEntry(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackAddForwardingEntryRequest, fuchsia_net_stack_StackAddForwardingEntryRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackAddForwardingEntryResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_net_stack_StackDelForwardingEntry(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_net_stack_StackDelForwardingEntryRequest, fuchsia_net_stack_StackDelForwardingEntryRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_net_stack_StackDelForwardingEntryResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_read$fuchsia_net_stack_StackOnInterfaceStatusChange(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], bytes ptr[out, array[int8, ZX_CHANNEL_MAX_MSG_BYTES]], num_bytes bytesize[bytes], handles ptr[out, fuchsia_net_stack_StackOnInterfaceStatusChangeEventHandles], num_handles bytesize[handles], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_read$fuchsia_net_stack_StackOnInterfaceAddressChange(handle zx_chan_fuchsia_net_stack_Stack_client, options const[0], bytes ptr[out, array[int8, ZX_CHANNEL_MAX_MSG_BYTES]], num_bytes bytesize[bytes], handles ptr[out, fuchsia_net_stack_StackOnInterfaceAddressChangeEventHandles], num_handles bytesize[handles], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
|