[regen] Set --available to HEAD when invoking fidlc This argument used to default to fuchsia:HEAD, but was made mandatory in Ib2d2552527b5080311faaddc93bfd0bbf292d643. Changes in output exacerbated an issue in the API checks, which didn't properly output type aliases. The change in src/cmd/api/main_test.go fixes this. Regenerate FIDL, syscalls, and API: fx exec ./regen-fidl && fx exec ./regen-syscalls && fx exec ./regen-api Fixed: b/316425928 Change-Id: I2eb0c785d9e1a65de34694761827d1fe74360dda Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/967852 Reviewed-by: Peter Johnston <peterjohnston@google.com> Commit-Queue: Devon H. O'Dell <dhobsd@google.com>
diff --git a/api/fuchsia.txt b/api/fuchsia.txt index 6fffffc..b1d4afc 100644 --- a/api/fuchsia.txt +++ b/api/fuchsia.txt
@@ -723,10 +723,14 @@ pkg syscall/zx/diagnostics, const DataTypeInspect DataType pkg syscall/zx/diagnostics, const DataTypeLogs = 3 pkg syscall/zx/diagnostics, const DataTypeLogs DataType +pkg syscall/zx/diagnostics, const FormatCbor = 3 +pkg syscall/zx/diagnostics, const FormatCbor Format pkg syscall/zx/diagnostics, const FormatJson = 1 pkg syscall/zx/diagnostics, const FormatJson Format pkg syscall/zx/diagnostics, const FormatText = 2 pkg syscall/zx/diagnostics, const FormatText Format +pkg syscall/zx/diagnostics, const FormattedContentCbor = 3 +pkg syscall/zx/diagnostics, const FormattedContentCbor ideal-int pkg syscall/zx/diagnostics, const FormattedContentJson = 1 pkg syscall/zx/diagnostics, const FormattedContentJson ideal-int pkg syscall/zx/diagnostics, const FormattedContentText = 2 @@ -737,6 +741,8 @@ pkg syscall/zx/diagnostics, const LogSettingsName ideal-string pkg syscall/zx/diagnostics, const LogSettingsRegisterInterestOrdinal = 332558376842655227 pkg syscall/zx/diagnostics, const LogSettingsRegisterInterestOrdinal uint64 +pkg syscall/zx/diagnostics, const LogSettingsSetInterestOrdinal = 8196215806791589776 +pkg syscall/zx/diagnostics, const LogSettingsSetInterestOrdinal uint64 pkg syscall/zx/diagnostics, const MaxDataHierarchyDepth = 100 pkg syscall/zx/diagnostics, const MaxDataHierarchyDepth uint16 pkg syscall/zx/diagnostics, const MaxLogSelectors = 64 @@ -791,6 +797,7 @@ pkg syscall/zx/diagnostics, func BatchIteratorGetNextResultWithResponse(BatchIteratorGetNextResponse) BatchIteratorGetNextResult pkg syscall/zx/diagnostics, func ClientSelectorConfigurationWithSelectAll(bool) ClientSelectorConfiguration pkg syscall/zx/diagnostics, func ClientSelectorConfigurationWithSelectors([]SelectorArgument) ClientSelectorConfiguration +pkg syscall/zx/diagnostics, func FormattedContentWithCbor(zx.VMO) FormattedContent pkg syscall/zx/diagnostics, func FormattedContentWithJson(mem.Buffer) FormattedContent pkg syscall/zx/diagnostics, func FormattedContentWithText(mem.Buffer) FormattedContent pkg syscall/zx/diagnostics, func NewArchiveAccessorWithCtxInterfaceRequest() (ArchiveAccessorWithCtxInterfaceRequest, *ArchiveAccessorWithCtxInterface, error) @@ -803,6 +810,7 @@ pkg syscall/zx/diagnostics, func TreeSelectorWithPropertySelector(PropertySelector) TreeSelector pkg syscall/zx/diagnostics, func TreeSelectorWithSubtreeSelector(SubtreeSelector) TreeSelector pkg syscall/zx/diagnostics, method (*ArchiveAccessorEventProxy) Handle() *zx.Handle +pkg syscall/zx/diagnostics, method (*ArchiveAccessorStreamDiagnosticsRequest) Marshaler() fidl.Marshaler pkg syscall/zx/diagnostics, method (*ArchiveAccessorWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/diagnostics, method (*ArchiveAccessorWithCtxInterface) StreamDiagnostics(context.Context, StreamParameters, BatchIteratorWithCtxInterfaceRequest) error pkg syscall/zx/diagnostics, method (*ArchiveAccessorWithCtxInterfaceRequest) Handle() *zx.Handle @@ -835,6 +843,7 @@ pkg syscall/zx/diagnostics, method (*FormattedContent) GetUnknownData() fidl.UnknownData pkg syscall/zx/diagnostics, method (*FormattedContent) Marshaler() fidl.Marshaler pkg syscall/zx/diagnostics, method (*FormattedContent) Ordinal() uint64 +pkg syscall/zx/diagnostics, method (*FormattedContent) SetCbor(zx.VMO) pkg syscall/zx/diagnostics, method (*FormattedContent) SetJson(mem.Buffer) pkg syscall/zx/diagnostics, method (*FormattedContent) SetText(mem.Buffer) pkg syscall/zx/diagnostics, method (*FormattedContent) Which() I_formattedContentTag @@ -848,8 +857,11 @@ pkg syscall/zx/diagnostics, method (*Interest) SetMinSeverity(Severity) pkg syscall/zx/diagnostics, method (*LogInterestSelector) Marshaler() fidl.Marshaler pkg syscall/zx/diagnostics, method (*LogSettingsEventProxy) Handle() *zx.Handle +pkg syscall/zx/diagnostics, method (*LogSettingsRegisterInterestRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/diagnostics, method (*LogSettingsSetInterestRequest) Marshaler() fidl.Marshaler pkg syscall/zx/diagnostics, method (*LogSettingsWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/diagnostics, method (*LogSettingsWithCtxInterface) RegisterInterest(context.Context, []LogInterestSelector) error +pkg syscall/zx/diagnostics, method (*LogSettingsWithCtxInterface) SetInterest(context.Context, []LogInterestSelector) error pkg syscall/zx/diagnostics, method (*LogSettingsWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/diagnostics, method (*LogSettingsWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) pkg syscall/zx/diagnostics, method (*PerformanceConfiguration) ClearBatchRetrievalTimeoutSeconds() @@ -957,6 +969,9 @@ pkg syscall/zx/diagnostics, method (StreamMode) String() string pkg syscall/zx/diagnostics, type ArchiveAccessorEventProxy struct pkg syscall/zx/diagnostics, type ArchiveAccessorEventProxy struct, embedded zx.Channel +pkg syscall/zx/diagnostics, type ArchiveAccessorStreamDiagnosticsRequest struct +pkg syscall/zx/diagnostics, type ArchiveAccessorStreamDiagnosticsRequest struct, ResultStream BatchIteratorWithCtxInterfaceRequest +pkg syscall/zx/diagnostics, type ArchiveAccessorStreamDiagnosticsRequest struct, StreamParameters StreamParameters pkg syscall/zx/diagnostics, type ArchiveAccessorWithCtx interface { StreamDiagnostics } pkg syscall/zx/diagnostics, type ArchiveAccessorWithCtx interface, StreamDiagnostics(context.Context, StreamParameters, BatchIteratorWithCtxInterfaceRequest) error pkg syscall/zx/diagnostics, type ArchiveAccessorWithCtxInterface struct @@ -995,6 +1010,7 @@ pkg syscall/zx/diagnostics, type DataType uint8 pkg syscall/zx/diagnostics, type Format uint32 pkg syscall/zx/diagnostics, type FormattedContent struct +pkg syscall/zx/diagnostics, type FormattedContent struct, Cbor zx.VMO pkg syscall/zx/diagnostics, type FormattedContent struct, I_unknownData interface{} pkg syscall/zx/diagnostics, type FormattedContent struct, Json mem.Buffer pkg syscall/zx/diagnostics, type FormattedContent struct, Text mem.Buffer @@ -1014,8 +1030,13 @@ pkg syscall/zx/diagnostics, type LogInterestSelector struct, Selector ComponentSelector pkg syscall/zx/diagnostics, type LogSettingsEventProxy struct pkg syscall/zx/diagnostics, type LogSettingsEventProxy struct, embedded zx.Channel -pkg syscall/zx/diagnostics, type LogSettingsWithCtx interface { RegisterInterest } +pkg syscall/zx/diagnostics, type LogSettingsRegisterInterestRequest struct +pkg syscall/zx/diagnostics, type LogSettingsRegisterInterestRequest struct, Selectors []LogInterestSelector +pkg syscall/zx/diagnostics, type LogSettingsSetInterestRequest struct +pkg syscall/zx/diagnostics, type LogSettingsSetInterestRequest struct, Selectors []LogInterestSelector +pkg syscall/zx/diagnostics, type LogSettingsWithCtx interface { RegisterInterest, SetInterest } pkg syscall/zx/diagnostics, type LogSettingsWithCtx interface, RegisterInterest(context.Context, []LogInterestSelector) error +pkg syscall/zx/diagnostics, type LogSettingsWithCtx interface, SetInterest(context.Context, []LogInterestSelector) error pkg syscall/zx/diagnostics, type LogSettingsWithCtxInterface struct pkg syscall/zx/diagnostics, type LogSettingsWithCtxInterface struct, embedded zx.Channel pkg syscall/zx/diagnostics, type LogSettingsWithCtxInterfaceRequest struct @@ -1395,8 +1416,8 @@ pkg syscall/zx/hardware/network, const MaxFrameTypes uint32 pkg syscall/zx/hardware/network, const MaxPorts = 32 pkg syscall/zx/hardware/network, const MaxPorts uint8 -pkg syscall/zx/hardware/network, const MaxSessionName = 64 -pkg syscall/zx/hardware/network, const MaxSessionName uint32 +pkg syscall/zx/hardware/network, const MaxSessionName_ = 64 +pkg syscall/zx/hardware/network, const MaxSessionName_ uint32 pkg syscall/zx/hardware/network, const MaxStatusBuffer = 50 pkg syscall/zx/hardware/network, const MaxStatusBuffer uint32 pkg syscall/zx/hardware/network, const PortCloneOrdinal = 5640587099851277011 @@ -1621,7 +1642,11 @@ pkg syscall/zx/hardware/network, method (*DeviceBaseInfo) SetRxDepth(uint16) pkg syscall/zx/hardware/network, method (*DeviceBaseInfo) SetTxAccel([]TxAcceleration) pkg syscall/zx/hardware/network, method (*DeviceBaseInfo) SetTxDepth(uint16) +pkg syscall/zx/hardware/network, method (*DeviceCloneRequest) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*DeviceEventProxy) Handle() *zx.Handle +pkg syscall/zx/hardware/network, method (*DeviceGetInfoResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*DeviceGetPortRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*DeviceGetPortWatcherRequest) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*DeviceInfo) ClearBaseInfo() pkg syscall/zx/hardware/network, method (*DeviceInfo) ClearDescriptorVersion() pkg syscall/zx/hardware/network, method (*DeviceInfo) ClearMinDescriptorLength() @@ -1641,10 +1666,12 @@ pkg syscall/zx/hardware/network, method (*DeviceInfo) SetDescriptorVersion(uint8) pkg syscall/zx/hardware/network, method (*DeviceInfo) SetMinDescriptorLength(uint8) pkg syscall/zx/hardware/network, method (*DeviceInstanceEventProxy) Handle() *zx.Handle +pkg syscall/zx/hardware/network, method (*DeviceInstanceGetDeviceRequest) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*DeviceInstanceWithCtxInterface) GetDevice(context.Context, DeviceWithCtxInterfaceRequest) error pkg syscall/zx/hardware/network, method (*DeviceInstanceWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/hardware/network, method (*DeviceInstanceWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/hardware/network, method (*DeviceInstanceWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/hardware/network, method (*DeviceOpenSessionRequest) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*DeviceOpenSessionResponse) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*DeviceOpenSessionResult) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*DeviceOpenSessionResult) Ordinal() uint64 @@ -1674,7 +1701,14 @@ pkg syscall/zx/hardware/network, method (*Empty) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*Fifos) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*FrameTypeSupport) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*MacAddressingAddMulticastAddressRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*MacAddressingAddMulticastAddressResponse) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*MacAddressingEventProxy) Handle() *zx.Handle +pkg syscall/zx/hardware/network, method (*MacAddressingGetUnicastAddressResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*MacAddressingRemoveMulticastAddressRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*MacAddressingRemoveMulticastAddressResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*MacAddressingSetModeRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*MacAddressingSetModeResponse) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*MacAddressingWithCtxInterface) AddMulticastAddress(context.Context, net.MacAddress) (int32, error) pkg syscall/zx/hardware/network, method (*MacAddressingWithCtxInterface) GetUnicastAddress(context.Context) (net.MacAddress, error) pkg syscall/zx/hardware/network, method (*MacAddressingWithCtxInterface) Handle() *zx.Handle @@ -1682,6 +1716,25 @@ pkg syscall/zx/hardware/network, method (*MacAddressingWithCtxInterface) SetMode(context.Context, MacFilterMode) (int32, error) pkg syscall/zx/hardware/network, method (*MacAddressingWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/hardware/network, method (*MacAddressingWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/hardware/network, method (*PortBaseInfo) ClearPortClass() +pkg syscall/zx/hardware/network, method (*PortBaseInfo) ClearRxTypes() +pkg syscall/zx/hardware/network, method (*PortBaseInfo) ClearTxTypes() +pkg syscall/zx/hardware/network, method (*PortBaseInfo) GetPortClass() DeviceClass +pkg syscall/zx/hardware/network, method (*PortBaseInfo) GetPortClassWithDefault(DeviceClass) DeviceClass +pkg syscall/zx/hardware/network, method (*PortBaseInfo) GetRxTypes() []FrameType +pkg syscall/zx/hardware/network, method (*PortBaseInfo) GetRxTypesWithDefault([]FrameType) []FrameType +pkg syscall/zx/hardware/network, method (*PortBaseInfo) GetTxTypes() []FrameTypeSupport +pkg syscall/zx/hardware/network, method (*PortBaseInfo) GetTxTypesWithDefault([]FrameTypeSupport) []FrameTypeSupport +pkg syscall/zx/hardware/network, method (*PortBaseInfo) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/hardware/network, method (*PortBaseInfo) HasPortClass() bool +pkg syscall/zx/hardware/network, method (*PortBaseInfo) HasRxTypes() bool +pkg syscall/zx/hardware/network, method (*PortBaseInfo) HasTxTypes() bool +pkg syscall/zx/hardware/network, method (*PortBaseInfo) HasUnknownData() bool +pkg syscall/zx/hardware/network, method (*PortBaseInfo) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*PortBaseInfo) SetPortClass(DeviceClass) +pkg syscall/zx/hardware/network, method (*PortBaseInfo) SetRxTypes([]FrameType) +pkg syscall/zx/hardware/network, method (*PortBaseInfo) SetTxTypes([]FrameTypeSupport) +pkg syscall/zx/hardware/network, method (*PortCloneRequest) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*PortEventProxy) Handle() *zx.Handle pkg syscall/zx/hardware/network, method (*PortGetCountersResponse) ClearRxBytes() pkg syscall/zx/hardware/network, method (*PortGetCountersResponse) ClearRxFrames() @@ -1706,30 +1759,26 @@ pkg syscall/zx/hardware/network, method (*PortGetCountersResponse) SetRxFrames(uint64) pkg syscall/zx/hardware/network, method (*PortGetCountersResponse) SetTxBytes(uint64) pkg syscall/zx/hardware/network, method (*PortGetCountersResponse) SetTxFrames(uint64) +pkg syscall/zx/hardware/network, method (*PortGetDeviceRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*PortGetDiagnosticsRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*PortGetInfoResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*PortGetMacRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*PortGetStatusResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/hardware/network, method (*PortGetStatusWatcherRequest) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*PortId) Marshaler() fidl.Marshaler -pkg syscall/zx/hardware/network, method (*PortInfo) ClearClass() +pkg syscall/zx/hardware/network, method (*PortInfo) ClearBaseInfo() pkg syscall/zx/hardware/network, method (*PortInfo) ClearId() -pkg syscall/zx/hardware/network, method (*PortInfo) ClearRxTypes() -pkg syscall/zx/hardware/network, method (*PortInfo) ClearTxTypes() -pkg syscall/zx/hardware/network, method (*PortInfo) GetClass() DeviceClass -pkg syscall/zx/hardware/network, method (*PortInfo) GetClassWithDefault(DeviceClass) DeviceClass +pkg syscall/zx/hardware/network, method (*PortInfo) GetBaseInfo() PortBaseInfo +pkg syscall/zx/hardware/network, method (*PortInfo) GetBaseInfoWithDefault(PortBaseInfo) PortBaseInfo pkg syscall/zx/hardware/network, method (*PortInfo) GetId() PortId pkg syscall/zx/hardware/network, method (*PortInfo) GetIdWithDefault(PortId) PortId -pkg syscall/zx/hardware/network, method (*PortInfo) GetRxTypes() []FrameType -pkg syscall/zx/hardware/network, method (*PortInfo) GetRxTypesWithDefault([]FrameType) []FrameType -pkg syscall/zx/hardware/network, method (*PortInfo) GetTxTypes() []FrameTypeSupport -pkg syscall/zx/hardware/network, method (*PortInfo) GetTxTypesWithDefault([]FrameTypeSupport) []FrameTypeSupport pkg syscall/zx/hardware/network, method (*PortInfo) GetUnknownData() map[uint64]fidl.UnknownData -pkg syscall/zx/hardware/network, method (*PortInfo) HasClass() bool +pkg syscall/zx/hardware/network, method (*PortInfo) HasBaseInfo() bool pkg syscall/zx/hardware/network, method (*PortInfo) HasId() bool -pkg syscall/zx/hardware/network, method (*PortInfo) HasRxTypes() bool -pkg syscall/zx/hardware/network, method (*PortInfo) HasTxTypes() bool pkg syscall/zx/hardware/network, method (*PortInfo) HasUnknownData() bool pkg syscall/zx/hardware/network, method (*PortInfo) Marshaler() fidl.Marshaler -pkg syscall/zx/hardware/network, method (*PortInfo) SetClass(DeviceClass) +pkg syscall/zx/hardware/network, method (*PortInfo) SetBaseInfo(PortBaseInfo) pkg syscall/zx/hardware/network, method (*PortInfo) SetId(PortId) -pkg syscall/zx/hardware/network, method (*PortInfo) SetRxTypes([]FrameType) -pkg syscall/zx/hardware/network, method (*PortInfo) SetTxTypes([]FrameTypeSupport) pkg syscall/zx/hardware/network, method (*PortStatus) ClearFlags() pkg syscall/zx/hardware/network, method (*PortStatus) ClearMtu() pkg syscall/zx/hardware/network, method (*PortStatus) GetFlags() StatusFlags @@ -1744,6 +1793,7 @@ pkg syscall/zx/hardware/network, method (*PortStatus) SetFlags(StatusFlags) pkg syscall/zx/hardware/network, method (*PortStatus) SetMtu(uint32) pkg syscall/zx/hardware/network, method (*PortWatcherEventProxy) Handle() *zx.Handle +pkg syscall/zx/hardware/network, method (*PortWatcherWatchResponse) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*PortWatcherWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/hardware/network, method (*PortWatcherWithCtxInterface) Watch(context.Context) (DevicePortEvent, error) pkg syscall/zx/hardware/network, method (*PortWatcherWithCtxInterfaceRequest) Handle() *zx.Handle @@ -1759,12 +1809,14 @@ pkg syscall/zx/hardware/network, method (*PortWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/hardware/network, method (*PortWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/hardware/network, method (*PortWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/hardware/network, method (*SessionAttachRequest) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*SessionAttachResponse) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*SessionAttachResult) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*SessionAttachResult) Ordinal() uint64 pkg syscall/zx/hardware/network, method (*SessionAttachResult) SetErr(int32) pkg syscall/zx/hardware/network, method (*SessionAttachResult) SetResponse(SessionAttachResponse) pkg syscall/zx/hardware/network, method (*SessionAttachResult) Which() I_sessionAttachResultTag +pkg syscall/zx/hardware/network, method (*SessionDetachRequest) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*SessionDetachResponse) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*SessionDetachResult) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*SessionDetachResult) Ordinal() uint64 @@ -1812,6 +1864,7 @@ pkg syscall/zx/hardware/network, method (*SessionWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/hardware/network, method (*SessionWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) pkg syscall/zx/hardware/network, method (*StatusWatcherEventProxy) Handle() *zx.Handle +pkg syscall/zx/hardware/network, method (*StatusWatcherWatchStatusResponse) Marshaler() fidl.Marshaler pkg syscall/zx/hardware/network, method (*StatusWatcherWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/hardware/network, method (*StatusWatcherWithCtxInterface) WatchStatus(context.Context) (PortStatus, error) pkg syscall/zx/hardware/network, method (*StatusWatcherWithCtxInterfaceRequest) Handle() *zx.Handle @@ -1888,6 +1941,7 @@ pkg syscall/zx/hardware/network, method (TxReturnFlags) I_BitsMask() TxReturnFlags pkg syscall/zx/hardware/network, method (TxReturnFlags) InvertBits() TxReturnFlags pkg syscall/zx/hardware/network, method (TxReturnFlags) String() string +pkg syscall/zx/hardware/network, type BasePortId = uint8 pkg syscall/zx/hardware/network, type DeviceBaseInfo struct pkg syscall/zx/hardware/network, type DeviceBaseInfo struct, BufferAlignment uint32 pkg syscall/zx/hardware/network, type DeviceBaseInfo struct, BufferAlignmentPresent bool @@ -1913,8 +1967,17 @@ pkg syscall/zx/hardware/network, type DeviceBaseInfo struct, TxDepth uint16 pkg syscall/zx/hardware/network, type DeviceBaseInfo struct, TxDepthPresent bool pkg syscall/zx/hardware/network, type DeviceClass uint16 +pkg syscall/zx/hardware/network, type DeviceCloneRequest struct +pkg syscall/zx/hardware/network, type DeviceCloneRequest struct, Device DeviceWithCtxInterfaceRequest pkg syscall/zx/hardware/network, type DeviceEventProxy struct pkg syscall/zx/hardware/network, type DeviceEventProxy struct, embedded zx.Channel +pkg syscall/zx/hardware/network, type DeviceGetInfoResponse struct +pkg syscall/zx/hardware/network, type DeviceGetInfoResponse struct, Info DeviceInfo +pkg syscall/zx/hardware/network, type DeviceGetPortRequest struct +pkg syscall/zx/hardware/network, type DeviceGetPortRequest struct, Id PortId +pkg syscall/zx/hardware/network, type DeviceGetPortRequest struct, Port PortWithCtxInterfaceRequest +pkg syscall/zx/hardware/network, type DeviceGetPortWatcherRequest struct +pkg syscall/zx/hardware/network, type DeviceGetPortWatcherRequest struct, Watcher PortWatcherWithCtxInterfaceRequest pkg syscall/zx/hardware/network, type DeviceInfo struct pkg syscall/zx/hardware/network, type DeviceInfo struct, BaseInfo DeviceBaseInfo pkg syscall/zx/hardware/network, type DeviceInfo struct, BaseInfoPresent bool @@ -1925,6 +1988,8 @@ pkg syscall/zx/hardware/network, type DeviceInfo struct, MinDescriptorLengthPresent bool pkg syscall/zx/hardware/network, type DeviceInstanceEventProxy struct pkg syscall/zx/hardware/network, type DeviceInstanceEventProxy struct, embedded zx.Channel +pkg syscall/zx/hardware/network, type DeviceInstanceGetDeviceRequest struct +pkg syscall/zx/hardware/network, type DeviceInstanceGetDeviceRequest struct, Device DeviceWithCtxInterfaceRequest pkg syscall/zx/hardware/network, type DeviceInstanceWithCtx interface { GetDevice } pkg syscall/zx/hardware/network, type DeviceInstanceWithCtx interface, GetDevice(context.Context, DeviceWithCtxInterfaceRequest) error pkg syscall/zx/hardware/network, type DeviceInstanceWithCtxInterface struct @@ -1934,6 +1999,9 @@ pkg syscall/zx/hardware/network, type DeviceInstanceWithCtxStub struct pkg syscall/zx/hardware/network, type DeviceInstanceWithCtxStub struct, Impl DeviceInstanceWithCtx pkg syscall/zx/hardware/network, type DeviceInstanceWithCtxTransitionalBase struct +pkg syscall/zx/hardware/network, type DeviceOpenSessionRequest struct +pkg syscall/zx/hardware/network, type DeviceOpenSessionRequest struct, SessionInfo SessionInfo +pkg syscall/zx/hardware/network, type DeviceOpenSessionRequest struct, SessionName string pkg syscall/zx/hardware/network, type DeviceOpenSessionResponse struct pkg syscall/zx/hardware/network, type DeviceOpenSessionResponse struct, Fifos Fifos pkg syscall/zx/hardware/network, type DeviceOpenSessionResponse struct, Session SessionWithCtxInterface @@ -1986,8 +2054,22 @@ pkg syscall/zx/hardware/network, type I_sessionAttachResultTag uint64 pkg syscall/zx/hardware/network, type I_sessionDetachResultTag uint64 pkg syscall/zx/hardware/network, type InfoType uint32 +pkg syscall/zx/hardware/network, type MacAddressingAddMulticastAddressRequest struct +pkg syscall/zx/hardware/network, type MacAddressingAddMulticastAddressRequest struct, Address net.MacAddress +pkg syscall/zx/hardware/network, type MacAddressingAddMulticastAddressResponse struct +pkg syscall/zx/hardware/network, type MacAddressingAddMulticastAddressResponse struct, Status int32 pkg syscall/zx/hardware/network, type MacAddressingEventProxy struct pkg syscall/zx/hardware/network, type MacAddressingEventProxy struct, embedded zx.Channel +pkg syscall/zx/hardware/network, type MacAddressingGetUnicastAddressResponse struct +pkg syscall/zx/hardware/network, type MacAddressingGetUnicastAddressResponse struct, Address net.MacAddress +pkg syscall/zx/hardware/network, type MacAddressingRemoveMulticastAddressRequest struct +pkg syscall/zx/hardware/network, type MacAddressingRemoveMulticastAddressRequest struct, Address net.MacAddress +pkg syscall/zx/hardware/network, type MacAddressingRemoveMulticastAddressResponse struct +pkg syscall/zx/hardware/network, type MacAddressingRemoveMulticastAddressResponse struct, Status int32 +pkg syscall/zx/hardware/network, type MacAddressingSetModeRequest struct +pkg syscall/zx/hardware/network, type MacAddressingSetModeRequest struct, Mode MacFilterMode +pkg syscall/zx/hardware/network, type MacAddressingSetModeResponse struct +pkg syscall/zx/hardware/network, type MacAddressingSetModeResponse struct, Status int32 pkg syscall/zx/hardware/network, type MacAddressingWithCtx interface { AddMulticastAddress, GetUnicastAddress, RemoveMulticastAddress, SetMode } pkg syscall/zx/hardware/network, type MacAddressingWithCtx interface, AddMulticastAddress(context.Context, net.MacAddress) (int32, error) pkg syscall/zx/hardware/network, type MacAddressingWithCtx interface, GetUnicastAddress(context.Context) (net.MacAddress, error) @@ -2001,6 +2083,17 @@ pkg syscall/zx/hardware/network, type MacAddressingWithCtxStub struct, Impl MacAddressingWithCtx pkg syscall/zx/hardware/network, type MacAddressingWithCtxTransitionalBase struct pkg syscall/zx/hardware/network, type MacFilterMode uint32 +pkg syscall/zx/hardware/network, type PortBaseInfo struct +pkg syscall/zx/hardware/network, type PortBaseInfo struct, I_unknownData interface{} +pkg syscall/zx/hardware/network, type PortBaseInfo struct, PortClass DeviceClass +pkg syscall/zx/hardware/network, type PortBaseInfo struct, PortClassPresent bool +pkg syscall/zx/hardware/network, type PortBaseInfo struct, RxTypes []FrameType +pkg syscall/zx/hardware/network, type PortBaseInfo struct, RxTypesPresent bool +pkg syscall/zx/hardware/network, type PortBaseInfo struct, TxTypes []FrameTypeSupport +pkg syscall/zx/hardware/network, type PortBaseInfo struct, TxTypesPresent bool +pkg syscall/zx/hardware/network, type PortClass = DeviceClass +pkg syscall/zx/hardware/network, type PortCloneRequest struct +pkg syscall/zx/hardware/network, type PortCloneRequest struct, Port PortWithCtxInterfaceRequest pkg syscall/zx/hardware/network, type PortEventProxy struct pkg syscall/zx/hardware/network, type PortEventProxy struct, embedded zx.Channel pkg syscall/zx/hardware/network, type PortGetCountersResponse struct @@ -2013,19 +2106,28 @@ pkg syscall/zx/hardware/network, type PortGetCountersResponse struct, TxBytesPresent bool pkg syscall/zx/hardware/network, type PortGetCountersResponse struct, TxFrames uint64 pkg syscall/zx/hardware/network, type PortGetCountersResponse struct, TxFramesPresent bool +pkg syscall/zx/hardware/network, type PortGetDeviceRequest struct +pkg syscall/zx/hardware/network, type PortGetDeviceRequest struct, Device DeviceWithCtxInterfaceRequest +pkg syscall/zx/hardware/network, type PortGetDiagnosticsRequest struct +pkg syscall/zx/hardware/network, type PortGetDiagnosticsRequest struct, Diagnostics DiagnosticsWithCtxInterfaceRequest +pkg syscall/zx/hardware/network, type PortGetInfoResponse struct +pkg syscall/zx/hardware/network, type PortGetInfoResponse struct, Info PortInfo +pkg syscall/zx/hardware/network, type PortGetMacRequest struct +pkg syscall/zx/hardware/network, type PortGetMacRequest struct, Mac MacAddressingWithCtxInterfaceRequest +pkg syscall/zx/hardware/network, type PortGetStatusResponse struct +pkg syscall/zx/hardware/network, type PortGetStatusResponse struct, Status PortStatus +pkg syscall/zx/hardware/network, type PortGetStatusWatcherRequest struct +pkg syscall/zx/hardware/network, type PortGetStatusWatcherRequest struct, Buffer uint32 +pkg syscall/zx/hardware/network, type PortGetStatusWatcherRequest struct, Watcher StatusWatcherWithCtxInterfaceRequest pkg syscall/zx/hardware/network, type PortId struct pkg syscall/zx/hardware/network, type PortId struct, Base uint8 pkg syscall/zx/hardware/network, type PortId struct, Salt uint8 pkg syscall/zx/hardware/network, type PortInfo struct -pkg syscall/zx/hardware/network, type PortInfo struct, Class DeviceClass -pkg syscall/zx/hardware/network, type PortInfo struct, ClassPresent bool +pkg syscall/zx/hardware/network, type PortInfo struct, BaseInfo PortBaseInfo +pkg syscall/zx/hardware/network, type PortInfo struct, BaseInfoPresent bool pkg syscall/zx/hardware/network, type PortInfo struct, I_unknownData interface{} pkg syscall/zx/hardware/network, type PortInfo struct, Id PortId pkg syscall/zx/hardware/network, type PortInfo struct, IdPresent bool -pkg syscall/zx/hardware/network, type PortInfo struct, RxTypes []FrameType -pkg syscall/zx/hardware/network, type PortInfo struct, RxTypesPresent bool -pkg syscall/zx/hardware/network, type PortInfo struct, TxTypes []FrameTypeSupport -pkg syscall/zx/hardware/network, type PortInfo struct, TxTypesPresent bool pkg syscall/zx/hardware/network, type PortStatus struct pkg syscall/zx/hardware/network, type PortStatus struct, Flags StatusFlags pkg syscall/zx/hardware/network, type PortStatus struct, FlagsPresent bool @@ -2034,6 +2136,8 @@ pkg syscall/zx/hardware/network, type PortStatus struct, MtuPresent bool pkg syscall/zx/hardware/network, type PortWatcherEventProxy struct pkg syscall/zx/hardware/network, type PortWatcherEventProxy struct, embedded zx.Channel +pkg syscall/zx/hardware/network, type PortWatcherWatchResponse struct +pkg syscall/zx/hardware/network, type PortWatcherWatchResponse struct, Event DevicePortEvent pkg syscall/zx/hardware/network, type PortWatcherWithCtx interface { Watch } pkg syscall/zx/hardware/network, type PortWatcherWithCtx interface, Watch(context.Context) (DevicePortEvent, error) pkg syscall/zx/hardware/network, type PortWatcherWithCtxInterface struct @@ -2061,11 +2165,16 @@ pkg syscall/zx/hardware/network, type PortWithCtxTransitionalBase struct pkg syscall/zx/hardware/network, type RxAcceleration uint8 pkg syscall/zx/hardware/network, type RxFlags uint32 +pkg syscall/zx/hardware/network, type SessionAttachRequest struct +pkg syscall/zx/hardware/network, type SessionAttachRequest struct, Port PortId +pkg syscall/zx/hardware/network, type SessionAttachRequest struct, RxFrames []FrameType pkg syscall/zx/hardware/network, type SessionAttachResponse struct pkg syscall/zx/hardware/network, type SessionAttachResult struct pkg syscall/zx/hardware/network, type SessionAttachResult struct, Err int32 pkg syscall/zx/hardware/network, type SessionAttachResult struct, Response SessionAttachResponse pkg syscall/zx/hardware/network, type SessionAttachResult struct, embedded I_sessionAttachResultTag +pkg syscall/zx/hardware/network, type SessionDetachRequest struct +pkg syscall/zx/hardware/network, type SessionDetachRequest struct, Port PortId pkg syscall/zx/hardware/network, type SessionDetachResponse struct pkg syscall/zx/hardware/network, type SessionDetachResult struct pkg syscall/zx/hardware/network, type SessionDetachResult struct, Err int32 @@ -2102,6 +2211,8 @@ pkg syscall/zx/hardware/network, type StatusFlags uint32 pkg syscall/zx/hardware/network, type StatusWatcherEventProxy struct pkg syscall/zx/hardware/network, type StatusWatcherEventProxy struct, embedded zx.Channel +pkg syscall/zx/hardware/network, type StatusWatcherWatchStatusResponse struct +pkg syscall/zx/hardware/network, type StatusWatcherWatchStatusResponse struct, PortStatus PortStatus pkg syscall/zx/hardware/network, type StatusWatcherWithCtx interface { WatchStatus } pkg syscall/zx/hardware/network, type StatusWatcherWithCtx interface, WatchStatus(context.Context) (PortStatus, error) pkg syscall/zx/hardware/network, type StatusWatcherWithCtxInterface struct @@ -2126,8 +2237,20 @@ pkg syscall/zx/io, const AdvisoryLockingAdvisoryLockResultErr ideal-int pkg syscall/zx/io, const AdvisoryLockingAdvisoryLockResultResponse = 1 pkg syscall/zx/io, const AdvisoryLockingAdvisoryLockResultResponse ideal-int -pkg syscall/zx/io, const CloseAll = 24 -pkg syscall/zx/io, const CloseAll InotifyWatchMask +pkg syscall/zx/io, const AllocateModeCollapseRange = 8 +pkg syscall/zx/io, const AllocateModeCollapseRange AllocateMode +pkg syscall/zx/io, const AllocateModeInsertRange = 32 +pkg syscall/zx/io, const AllocateModeInsertRange AllocateMode +pkg syscall/zx/io, const AllocateModeKeepSize = 1 +pkg syscall/zx/io, const AllocateModeKeepSize AllocateMode +pkg syscall/zx/io, const AllocateModePunchHole = 4 +pkg syscall/zx/io, const AllocateModePunchHole AllocateMode +pkg syscall/zx/io, const AllocateModeUnshareRange = 2 +pkg syscall/zx/io, const AllocateModeUnshareRange AllocateMode +pkg syscall/zx/io, const AllocateModeZeroRange = 16 +pkg syscall/zx/io, const AllocateModeZeroRange AllocateMode +pkg syscall/zx/io, const AllocateMode_Mask = 63 +pkg syscall/zx/io, const AllocateMode_Mask AllocateMode pkg syscall/zx/io, const ConnectionProtocolsConnector = 1 pkg syscall/zx/io, const ConnectionProtocolsConnector ideal-int pkg syscall/zx/io, const ConnectionProtocolsNode = 2 @@ -2162,24 +2285,34 @@ pkg syscall/zx/io, const Directory1SetFlagsOrdinal uint64 pkg syscall/zx/io, const Directory1WatchOrdinal = 6275512344170098065 pkg syscall/zx/io, const Directory1WatchOrdinal uint64 -pkg syscall/zx/io, const Directory2AddInotifyFilterOrdinal = 2291733984692638506 -pkg syscall/zx/io, const Directory2AddInotifyFilterOrdinal uint64 pkg syscall/zx/io, const Directory2AdvisoryLockOrdinal = 7992130864415541162 pkg syscall/zx/io, const Directory2AdvisoryLockOrdinal uint64 pkg syscall/zx/io, const Directory2CloseOrdinal = 6540867515453498750 pkg syscall/zx/io, const Directory2CloseOrdinal uint64 +pkg syscall/zx/io, const Directory2CreateSymlinkOrdinal = 2435901052462315657 +pkg syscall/zx/io, const Directory2CreateSymlinkOrdinal uint64 +pkg syscall/zx/io, const Directory2CreateSymlinkResultErr = 2 +pkg syscall/zx/io, const Directory2CreateSymlinkResultErr ideal-int +pkg syscall/zx/io, const Directory2CreateSymlinkResultResponse = 1 +pkg syscall/zx/io, const Directory2CreateSymlinkResultResponse ideal-int pkg syscall/zx/io, const Directory2EnumerateOrdinal = 3937494568478622589 pkg syscall/zx/io, const Directory2EnumerateOrdinal uint64 pkg syscall/zx/io, const Directory2GetAttributesOrdinal = 4414537700416816443 pkg syscall/zx/io, const Directory2GetAttributesOrdinal uint64 pkg syscall/zx/io, const Directory2GetConnectionInfoOrdinal = 6362521381364198667 pkg syscall/zx/io, const Directory2GetConnectionInfoOrdinal uint64 +pkg syscall/zx/io, const Directory2GetExtendedAttributeOrdinal = 5043930208506967771 +pkg syscall/zx/io, const Directory2GetExtendedAttributeOrdinal uint64 +pkg syscall/zx/io, const Directory2ListExtendedAttributesOrdinal = 5431626189872037072 +pkg syscall/zx/io, const Directory2ListExtendedAttributesOrdinal uint64 pkg syscall/zx/io, const Directory2OnRepresentationOrdinal = 6679970090861613324 pkg syscall/zx/io, const Directory2OnRepresentationOrdinal uint64 pkg syscall/zx/io, const Directory2Open2Ordinal = 3439711884268033238 pkg syscall/zx/io, const Directory2Open2Ordinal uint64 pkg syscall/zx/io, const Directory2QueryOrdinal = 2763219980499352582 pkg syscall/zx/io, const Directory2QueryOrdinal uint64 +pkg syscall/zx/io, const Directory2RemoveExtendedAttributeOrdinal = 8794297771444732717 +pkg syscall/zx/io, const Directory2RemoveExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const Directory2RenameOrdinal = 8097726607824333022 pkg syscall/zx/io, const Directory2RenameOrdinal uint64 pkg syscall/zx/io, const Directory2RenameResultErr = 2 @@ -2188,6 +2321,8 @@ pkg syscall/zx/io, const Directory2RenameResultResponse ideal-int pkg syscall/zx/io, const Directory2ReopenOrdinal = 7675434429343513249 pkg syscall/zx/io, const Directory2ReopenOrdinal uint64 +pkg syscall/zx/io, const Directory2SetExtendedAttributeOrdinal = 5374223046099989052 +pkg syscall/zx/io, const Directory2SetExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const Directory2SyncOrdinal = 3196473584242777161 pkg syscall/zx/io, const Directory2SyncOrdinal uint64 pkg syscall/zx/io, const Directory2UnlinkOrdinal = 8433556716759383021 @@ -2198,14 +2333,14 @@ pkg syscall/zx/io, const Directory2UnlinkResultResponse ideal-int pkg syscall/zx/io, const Directory2UpdateAttributesOrdinal = 3677402239314018056 pkg syscall/zx/io, const Directory2UpdateAttributesOrdinal uint64 -pkg syscall/zx/io, const DirectoryAddInotifyFilterOrdinal = 2291733984692638506 -pkg syscall/zx/io, const DirectoryAddInotifyFilterOrdinal uint64 pkg syscall/zx/io, const DirectoryAdvisoryLockOrdinal = 7992130864415541162 pkg syscall/zx/io, const DirectoryAdvisoryLockOrdinal uint64 pkg syscall/zx/io, const DirectoryCloneOrdinal = 6512600400724287855 pkg syscall/zx/io, const DirectoryCloneOrdinal uint64 pkg syscall/zx/io, const DirectoryCloseOrdinal = 6540867515453498750 pkg syscall/zx/io, const DirectoryCloseOrdinal uint64 +pkg syscall/zx/io, const DirectoryCreateSymlinkOrdinal = 2435901052462315657 +pkg syscall/zx/io, const DirectoryCreateSymlinkOrdinal uint64 pkg syscall/zx/io, const DirectoryEnumerateOrdinal = 3937494568478622589 pkg syscall/zx/io, const DirectoryEnumerateOrdinal uint64 pkg syscall/zx/io, const DirectoryGetAttrOrdinal = 8689798978500614909 @@ -2214,6 +2349,8 @@ pkg syscall/zx/io, const DirectoryGetAttributesOrdinal uint64 pkg syscall/zx/io, const DirectoryGetConnectionInfoOrdinal = 6362521381364198667 pkg syscall/zx/io, const DirectoryGetConnectionInfoOrdinal uint64 +pkg syscall/zx/io, const DirectoryGetExtendedAttributeOrdinal = 5043930208506967771 +pkg syscall/zx/io, const DirectoryGetExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const DirectoryGetFlagsOrdinal = 6595803110182632097 pkg syscall/zx/io, const DirectoryGetFlagsOrdinal uint64 pkg syscall/zx/io, const DirectoryGetTokenOrdinal = 2787337947777369685 @@ -2226,6 +2363,8 @@ pkg syscall/zx/io, const DirectoryIteratorGetNextResultResponse ideal-int pkg syscall/zx/io, const DirectoryLinkOrdinal = 8360374984291987687 pkg syscall/zx/io, const DirectoryLinkOrdinal uint64 +pkg syscall/zx/io, const DirectoryListExtendedAttributesOrdinal = 5431626189872037072 +pkg syscall/zx/io, const DirectoryListExtendedAttributesOrdinal uint64 pkg syscall/zx/io, const DirectoryOnOpenOrdinal = 9207534335756671346 pkg syscall/zx/io, const DirectoryOnOpenOrdinal uint64 pkg syscall/zx/io, const DirectoryOnRepresentationOrdinal = 6679970090861613324 @@ -2234,16 +2373,16 @@ pkg syscall/zx/io, const DirectoryOpen2Ordinal uint64 pkg syscall/zx/io, const DirectoryOpenOrdinal = 3193127272456937152 pkg syscall/zx/io, const DirectoryOpenOrdinal uint64 -pkg syscall/zx/io, const DirectoryProtocolFlags_Mask = 0 -pkg syscall/zx/io, const DirectoryProtocolFlags_Mask DirectoryProtocolFlags -pkg syscall/zx/io, const DirectoryProtocolName = "fuchsia.io/Directory" -pkg syscall/zx/io, const DirectoryProtocolName string +pkg syscall/zx/io, const DirectoryProtocolName_ = "fuchsia.io/Directory" +pkg syscall/zx/io, const DirectoryProtocolName_ string pkg syscall/zx/io, const DirectoryQueryFilesystemOrdinal = 8013111122914313744 pkg syscall/zx/io, const DirectoryQueryFilesystemOrdinal uint64 pkg syscall/zx/io, const DirectoryQueryOrdinal = 2763219980499352582 pkg syscall/zx/io, const DirectoryQueryOrdinal uint64 pkg syscall/zx/io, const DirectoryReadDirentsOrdinal = 3855785432100874762 pkg syscall/zx/io, const DirectoryReadDirentsOrdinal uint64 +pkg syscall/zx/io, const DirectoryRemoveExtendedAttributeOrdinal = 8794297771444732717 +pkg syscall/zx/io, const DirectoryRemoveExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const DirectoryRenameOrdinal = 8097726607824333022 pkg syscall/zx/io, const DirectoryRenameOrdinal uint64 pkg syscall/zx/io, const DirectoryReopenOrdinal = 7675434429343513249 @@ -2252,6 +2391,8 @@ pkg syscall/zx/io, const DirectoryRewindOrdinal uint64 pkg syscall/zx/io, const DirectorySetAttrOrdinal = 4721673413776871238 pkg syscall/zx/io, const DirectorySetAttrOrdinal uint64 +pkg syscall/zx/io, const DirectorySetExtendedAttributeOrdinal = 5374223046099989052 +pkg syscall/zx/io, const DirectorySetExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const DirectorySetFlagsOrdinal = 5950864159036794675 pkg syscall/zx/io, const DirectorySetFlagsOrdinal uint64 pkg syscall/zx/io, const DirectorySyncOrdinal = 3196473584242777161 @@ -2270,16 +2411,40 @@ pkg syscall/zx/io, const DirentTypeFile DirentType pkg syscall/zx/io, const DirentTypeService = 16 pkg syscall/zx/io, const DirentTypeService DirentType +pkg syscall/zx/io, const DirentTypeSymlink = 10 +pkg syscall/zx/io, const DirentTypeSymlink DirentType pkg syscall/zx/io, const DirentTypeUnknown = 0 pkg syscall/zx/io, const DirentTypeUnknown DirentType +pkg syscall/zx/io, const ExtendedAttributeIteratorGetNextOrdinal = 268639596268373415 +pkg syscall/zx/io, const ExtendedAttributeIteratorGetNextOrdinal uint64 +pkg syscall/zx/io, const ExtendedAttributeIteratorGetNextResultErr = 2 +pkg syscall/zx/io, const ExtendedAttributeIteratorGetNextResultErr ideal-int +pkg syscall/zx/io, const ExtendedAttributeIteratorGetNextResultResponse = 1 +pkg syscall/zx/io, const ExtendedAttributeIteratorGetNextResultResponse ideal-int +pkg syscall/zx/io, const ExtendedAttributeValueBuffer = 2 +pkg syscall/zx/io, const ExtendedAttributeValueBuffer ideal-int +pkg syscall/zx/io, const ExtendedAttributeValueBytes = 1 +pkg syscall/zx/io, const ExtendedAttributeValueBytes ideal-int pkg syscall/zx/io, const FileAdvisoryLockOrdinal = 7992130864415541162 pkg syscall/zx/io, const FileAdvisoryLockOrdinal uint64 +pkg syscall/zx/io, const FileAllocateOrdinal = 8645235848064269614 +pkg syscall/zx/io, const FileAllocateOrdinal uint64 +pkg syscall/zx/io, const FileAllocateResultErr = 2 +pkg syscall/zx/io, const FileAllocateResultErr ideal-int +pkg syscall/zx/io, const FileAllocateResultResponse = 1 +pkg syscall/zx/io, const FileAllocateResultResponse ideal-int pkg syscall/zx/io, const FileCloneOrdinal = 6512600400724287855 pkg syscall/zx/io, const FileCloneOrdinal uint64 pkg syscall/zx/io, const FileCloseOrdinal = 6540867515453498750 pkg syscall/zx/io, const FileCloseOrdinal uint64 pkg syscall/zx/io, const FileDescribeOrdinal = 7545125870053689020 pkg syscall/zx/io, const FileDescribeOrdinal uint64 +pkg syscall/zx/io, const FileEnableVerityOrdinal = 3189145313204943035 +pkg syscall/zx/io, const FileEnableVerityOrdinal uint64 +pkg syscall/zx/io, const FileEnableVerityResultErr = 2 +pkg syscall/zx/io, const FileEnableVerityResultErr ideal-int +pkg syscall/zx/io, const FileEnableVerityResultResponse = 1 +pkg syscall/zx/io, const FileEnableVerityResultResponse ideal-int pkg syscall/zx/io, const FileGetAttrOrdinal = 8689798978500614909 pkg syscall/zx/io, const FileGetAttrOrdinal uint64 pkg syscall/zx/io, const FileGetAttributesOrdinal = 4414537700416816443 @@ -2292,8 +2457,14 @@ pkg syscall/zx/io, const FileGetBackingMemoryResultResponse ideal-int pkg syscall/zx/io, const FileGetConnectionInfoOrdinal = 6362521381364198667 pkg syscall/zx/io, const FileGetConnectionInfoOrdinal uint64 +pkg syscall/zx/io, const FileGetExtendedAttributeOrdinal = 5043930208506967771 +pkg syscall/zx/io, const FileGetExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const FileGetFlagsOrdinal = 6595803110182632097 pkg syscall/zx/io, const FileGetFlagsOrdinal uint64 +pkg syscall/zx/io, const FileLinkIntoOrdinal = 6121399674497678964 +pkg syscall/zx/io, const FileLinkIntoOrdinal uint64 +pkg syscall/zx/io, const FileListExtendedAttributesOrdinal = 5431626189872037072 +pkg syscall/zx/io, const FileListExtendedAttributesOrdinal uint64 pkg syscall/zx/io, const FileOnOpenOrdinal = 9207534335756671346 pkg syscall/zx/io, const FileOnOpenOrdinal uint64 pkg syscall/zx/io, const FileOnRepresentationOrdinal = 6679970090861613324 @@ -2304,8 +2475,8 @@ pkg syscall/zx/io, const FileProtocolFlagsTruncate FileProtocolFlags pkg syscall/zx/io, const FileProtocolFlags_Mask = 3 pkg syscall/zx/io, const FileProtocolFlags_Mask FileProtocolFlags -pkg syscall/zx/io, const FileProtocolName = "fuchsia.io/File" -pkg syscall/zx/io, const FileProtocolName string +pkg syscall/zx/io, const FileProtocolName_ = "fuchsia.io/File" +pkg syscall/zx/io, const FileProtocolName_ string pkg syscall/zx/io, const FileQueryFilesystemOrdinal = 8013111122914313744 pkg syscall/zx/io, const FileQueryFilesystemOrdinal uint64 pkg syscall/zx/io, const FileQueryOrdinal = 2763219980499352582 @@ -2318,6 +2489,8 @@ pkg syscall/zx/io, const FileReadAtResultResponse ideal-int pkg syscall/zx/io, const FileReadOrdinal = 395825947633028830 pkg syscall/zx/io, const FileReadOrdinal uint64 +pkg syscall/zx/io, const FileRemoveExtendedAttributeOrdinal = 8794297771444732717 +pkg syscall/zx/io, const FileRemoveExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const FileReopenOrdinal = 7675434429343513249 pkg syscall/zx/io, const FileReopenOrdinal uint64 pkg syscall/zx/io, const FileResizeOrdinal = 3134648685270758458 @@ -2334,6 +2507,8 @@ pkg syscall/zx/io, const FileSeekResultResponse ideal-int pkg syscall/zx/io, const FileSetAttrOrdinal = 4721673413776871238 pkg syscall/zx/io, const FileSetAttrOrdinal uint64 +pkg syscall/zx/io, const FileSetExtendedAttributeOrdinal = 5374223046099989052 +pkg syscall/zx/io, const FileSetExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const FileSetFlagsOrdinal = 5950864159036794675 pkg syscall/zx/io, const FileSetFlagsOrdinal uint64 pkg syscall/zx/io, const FileSignalReadable = 16777216 @@ -2354,64 +2529,34 @@ pkg syscall/zx/io, const FileWriteAtResultResponse ideal-int pkg syscall/zx/io, const FileWriteOrdinal = 7651971425397809026 pkg syscall/zx/io, const FileWriteOrdinal uint64 +pkg syscall/zx/io, const HashAlgorithmSha256 = 1 +pkg syscall/zx/io, const HashAlgorithmSha256 HashAlgorithm +pkg syscall/zx/io, const HashAlgorithmSha512 = 2 +pkg syscall/zx/io, const HashAlgorithmSha512 HashAlgorithm +pkg syscall/zx/io, const HashAlgorithm_Unknown = 255 +pkg syscall/zx/io, const HashAlgorithm_Unknown HashAlgorithm pkg syscall/zx/io, const InoUnknown = 18446744073709551615 pkg syscall/zx/io, const InoUnknown uint64 -pkg syscall/zx/io, const InotifyWatchMaskAccess = 1 -pkg syscall/zx/io, const InotifyWatchMaskAccess InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskAttrib = 4 -pkg syscall/zx/io, const InotifyWatchMaskAttrib InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskCloseNowrite = 16 -pkg syscall/zx/io, const InotifyWatchMaskCloseNowrite InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskCloseWrite = 8 -pkg syscall/zx/io, const InotifyWatchMaskCloseWrite InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskCreate = 256 -pkg syscall/zx/io, const InotifyWatchMaskCreate InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskDelete = 512 -pkg syscall/zx/io, const InotifyWatchMaskDelete InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskDeleteSelf = 1024 -pkg syscall/zx/io, const InotifyWatchMaskDeleteSelf InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskDontFollow = 33554432 -pkg syscall/zx/io, const InotifyWatchMaskDontFollow InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskExclUnlink = 67108864 -pkg syscall/zx/io, const InotifyWatchMaskExclUnlink InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskIgnored = 32768 -pkg syscall/zx/io, const InotifyWatchMaskIgnored InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskIsdirectory = 1073741824 -pkg syscall/zx/io, const InotifyWatchMaskIsdirectory InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskMaskAdd = 536870912 -pkg syscall/zx/io, const InotifyWatchMaskMaskAdd InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskMaskCreate = 268435456 -pkg syscall/zx/io, const InotifyWatchMaskMaskCreate InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskModify = 2 -pkg syscall/zx/io, const InotifyWatchMaskModify InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskMoveSelf = 2048 -pkg syscall/zx/io, const InotifyWatchMaskMoveSelf InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskMovedFrom = 64 -pkg syscall/zx/io, const InotifyWatchMaskMovedFrom InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskMovedTo = 128 -pkg syscall/zx/io, const InotifyWatchMaskMovedTo InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskOneshot = 2147483648 -pkg syscall/zx/io, const InotifyWatchMaskOneshot InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskOnlydir = 16777216 -pkg syscall/zx/io, const InotifyWatchMaskOnlydir InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskOpen = 32 -pkg syscall/zx/io, const InotifyWatchMaskOpen InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskQOverflow = 16384 -pkg syscall/zx/io, const InotifyWatchMaskQOverflow InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMaskUnmount = 8192 -pkg syscall/zx/io, const InotifyWatchMaskUnmount InotifyWatchMask -pkg syscall/zx/io, const InotifyWatchMask_Mask = 4144033791 -pkg syscall/zx/io, const InotifyWatchMask_Mask InotifyWatchMask +pkg syscall/zx/io, const LinkableLinkIntoOrdinal = 6121399674497678964 +pkg syscall/zx/io, const LinkableLinkIntoOrdinal uint64 +pkg syscall/zx/io, const LinkableLinkIntoResultErr = 2 +pkg syscall/zx/io, const LinkableLinkIntoResultErr ideal-int +pkg syscall/zx/io, const LinkableLinkIntoResultResponse = 1 +pkg syscall/zx/io, const LinkableLinkIntoResultResponse ideal-int +pkg syscall/zx/io, const MaxAttributeName_ = 255 +pkg syscall/zx/io, const MaxAttributeName_ uint64 pkg syscall/zx/io, const MaxBuf = 8192 pkg syscall/zx/io, const MaxBuf uint64 pkg syscall/zx/io, const MaxFilename = 255 pkg syscall/zx/io, const MaxFilename uint64 pkg syscall/zx/io, const MaxFsNameBuffer = 32 pkg syscall/zx/io, const MaxFsNameBuffer uint64 +pkg syscall/zx/io, const MaxInlineAttributeValue = 32768 +pkg syscall/zx/io, const MaxInlineAttributeValue uint64 +pkg syscall/zx/io, const MaxListAttributesChunk = 128 +pkg syscall/zx/io, const MaxListAttributesChunk uint64 pkg syscall/zx/io, const MaxNameLength = 255 pkg syscall/zx/io, const MaxNameLength uint64 -pkg syscall/zx/io, const MaxPath = 4096 -pkg syscall/zx/io, const MaxPath uint64 pkg syscall/zx/io, const MaxPathLength = 4095 pkg syscall/zx/io, const MaxPathLength uint64 pkg syscall/zx/io, const MaxTransferSize = 8192 @@ -2422,16 +2567,18 @@ pkg syscall/zx/io, const ModeTypeBlockDevice uint32 pkg syscall/zx/io, const ModeTypeDirectory = 16384 pkg syscall/zx/io, const ModeTypeDirectory uint32 +pkg syscall/zx/io, const ModeTypeDoNotUse = 2147483648 +pkg syscall/zx/io, const ModeTypeDoNotUse ModeType pkg syscall/zx/io, const ModeTypeFile = 32768 pkg syscall/zx/io, const ModeTypeFile uint32 pkg syscall/zx/io, const ModeTypeMask = 1044480 pkg syscall/zx/io, const ModeTypeMask uint32 pkg syscall/zx/io, const ModeTypeService = 65536 pkg syscall/zx/io, const ModeTypeService uint32 -pkg syscall/zx/io, const ModeType_Mask = 0 +pkg syscall/zx/io, const ModeTypeSymlink = 40960 +pkg syscall/zx/io, const ModeTypeSymlink uint32 +pkg syscall/zx/io, const ModeType_Mask = 2147483648 pkg syscall/zx/io, const ModeType_Mask ModeType -pkg syscall/zx/io, const Move = 192 -pkg syscall/zx/io, const Move InotifyWatchMask pkg syscall/zx/io, const Node1CloneOrdinal = 6512600400724287855 pkg syscall/zx/io, const Node1CloneOrdinal uint64 pkg syscall/zx/io, const Node1GetAttrOrdinal = 8689798978500614909 @@ -2456,12 +2603,32 @@ pkg syscall/zx/io, const Node2GetAttributesResultResponse ideal-int pkg syscall/zx/io, const Node2GetConnectionInfoOrdinal = 6362521381364198667 pkg syscall/zx/io, const Node2GetConnectionInfoOrdinal uint64 +pkg syscall/zx/io, const Node2GetExtendedAttributeOrdinal = 5043930208506967771 +pkg syscall/zx/io, const Node2GetExtendedAttributeOrdinal uint64 +pkg syscall/zx/io, const Node2GetExtendedAttributeResultErr = 2 +pkg syscall/zx/io, const Node2GetExtendedAttributeResultErr ideal-int +pkg syscall/zx/io, const Node2GetExtendedAttributeResultResponse = 1 +pkg syscall/zx/io, const Node2GetExtendedAttributeResultResponse ideal-int +pkg syscall/zx/io, const Node2ListExtendedAttributesOrdinal = 5431626189872037072 +pkg syscall/zx/io, const Node2ListExtendedAttributesOrdinal uint64 pkg syscall/zx/io, const Node2OnRepresentationOrdinal = 6679970090861613324 pkg syscall/zx/io, const Node2OnRepresentationOrdinal uint64 pkg syscall/zx/io, const Node2QueryOrdinal = 2763219980499352582 pkg syscall/zx/io, const Node2QueryOrdinal uint64 +pkg syscall/zx/io, const Node2RemoveExtendedAttributeOrdinal = 8794297771444732717 +pkg syscall/zx/io, const Node2RemoveExtendedAttributeOrdinal uint64 +pkg syscall/zx/io, const Node2RemoveExtendedAttributeResultErr = 2 +pkg syscall/zx/io, const Node2RemoveExtendedAttributeResultErr ideal-int +pkg syscall/zx/io, const Node2RemoveExtendedAttributeResultResponse = 1 +pkg syscall/zx/io, const Node2RemoveExtendedAttributeResultResponse ideal-int pkg syscall/zx/io, const Node2ReopenOrdinal = 7675434429343513249 pkg syscall/zx/io, const Node2ReopenOrdinal uint64 +pkg syscall/zx/io, const Node2SetExtendedAttributeOrdinal = 5374223046099989052 +pkg syscall/zx/io, const Node2SetExtendedAttributeOrdinal uint64 +pkg syscall/zx/io, const Node2SetExtendedAttributeResultErr = 2 +pkg syscall/zx/io, const Node2SetExtendedAttributeResultErr ideal-int +pkg syscall/zx/io, const Node2SetExtendedAttributeResultResponse = 1 +pkg syscall/zx/io, const Node2SetExtendedAttributeResultResponse ideal-int pkg syscall/zx/io, const Node2SyncOrdinal = 3196473584242777161 pkg syscall/zx/io, const Node2SyncOrdinal uint64 pkg syscall/zx/io, const Node2SyncResultErr = 2 @@ -2482,21 +2649,37 @@ pkg syscall/zx/io, const NodeAttributeFlags_Mask NodeAttributeFlags pkg syscall/zx/io, const NodeAttributesQueryAbilities = 2 pkg syscall/zx/io, const NodeAttributesQueryAbilities NodeAttributesQuery +pkg syscall/zx/io, const NodeAttributesQueryAccessTime = 4096 +pkg syscall/zx/io, const NodeAttributesQueryAccessTime NodeAttributesQuery +pkg syscall/zx/io, const NodeAttributesQueryChangeTime = 8192 +pkg syscall/zx/io, const NodeAttributesQueryChangeTime NodeAttributesQuery pkg syscall/zx/io, const NodeAttributesQueryContentSize = 4 pkg syscall/zx/io, const NodeAttributesQueryContentSize NodeAttributesQuery pkg syscall/zx/io, const NodeAttributesQueryCreationTime = 64 pkg syscall/zx/io, const NodeAttributesQueryCreationTime NodeAttributesQuery +pkg syscall/zx/io, const NodeAttributesQueryGid = 1024 +pkg syscall/zx/io, const NodeAttributesQueryGid NodeAttributesQuery pkg syscall/zx/io, const NodeAttributesQueryId = 32 pkg syscall/zx/io, const NodeAttributesQueryId NodeAttributesQuery pkg syscall/zx/io, const NodeAttributesQueryLinkCount = 16 pkg syscall/zx/io, const NodeAttributesQueryLinkCount NodeAttributesQuery +pkg syscall/zx/io, const NodeAttributesQueryMode = 256 +pkg syscall/zx/io, const NodeAttributesQueryMode NodeAttributesQuery pkg syscall/zx/io, const NodeAttributesQueryModificationTime = 128 pkg syscall/zx/io, const NodeAttributesQueryModificationTime NodeAttributesQuery +pkg syscall/zx/io, const NodeAttributesQueryOptions = 16384 +pkg syscall/zx/io, const NodeAttributesQueryOptions NodeAttributesQuery pkg syscall/zx/io, const NodeAttributesQueryProtocols = 1 pkg syscall/zx/io, const NodeAttributesQueryProtocols NodeAttributesQuery +pkg syscall/zx/io, const NodeAttributesQueryRdev = 2048 +pkg syscall/zx/io, const NodeAttributesQueryRdev NodeAttributesQuery +pkg syscall/zx/io, const NodeAttributesQueryRootHash = 32768 +pkg syscall/zx/io, const NodeAttributesQueryRootHash NodeAttributesQuery pkg syscall/zx/io, const NodeAttributesQueryStorageSize = 8 pkg syscall/zx/io, const NodeAttributesQueryStorageSize NodeAttributesQuery -pkg syscall/zx/io, const NodeAttributesQuery_Mask = 255 +pkg syscall/zx/io, const NodeAttributesQueryUid = 512 +pkg syscall/zx/io, const NodeAttributesQueryUid NodeAttributesQuery +pkg syscall/zx/io, const NodeAttributesQuery_Mask = 65535 pkg syscall/zx/io, const NodeAttributesQuery_Mask NodeAttributesQuery pkg syscall/zx/io, const NodeCloneOrdinal = 6512600400724287855 pkg syscall/zx/io, const NodeCloneOrdinal uint64 @@ -2512,6 +2695,8 @@ pkg syscall/zx/io, const NodeGetAttributesOrdinal uint64 pkg syscall/zx/io, const NodeGetConnectionInfoOrdinal = 6362521381364198667 pkg syscall/zx/io, const NodeGetConnectionInfoOrdinal uint64 +pkg syscall/zx/io, const NodeGetExtendedAttributeOrdinal = 5043930208506967771 +pkg syscall/zx/io, const NodeGetExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const NodeGetFlagsOrdinal = 6595803110182632097 pkg syscall/zx/io, const NodeGetFlagsOrdinal uint64 pkg syscall/zx/io, const NodeInfoDeprecatedDirectory = 3 @@ -2520,28 +2705,42 @@ pkg syscall/zx/io, const NodeInfoDeprecatedFile ideal-int pkg syscall/zx/io, const NodeInfoDeprecatedService = 1 pkg syscall/zx/io, const NodeInfoDeprecatedService ideal-int +pkg syscall/zx/io, const NodeInfoDeprecatedSymlink = 4 +pkg syscall/zx/io, const NodeInfoDeprecatedSymlink ideal-int +pkg syscall/zx/io, const NodeListExtendedAttributesOrdinal = 5431626189872037072 +pkg syscall/zx/io, const NodeListExtendedAttributesOrdinal uint64 pkg syscall/zx/io, const NodeOnOpenOrdinal = 9207534335756671346 pkg syscall/zx/io, const NodeOnOpenOrdinal uint64 pkg syscall/zx/io, const NodeOnRepresentationOrdinal = 6679970090861613324 pkg syscall/zx/io, const NodeOnRepresentationOrdinal uint64 +pkg syscall/zx/io, const NodeProtocolFlagsMustBeDirectory = 1 +pkg syscall/zx/io, const NodeProtocolFlagsMustBeDirectory NodeProtocolFlags +pkg syscall/zx/io, const NodeProtocolFlags_Mask = 1 +pkg syscall/zx/io, const NodeProtocolFlags_Mask NodeProtocolFlags pkg syscall/zx/io, const NodeProtocolKindsConnector = 1 pkg syscall/zx/io, const NodeProtocolKindsConnector NodeProtocolKinds pkg syscall/zx/io, const NodeProtocolKindsDirectory = 2 pkg syscall/zx/io, const NodeProtocolKindsDirectory NodeProtocolKinds pkg syscall/zx/io, const NodeProtocolKindsFile = 4 pkg syscall/zx/io, const NodeProtocolKindsFile NodeProtocolKinds -pkg syscall/zx/io, const NodeProtocolKinds_Mask = 7 +pkg syscall/zx/io, const NodeProtocolKindsSymlink = 8 +pkg syscall/zx/io, const NodeProtocolKindsSymlink NodeProtocolKinds +pkg syscall/zx/io, const NodeProtocolKinds_Mask = 15 pkg syscall/zx/io, const NodeProtocolKinds_Mask NodeProtocolKinds -pkg syscall/zx/io, const NodeProtocolName = "fuchsia.io/Node" -pkg syscall/zx/io, const NodeProtocolName string +pkg syscall/zx/io, const NodeProtocolName_ = "fuchsia.io/Node" +pkg syscall/zx/io, const NodeProtocolName_ string pkg syscall/zx/io, const NodeQueryFilesystemOrdinal = 8013111122914313744 pkg syscall/zx/io, const NodeQueryFilesystemOrdinal uint64 pkg syscall/zx/io, const NodeQueryOrdinal = 2763219980499352582 pkg syscall/zx/io, const NodeQueryOrdinal uint64 +pkg syscall/zx/io, const NodeRemoveExtendedAttributeOrdinal = 8794297771444732717 +pkg syscall/zx/io, const NodeRemoveExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const NodeReopenOrdinal = 7675434429343513249 pkg syscall/zx/io, const NodeReopenOrdinal uint64 pkg syscall/zx/io, const NodeSetAttrOrdinal = 4721673413776871238 pkg syscall/zx/io, const NodeSetAttrOrdinal uint64 +pkg syscall/zx/io, const NodeSetExtendedAttributeOrdinal = 5374223046099989052 +pkg syscall/zx/io, const NodeSetExtendedAttributeOrdinal uint64 pkg syscall/zx/io, const NodeSetFlagsOrdinal = 5950864159036794675 pkg syscall/zx/io, const NodeSetFlagsOrdinal uint64 pkg syscall/zx/io, const NodeSyncOrdinal = 3196473584242777161 @@ -2626,12 +2825,10 @@ pkg syscall/zx/io, const RepresentationDirectory ideal-int pkg syscall/zx/io, const RepresentationFile = 3 pkg syscall/zx/io, const RepresentationFile ideal-int +pkg syscall/zx/io, const RepresentationSymlink = 4 +pkg syscall/zx/io, const RepresentationSymlink ideal-int pkg syscall/zx/io, const Representation_unknownData = 0 pkg syscall/zx/io, const Representation_unknownData ideal-int -pkg syscall/zx/io, const RightsResolutionMaximize = 1 -pkg syscall/zx/io, const RightsResolutionMaximize RightsResolution -pkg syscall/zx/io, const RightsResolutionPosix = 2 -pkg syscall/zx/io, const RightsResolutionPosix RightsResolution pkg syscall/zx/io, const RwStarDir = 503 pkg syscall/zx/io, const RwStarDir Operations pkg syscall/zx/io, const RxStarDir = 219 @@ -2642,6 +2839,58 @@ pkg syscall/zx/io, const SeekOriginEnd SeekOrigin pkg syscall/zx/io, const SeekOriginStart = 0 pkg syscall/zx/io, const SeekOriginStart SeekOrigin +pkg syscall/zx/io, const SetExtendedAttributeModeCreate = 2 +pkg syscall/zx/io, const SetExtendedAttributeModeCreate SetExtendedAttributeMode +pkg syscall/zx/io, const SetExtendedAttributeModeReplace = 3 +pkg syscall/zx/io, const SetExtendedAttributeModeReplace SetExtendedAttributeMode +pkg syscall/zx/io, const SetExtendedAttributeModeSet = 1 +pkg syscall/zx/io, const SetExtendedAttributeModeSet SetExtendedAttributeMode +pkg syscall/zx/io, const SymlinkCloneOrdinal = 6512600400724287855 +pkg syscall/zx/io, const SymlinkCloneOrdinal uint64 +pkg syscall/zx/io, const SymlinkCloseOrdinal = 6540867515453498750 +pkg syscall/zx/io, const SymlinkCloseOrdinal uint64 +pkg syscall/zx/io, const SymlinkDescribeOrdinal = 8371117097481679347 +pkg syscall/zx/io, const SymlinkDescribeOrdinal uint64 +pkg syscall/zx/io, const SymlinkGetAttrOrdinal = 8689798978500614909 +pkg syscall/zx/io, const SymlinkGetAttrOrdinal uint64 +pkg syscall/zx/io, const SymlinkGetAttributesOrdinal = 4414537700416816443 +pkg syscall/zx/io, const SymlinkGetAttributesOrdinal uint64 +pkg syscall/zx/io, const SymlinkGetConnectionInfoOrdinal = 6362521381364198667 +pkg syscall/zx/io, const SymlinkGetConnectionInfoOrdinal uint64 +pkg syscall/zx/io, const SymlinkGetExtendedAttributeOrdinal = 5043930208506967771 +pkg syscall/zx/io, const SymlinkGetExtendedAttributeOrdinal uint64 +pkg syscall/zx/io, const SymlinkGetFlagsOrdinal = 6595803110182632097 +pkg syscall/zx/io, const SymlinkGetFlagsOrdinal uint64 +pkg syscall/zx/io, const SymlinkLinkIntoOrdinal = 6121399674497678964 +pkg syscall/zx/io, const SymlinkLinkIntoOrdinal uint64 +pkg syscall/zx/io, const SymlinkListExtendedAttributesOrdinal = 5431626189872037072 +pkg syscall/zx/io, const SymlinkListExtendedAttributesOrdinal uint64 +pkg syscall/zx/io, const SymlinkOnOpenOrdinal = 9207534335756671346 +pkg syscall/zx/io, const SymlinkOnOpenOrdinal uint64 +pkg syscall/zx/io, const SymlinkOnRepresentationOrdinal = 6679970090861613324 +pkg syscall/zx/io, const SymlinkOnRepresentationOrdinal uint64 +pkg syscall/zx/io, const SymlinkProtocolFlags_Mask = 0 +pkg syscall/zx/io, const SymlinkProtocolFlags_Mask SymlinkProtocolFlags +pkg syscall/zx/io, const SymlinkProtocolName_ = "fuchsia.io/Symlink" +pkg syscall/zx/io, const SymlinkProtocolName_ string +pkg syscall/zx/io, const SymlinkQueryFilesystemOrdinal = 8013111122914313744 +pkg syscall/zx/io, const SymlinkQueryFilesystemOrdinal uint64 +pkg syscall/zx/io, const SymlinkQueryOrdinal = 2763219980499352582 +pkg syscall/zx/io, const SymlinkQueryOrdinal uint64 +pkg syscall/zx/io, const SymlinkRemoveExtendedAttributeOrdinal = 8794297771444732717 +pkg syscall/zx/io, const SymlinkRemoveExtendedAttributeOrdinal uint64 +pkg syscall/zx/io, const SymlinkReopenOrdinal = 7675434429343513249 +pkg syscall/zx/io, const SymlinkReopenOrdinal uint64 +pkg syscall/zx/io, const SymlinkSetAttrOrdinal = 4721673413776871238 +pkg syscall/zx/io, const SymlinkSetAttrOrdinal uint64 +pkg syscall/zx/io, const SymlinkSetExtendedAttributeOrdinal = 5374223046099989052 +pkg syscall/zx/io, const SymlinkSetExtendedAttributeOrdinal uint64 +pkg syscall/zx/io, const SymlinkSetFlagsOrdinal = 5950864159036794675 +pkg syscall/zx/io, const SymlinkSetFlagsOrdinal uint64 +pkg syscall/zx/io, const SymlinkSyncOrdinal = 3196473584242777161 +pkg syscall/zx/io, const SymlinkSyncOrdinal uint64 +pkg syscall/zx/io, const SymlinkUpdateAttributesOrdinal = 3677402239314018056 +pkg syscall/zx/io, const SymlinkUpdateAttributesOrdinal uint64 pkg syscall/zx/io, const UnlinkFlagsMustBeDirectory = 1 pkg syscall/zx/io, const UnlinkFlagsMustBeDirectory UnlinkFlags pkg syscall/zx/io, const UnlinkFlags_Mask = 1 @@ -2694,12 +2943,22 @@ pkg syscall/zx/io, func AdvisoryLockingAdvisoryLockResultWithResponse(AdvisoryLockingAdvisoryLockResponse) AdvisoryLockingAdvisoryLockResult pkg syscall/zx/io, func ConnectionProtocolsWithConnector(ConnectorFlags) ConnectionProtocols pkg syscall/zx/io, func ConnectionProtocolsWithNode(NodeOptions) ConnectionProtocols +pkg syscall/zx/io, func Directory2CreateSymlinkResultWithErr(int32) Directory2CreateSymlinkResult +pkg syscall/zx/io, func Directory2CreateSymlinkResultWithResponse(Directory2CreateSymlinkResponse) Directory2CreateSymlinkResult pkg syscall/zx/io, func Directory2RenameResultWithErr(int32) Directory2RenameResult pkg syscall/zx/io, func Directory2RenameResultWithResponse(Directory2RenameResponse) Directory2RenameResult pkg syscall/zx/io, func Directory2UnlinkResultWithErr(int32) Directory2UnlinkResult pkg syscall/zx/io, func Directory2UnlinkResultWithResponse(Directory2UnlinkResponse) Directory2UnlinkResult pkg syscall/zx/io, func DirectoryIteratorGetNextResultWithErr(int32) DirectoryIteratorGetNextResult pkg syscall/zx/io, func DirectoryIteratorGetNextResultWithResponse(DirectoryIteratorGetNextResponse) DirectoryIteratorGetNextResult +pkg syscall/zx/io, func ExtendedAttributeIteratorGetNextResultWithErr(int32) ExtendedAttributeIteratorGetNextResult +pkg syscall/zx/io, func ExtendedAttributeIteratorGetNextResultWithResponse(ExtendedAttributeIteratorGetNextResponse) ExtendedAttributeIteratorGetNextResult +pkg syscall/zx/io, func ExtendedAttributeValueWithBuffer(zx.VMO) ExtendedAttributeValue +pkg syscall/zx/io, func ExtendedAttributeValueWithBytes([]uint8) ExtendedAttributeValue +pkg syscall/zx/io, func FileAllocateResultWithErr(int32) FileAllocateResult +pkg syscall/zx/io, func FileAllocateResultWithResponse(FileAllocateResponse) FileAllocateResult +pkg syscall/zx/io, func FileEnableVerityResultWithErr(int32) FileEnableVerityResult +pkg syscall/zx/io, func FileEnableVerityResultWithResponse(FileEnableVerityResponse) FileEnableVerityResult pkg syscall/zx/io, func FileGetBackingMemoryResultWithErr(int32) FileGetBackingMemoryResult pkg syscall/zx/io, func FileGetBackingMemoryResultWithResponse(FileGetBackingMemoryResponse) FileGetBackingMemoryResult pkg syscall/zx/io, func FileReadAtResultWithErr(int32) FileReadAtResult @@ -2710,22 +2969,32 @@ pkg syscall/zx/io, func FileSeekResultWithResponse(FileSeekResponse) FileSeekResult pkg syscall/zx/io, func FileWriteAtResultWithErr(int32) FileWriteAtResult pkg syscall/zx/io, func FileWriteAtResultWithResponse(FileWriteAtResponse) FileWriteAtResult +pkg syscall/zx/io, func LinkableLinkIntoResultWithErr(int32) LinkableLinkIntoResult +pkg syscall/zx/io, func LinkableLinkIntoResultWithResponse(LinkableLinkIntoResponse) LinkableLinkIntoResult pkg syscall/zx/io, func NewAdvisoryLockingWithCtxInterfaceRequest() (AdvisoryLockingWithCtxInterfaceRequest, *AdvisoryLockingWithCtxInterface, error) pkg syscall/zx/io, func NewDirectory1WithCtxInterfaceRequest() (Directory1WithCtxInterfaceRequest, *Directory1WithCtxInterface, error) pkg syscall/zx/io, func NewDirectory2WithCtxInterfaceRequest() (Directory2WithCtxInterfaceRequest, *Directory2WithCtxInterface, error) pkg syscall/zx/io, func NewDirectoryIteratorWithCtxInterfaceRequest() (DirectoryIteratorWithCtxInterfaceRequest, *DirectoryIteratorWithCtxInterface, error) pkg syscall/zx/io, func NewDirectoryWatcherWithCtxInterfaceRequest() (DirectoryWatcherWithCtxInterfaceRequest, *DirectoryWatcherWithCtxInterface, error) pkg syscall/zx/io, func NewDirectoryWithCtxInterfaceRequest() (DirectoryWithCtxInterfaceRequest, *DirectoryWithCtxInterface, error) +pkg syscall/zx/io, func NewExtendedAttributeIteratorWithCtxInterfaceRequest() (ExtendedAttributeIteratorWithCtxInterfaceRequest, *ExtendedAttributeIteratorWithCtxInterface, error) pkg syscall/zx/io, func NewFileWithCtxInterfaceRequest() (FileWithCtxInterfaceRequest, *FileWithCtxInterface, error) -pkg syscall/zx/io, func NewInotifierWithCtxInterfaceRequest() (InotifierWithCtxInterfaceRequest, *InotifierWithCtxInterface, error) +pkg syscall/zx/io, func NewLinkableWithCtxInterfaceRequest() (LinkableWithCtxInterfaceRequest, *LinkableWithCtxInterface, error) pkg syscall/zx/io, func NewNode1WithCtxInterfaceRequest() (Node1WithCtxInterfaceRequest, *Node1WithCtxInterface, error) pkg syscall/zx/io, func NewNode2WithCtxInterfaceRequest() (Node2WithCtxInterfaceRequest, *Node2WithCtxInterface, error) pkg syscall/zx/io, func NewNodeWithCtxInterfaceRequest() (NodeWithCtxInterfaceRequest, *NodeWithCtxInterface, error) pkg syscall/zx/io, func NewOpenableWithCtxInterfaceRequest() (OpenableWithCtxInterfaceRequest, *OpenableWithCtxInterface, error) pkg syscall/zx/io, func NewReadableWithCtxInterfaceRequest() (ReadableWithCtxInterfaceRequest, *ReadableWithCtxInterface, error) +pkg syscall/zx/io, func NewSymlinkWithCtxInterfaceRequest() (SymlinkWithCtxInterfaceRequest, *SymlinkWithCtxInterface, error) pkg syscall/zx/io, func NewWritableWithCtxInterfaceRequest() (WritableWithCtxInterfaceRequest, *WritableWithCtxInterface, error) pkg syscall/zx/io, func Node2GetAttributesResultWithErr(int32) Node2GetAttributesResult pkg syscall/zx/io, func Node2GetAttributesResultWithResponse(NodeAttributes2) Node2GetAttributesResult +pkg syscall/zx/io, func Node2GetExtendedAttributeResultWithErr(int32) Node2GetExtendedAttributeResult +pkg syscall/zx/io, func Node2GetExtendedAttributeResultWithResponse(ExtendedAttributeValue) Node2GetExtendedAttributeResult +pkg syscall/zx/io, func Node2RemoveExtendedAttributeResultWithErr(int32) Node2RemoveExtendedAttributeResult +pkg syscall/zx/io, func Node2RemoveExtendedAttributeResultWithResponse(Node2RemoveExtendedAttributeResponse) Node2RemoveExtendedAttributeResult +pkg syscall/zx/io, func Node2SetExtendedAttributeResultWithErr(int32) Node2SetExtendedAttributeResult +pkg syscall/zx/io, func Node2SetExtendedAttributeResultWithResponse(Node2SetExtendedAttributeResponse) Node2SetExtendedAttributeResult pkg syscall/zx/io, func Node2SyncResultWithErr(int32) Node2SyncResult pkg syscall/zx/io, func Node2SyncResultWithResponse(Node2SyncResponse) Node2SyncResult pkg syscall/zx/io, func Node2UpdateAttributesResultWithErr(int32) Node2UpdateAttributesResult @@ -2733,11 +3002,13 @@ pkg syscall/zx/io, func NodeInfoDeprecatedWithDirectory(DirectoryObject) NodeInfoDeprecated pkg syscall/zx/io, func NodeInfoDeprecatedWithFile(FileObject) NodeInfoDeprecated pkg syscall/zx/io, func NodeInfoDeprecatedWithService(Service) NodeInfoDeprecated +pkg syscall/zx/io, func NodeInfoDeprecatedWithSymlink(SymlinkObject) NodeInfoDeprecated pkg syscall/zx/io, func ReadableReadResultWithErr(int32) ReadableReadResult pkg syscall/zx/io, func ReadableReadResultWithResponse(ReadableReadResponse) ReadableReadResult pkg syscall/zx/io, func RepresentationWithConnector(ConnectorInfo) Representation pkg syscall/zx/io, func RepresentationWithDirectory(DirectoryInfo) Representation pkg syscall/zx/io, func RepresentationWithFile(FileInfo) Representation +pkg syscall/zx/io, func RepresentationWithSymlink(SymlinkInfo) Representation pkg syscall/zx/io, func WritableWriteResultWithErr(int32) WritableWriteResult pkg syscall/zx/io, func WritableWriteResultWithResponse(WritableWriteResponse) WritableWriteResult pkg syscall/zx/io, method (*AdvisoryLockRange) Marshaler() fidl.Marshaler @@ -2759,6 +3030,7 @@ pkg syscall/zx/io, method (*AdvisoryLockRequest) SetRange(AdvisoryLockRange) pkg syscall/zx/io, method (*AdvisoryLockRequest) SetType(AdvisoryLockType) pkg syscall/zx/io, method (*AdvisoryLockRequest) SetWait(bool) +pkg syscall/zx/io, method (*AdvisoryLockingAdvisoryLockRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*AdvisoryLockingAdvisoryLockResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*AdvisoryLockingAdvisoryLockResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*AdvisoryLockingAdvisoryLockResult) Ordinal() uint64 @@ -2784,11 +3056,24 @@ pkg syscall/zx/io, method (*ConnectionProtocols) SetConnector(ConnectorFlags) pkg syscall/zx/io, method (*ConnectionProtocols) SetNode(NodeOptions) pkg syscall/zx/io, method (*ConnectionProtocols) Which() I_connectionProtocolsTag +pkg syscall/zx/io, method (*ConnectorInfo) ClearAttributes() +pkg syscall/zx/io, method (*ConnectorInfo) GetAttributes() NodeAttributes2 +pkg syscall/zx/io, method (*ConnectorInfo) GetAttributesWithDefault(NodeAttributes2) NodeAttributes2 pkg syscall/zx/io, method (*ConnectorInfo) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/io, method (*ConnectorInfo) HasAttributes() bool pkg syscall/zx/io, method (*ConnectorInfo) HasUnknownData() bool pkg syscall/zx/io, method (*ConnectorInfo) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*ConnectorInfo) SetAttributes(NodeAttributes2) pkg syscall/zx/io, method (*Directory1EventProxy) Handle() *zx.Handle pkg syscall/zx/io, method (*Directory1EventProxy) OnOpen(int32, *NodeInfoDeprecated) error +pkg syscall/zx/io, method (*Directory1GetTokenResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory1LinkRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory1LinkResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory1ReadDirentsRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory1ReadDirentsResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory1RewindResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory1WatchRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory1WatchResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Directory1WithCtxInterface) Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*Directory1WithCtxInterface) ExpectOnOpen(context.Context) (int32, *NodeInfoDeprecated, error) pkg syscall/zx/io, method (*Directory1WithCtxInterface) GetAttr(context.Context) (int32, NodeAttributes, error) @@ -2805,37 +3090,57 @@ pkg syscall/zx/io, method (*Directory1WithCtxInterface) Watch(context.Context, WatchMask, uint32, DirectoryWatcherWithCtxInterfaceRequest) (int32, error) pkg syscall/zx/io, method (*Directory1WithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/io, method (*Directory1WithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/io, method (*Directory2CreateSymlinkRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory2CreateSymlinkResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory2CreateSymlinkResult) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory2CreateSymlinkResult) Ordinal() uint64 +pkg syscall/zx/io, method (*Directory2CreateSymlinkResult) SetErr(int32) +pkg syscall/zx/io, method (*Directory2CreateSymlinkResult) SetResponse(Directory2CreateSymlinkResponse) +pkg syscall/zx/io, method (*Directory2CreateSymlinkResult) Which() I_directory2CreateSymlinkResultTag +pkg syscall/zx/io, method (*Directory2EnumerateRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Directory2EventProxy) Handle() *zx.Handle pkg syscall/zx/io, method (*Directory2EventProxy) OnRepresentation(Representation) error +pkg syscall/zx/io, method (*Directory2Open2Request) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Directory2RenameRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Directory2RenameResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Directory2RenameResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Directory2RenameResult) Ordinal() uint64 pkg syscall/zx/io, method (*Directory2RenameResult) SetErr(int32) pkg syscall/zx/io, method (*Directory2RenameResult) SetResponse(Directory2RenameResponse) pkg syscall/zx/io, method (*Directory2RenameResult) Which() I_directory2RenameResultTag +pkg syscall/zx/io, method (*Directory2UnlinkRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Directory2UnlinkResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Directory2UnlinkResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Directory2UnlinkResult) Ordinal() uint64 pkg syscall/zx/io, method (*Directory2UnlinkResult) SetErr(int32) pkg syscall/zx/io, method (*Directory2UnlinkResult) SetResponse(Directory2UnlinkResponse) pkg syscall/zx/io, method (*Directory2UnlinkResult) Which() I_directory2UnlinkResultTag -pkg syscall/zx/io, method (*Directory2WithCtxInterface) AddInotifyFilter(context.Context, string, InotifyWatchMask, uint32, zx.Socket) error pkg syscall/zx/io, method (*Directory2WithCtxInterface) AdvisoryLock(context.Context, AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) pkg syscall/zx/io, method (*Directory2WithCtxInterface) Close(context.Context) (unknown.CloseableCloseResult, error) +pkg syscall/zx/io, method (*Directory2WithCtxInterface) CreateSymlink(context.Context, string, []uint8, SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) pkg syscall/zx/io, method (*Directory2WithCtxInterface) Enumerate(context.Context, DirectoryEnumerateOptions, DirectoryIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*Directory2WithCtxInterface) ExpectOnRepresentation(context.Context) (Representation, error) pkg syscall/zx/io, method (*Directory2WithCtxInterface) GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) pkg syscall/zx/io, method (*Directory2WithCtxInterface) GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, method (*Directory2WithCtxInterface) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) pkg syscall/zx/io, method (*Directory2WithCtxInterface) Handle() *zx.Handle +pkg syscall/zx/io, method (*Directory2WithCtxInterface) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*Directory2WithCtxInterface) Open2(context.Context, string, ConnectionProtocols, zx.Channel) error pkg syscall/zx/io, method (*Directory2WithCtxInterface) Query(context.Context) ([]uint8, error) +pkg syscall/zx/io, method (*Directory2WithCtxInterface) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) pkg syscall/zx/io, method (*Directory2WithCtxInterface) Rename(context.Context, string, zx.Event, string) (Directory2RenameResult, error) -pkg syscall/zx/io, method (*Directory2WithCtxInterface) Reopen(context.Context, *RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*Directory2WithCtxInterface) Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*Directory2WithCtxInterface) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, method (*Directory2WithCtxInterface) Sync(context.Context) (Node2SyncResult, error) pkg syscall/zx/io, method (*Directory2WithCtxInterface) Unlink(context.Context, string, UnlinkOptions) (Directory2UnlinkResult, error) pkg syscall/zx/io, method (*Directory2WithCtxInterface) UpdateAttributes(context.Context, MutableNodeAttributes) (Node2UpdateAttributesResult, error) pkg syscall/zx/io, method (*Directory2WithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/io, method (*Directory2WithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/io, method (*Directory2WithCtxTransitionalBase) CreateSymlink(context.Context, string, []uint8, SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) +pkg syscall/zx/io, method (*Directory2WithCtxTransitionalBase) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) +pkg syscall/zx/io, method (*Directory2WithCtxTransitionalBase) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*Directory2WithCtxTransitionalBase) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, method (*Directory2WithCtxTransitionalBase) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, method (*DirectoryEntry) ClearAbilities() pkg syscall/zx/io, method (*DirectoryEntry) ClearId() pkg syscall/zx/io, method (*DirectoryEntry) ClearName() @@ -2865,9 +3170,14 @@ pkg syscall/zx/io, method (*DirectoryEventProxy) Handle() *zx.Handle pkg syscall/zx/io, method (*DirectoryEventProxy) OnOpen(int32, *NodeInfoDeprecated) error pkg syscall/zx/io, method (*DirectoryEventProxy) OnRepresentation(Representation) error +pkg syscall/zx/io, method (*DirectoryInfo) ClearAttributes() +pkg syscall/zx/io, method (*DirectoryInfo) GetAttributes() NodeAttributes2 +pkg syscall/zx/io, method (*DirectoryInfo) GetAttributesWithDefault(NodeAttributes2) NodeAttributes2 pkg syscall/zx/io, method (*DirectoryInfo) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/io, method (*DirectoryInfo) HasAttributes() bool pkg syscall/zx/io, method (*DirectoryInfo) HasUnknownData() bool pkg syscall/zx/io, method (*DirectoryInfo) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*DirectoryInfo) SetAttributes(NodeAttributes2) pkg syscall/zx/io, method (*DirectoryIteratorEventProxy) Handle() *zx.Handle pkg syscall/zx/io, method (*DirectoryIteratorGetNextResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*DirectoryIteratorGetNextResult) Marshaler() fidl.Marshaler @@ -2880,33 +3190,45 @@ pkg syscall/zx/io, method (*DirectoryIteratorWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/io, method (*DirectoryIteratorWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) pkg syscall/zx/io, method (*DirectoryObject) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*DirectoryProtocolOptions) ClearOptionalRights() +pkg syscall/zx/io, method (*DirectoryProtocolOptions) GetOptionalRights() Operations +pkg syscall/zx/io, method (*DirectoryProtocolOptions) GetOptionalRightsWithDefault(Operations) Operations +pkg syscall/zx/io, method (*DirectoryProtocolOptions) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/io, method (*DirectoryProtocolOptions) HasOptionalRights() bool +pkg syscall/zx/io, method (*DirectoryProtocolOptions) HasUnknownData() bool +pkg syscall/zx/io, method (*DirectoryProtocolOptions) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*DirectoryProtocolOptions) SetOptionalRights(Operations) pkg syscall/zx/io, method (*DirectoryWatcherEventProxy) Handle() *zx.Handle pkg syscall/zx/io, method (*DirectoryWatcherWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/io, method (*DirectoryWatcherWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/io, method (*DirectoryWatcherWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) -pkg syscall/zx/io, method (*DirectoryWithCtxInterface) AddInotifyFilter(context.Context, string, InotifyWatchMask, uint32, zx.Socket) error pkg syscall/zx/io, method (*DirectoryWithCtxInterface) AdvisoryLock(context.Context, AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Close(context.Context) (unknown.CloseableCloseResult, error) +pkg syscall/zx/io, method (*DirectoryWithCtxInterface) CreateSymlink(context.Context, string, []uint8, SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Enumerate(context.Context, DirectoryEnumerateOptions, DirectoryIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*DirectoryWithCtxInterface) ExpectOnOpen(context.Context) (int32, *NodeInfoDeprecated, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) ExpectOnRepresentation(context.Context) (Representation, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) GetAttr(context.Context) (int32, NodeAttributes, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, method (*DirectoryWithCtxInterface) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) GetFlags(context.Context) (int32, OpenFlags, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) GetToken(context.Context) (int32, zx.Handle, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Link(context.Context, string, zx.Handle, string) (int32, error) +pkg syscall/zx/io, method (*DirectoryWithCtxInterface) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Open(context.Context, OpenFlags, ModeType, string, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Open2(context.Context, string, ConnectionProtocols, zx.Channel) error pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Query(context.Context) ([]uint8, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) QueryFilesystem(context.Context) (int32, *FilesystemInfo, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) ReadDirents(context.Context, uint64) (int32, []uint8, error) +pkg syscall/zx/io, method (*DirectoryWithCtxInterface) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Rename(context.Context, string, zx.Event, string) (Directory2RenameResult, error) -pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Reopen(context.Context, *RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Rewind(context.Context) (int32, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) SetAttr(context.Context, NodeAttributeFlags, NodeAttributes) (int32, error) +pkg syscall/zx/io, method (*DirectoryWithCtxInterface) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) SetFlags(context.Context, OpenFlags) (int32, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Sync(context.Context) (Node2SyncResult, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Unlink(context.Context, string, UnlinkOptions) (Directory2UnlinkResult, error) @@ -2914,18 +3236,57 @@ pkg syscall/zx/io, method (*DirectoryWithCtxInterface) Watch(context.Context, WatchMask, uint32, DirectoryWatcherWithCtxInterfaceRequest) (int32, error) pkg syscall/zx/io, method (*DirectoryWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/io, method (*DirectoryWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/io, method (*DirectoryWithCtxTransitionalBase) CreateSymlink(context.Context, string, []uint8, SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) +pkg syscall/zx/io, method (*DirectoryWithCtxTransitionalBase) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) +pkg syscall/zx/io, method (*DirectoryWithCtxTransitionalBase) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*DirectoryWithCtxTransitionalBase) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, method (*DirectoryWithCtxTransitionalBase) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) +pkg syscall/zx/io, method (*ExtendedAttributeIteratorEventProxy) Handle() *zx.Handle +pkg syscall/zx/io, method (*ExtendedAttributeIteratorGetNextResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*ExtendedAttributeIteratorGetNextResult) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*ExtendedAttributeIteratorGetNextResult) Ordinal() uint64 +pkg syscall/zx/io, method (*ExtendedAttributeIteratorGetNextResult) SetErr(int32) +pkg syscall/zx/io, method (*ExtendedAttributeIteratorGetNextResult) SetResponse(ExtendedAttributeIteratorGetNextResponse) +pkg syscall/zx/io, method (*ExtendedAttributeIteratorGetNextResult) Which() I_extendedAttributeIteratorGetNextResultTag +pkg syscall/zx/io, method (*ExtendedAttributeIteratorWithCtxInterface) GetNext(context.Context) (ExtendedAttributeIteratorGetNextResult, error) +pkg syscall/zx/io, method (*ExtendedAttributeIteratorWithCtxInterface) Handle() *zx.Handle +pkg syscall/zx/io, method (*ExtendedAttributeIteratorWithCtxInterfaceRequest) Handle() *zx.Handle +pkg syscall/zx/io, method (*ExtendedAttributeIteratorWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/io, method (*ExtendedAttributeValue) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*ExtendedAttributeValue) Ordinal() uint64 +pkg syscall/zx/io, method (*ExtendedAttributeValue) SetBuffer(zx.VMO) +pkg syscall/zx/io, method (*ExtendedAttributeValue) SetBytes([]uint8) +pkg syscall/zx/io, method (*ExtendedAttributeValue) Which() I_extendedAttributeValueTag +pkg syscall/zx/io, method (*FileAllocateRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*FileAllocateResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*FileAllocateResult) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*FileAllocateResult) Ordinal() uint64 +pkg syscall/zx/io, method (*FileAllocateResult) SetErr(int32) +pkg syscall/zx/io, method (*FileAllocateResult) SetResponse(FileAllocateResponse) +pkg syscall/zx/io, method (*FileAllocateResult) Which() I_fileAllocateResultTag +pkg syscall/zx/io, method (*FileEnableVerityRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*FileEnableVerityResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*FileEnableVerityResult) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*FileEnableVerityResult) Ordinal() uint64 +pkg syscall/zx/io, method (*FileEnableVerityResult) SetErr(int32) +pkg syscall/zx/io, method (*FileEnableVerityResult) SetResponse(FileEnableVerityResponse) +pkg syscall/zx/io, method (*FileEnableVerityResult) Which() I_fileEnableVerityResultTag pkg syscall/zx/io, method (*FileEventProxy) Handle() *zx.Handle pkg syscall/zx/io, method (*FileEventProxy) OnOpen(int32, *NodeInfoDeprecated) error pkg syscall/zx/io, method (*FileEventProxy) OnRepresentation(Representation) error +pkg syscall/zx/io, method (*FileGetBackingMemoryRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileGetBackingMemoryResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileGetBackingMemoryResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileGetBackingMemoryResult) Ordinal() uint64 pkg syscall/zx/io, method (*FileGetBackingMemoryResult) SetErr(int32) pkg syscall/zx/io, method (*FileGetBackingMemoryResult) SetResponse(FileGetBackingMemoryResponse) pkg syscall/zx/io, method (*FileGetBackingMemoryResult) Which() I_fileGetBackingMemoryResultTag +pkg syscall/zx/io, method (*FileInfo) ClearAttributes() pkg syscall/zx/io, method (*FileInfo) ClearIsAppend() pkg syscall/zx/io, method (*FileInfo) ClearObserver() pkg syscall/zx/io, method (*FileInfo) ClearStream() +pkg syscall/zx/io, method (*FileInfo) GetAttributes() NodeAttributes2 +pkg syscall/zx/io, method (*FileInfo) GetAttributesWithDefault(NodeAttributes2) NodeAttributes2 pkg syscall/zx/io, method (*FileInfo) GetIsAppend() bool pkg syscall/zx/io, method (*FileInfo) GetIsAppendWithDefault(bool) bool pkg syscall/zx/io, method (*FileInfo) GetObserver() zx.Event @@ -2933,27 +3294,32 @@ pkg syscall/zx/io, method (*FileInfo) GetStream() zx.Handle pkg syscall/zx/io, method (*FileInfo) GetStreamWithDefault(zx.Handle) zx.Handle pkg syscall/zx/io, method (*FileInfo) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/io, method (*FileInfo) HasAttributes() bool pkg syscall/zx/io, method (*FileInfo) HasIsAppend() bool pkg syscall/zx/io, method (*FileInfo) HasObserver() bool pkg syscall/zx/io, method (*FileInfo) HasStream() bool pkg syscall/zx/io, method (*FileInfo) HasUnknownData() bool pkg syscall/zx/io, method (*FileInfo) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*FileInfo) SetAttributes(NodeAttributes2) pkg syscall/zx/io, method (*FileInfo) SetIsAppend(bool) pkg syscall/zx/io, method (*FileInfo) SetObserver(zx.Event) pkg syscall/zx/io, method (*FileInfo) SetStream(zx.Handle) pkg syscall/zx/io, method (*FileObject) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*FileReadAtRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileReadAtResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileReadAtResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileReadAtResult) Ordinal() uint64 pkg syscall/zx/io, method (*FileReadAtResult) SetErr(int32) pkg syscall/zx/io, method (*FileReadAtResult) SetResponse(FileReadAtResponse) pkg syscall/zx/io, method (*FileReadAtResult) Which() I_fileReadAtResultTag +pkg syscall/zx/io, method (*FileResizeRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileResizeResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileResizeResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileResizeResult) Ordinal() uint64 pkg syscall/zx/io, method (*FileResizeResult) SetErr(int32) pkg syscall/zx/io, method (*FileResizeResult) SetResponse(FileResizeResponse) pkg syscall/zx/io, method (*FileResizeResult) Which() I_fileResizeResultTag +pkg syscall/zx/io, method (*FileSeekRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileSeekResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileSeekResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileSeekResult) Ordinal() uint64 @@ -2961,25 +3327,32 @@ pkg syscall/zx/io, method (*FileSeekResult) SetResponse(FileSeekResponse) pkg syscall/zx/io, method (*FileSeekResult) Which() I_fileSeekResultTag pkg syscall/zx/io, method (*FileWithCtxInterface) AdvisoryLock(context.Context, AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) +pkg syscall/zx/io, method (*FileWithCtxInterface) Allocate(context.Context, uint64, uint64, AllocateMode) (FileAllocateResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*FileWithCtxInterface) Close(context.Context) (unknown.CloseableCloseResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) Describe(context.Context) (FileInfo, error) +pkg syscall/zx/io, method (*FileWithCtxInterface) EnableVerity(context.Context, VerificationOptions) (FileEnableVerityResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) ExpectOnOpen(context.Context) (int32, *NodeInfoDeprecated, error) pkg syscall/zx/io, method (*FileWithCtxInterface) ExpectOnRepresentation(context.Context) (Representation, error) pkg syscall/zx/io, method (*FileWithCtxInterface) GetAttr(context.Context) (int32, NodeAttributes, error) pkg syscall/zx/io, method (*FileWithCtxInterface) GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) GetBackingMemory(context.Context, VmoFlags) (FileGetBackingMemoryResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, method (*FileWithCtxInterface) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) GetFlags(context.Context) (int32, OpenFlags, error) pkg syscall/zx/io, method (*FileWithCtxInterface) Handle() *zx.Handle +pkg syscall/zx/io, method (*FileWithCtxInterface) LinkInto(context.Context, zx.Event, string) (LinkableLinkIntoResult, error) +pkg syscall/zx/io, method (*FileWithCtxInterface) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*FileWithCtxInterface) Query(context.Context) ([]uint8, error) pkg syscall/zx/io, method (*FileWithCtxInterface) QueryFilesystem(context.Context) (int32, *FilesystemInfo, error) pkg syscall/zx/io, method (*FileWithCtxInterface) Read(context.Context, uint64) (ReadableReadResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) ReadAt(context.Context, uint64, uint64) (FileReadAtResult, error) -pkg syscall/zx/io, method (*FileWithCtxInterface) Reopen(context.Context, *RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*FileWithCtxInterface) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, method (*FileWithCtxInterface) Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*FileWithCtxInterface) Resize(context.Context, uint64) (FileResizeResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) Seek(context.Context, SeekOrigin, int64) (FileSeekResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) SetAttr(context.Context, NodeAttributeFlags, NodeAttributes) (int32, error) +pkg syscall/zx/io, method (*FileWithCtxInterface) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) SetFlags(context.Context, OpenFlags) (int32, error) pkg syscall/zx/io, method (*FileWithCtxInterface) Sync(context.Context) (Node2SyncResult, error) pkg syscall/zx/io, method (*FileWithCtxInterface) UpdateAttributes(context.Context, MutableNodeAttributes) (Node2UpdateAttributesResult, error) @@ -2987,6 +3360,11 @@ pkg syscall/zx/io, method (*FileWithCtxInterface) WriteAt(context.Context, []uint8, uint64) (FileWriteAtResult, error) pkg syscall/zx/io, method (*FileWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/io, method (*FileWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/io, method (*FileWithCtxTransitionalBase) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) +pkg syscall/zx/io, method (*FileWithCtxTransitionalBase) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*FileWithCtxTransitionalBase) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, method (*FileWithCtxTransitionalBase) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) +pkg syscall/zx/io, method (*FileWriteAtRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileWriteAtResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileWriteAtResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*FileWriteAtResult) Ordinal() uint64 @@ -2995,58 +3373,114 @@ pkg syscall/zx/io, method (*FileWriteAtResult) Which() I_fileWriteAtResultTag pkg syscall/zx/io, method (*FilesystemInfo) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*ImmutableNodeAttributes) ClearAbilities() +pkg syscall/zx/io, method (*ImmutableNodeAttributes) ClearChangeTime() pkg syscall/zx/io, method (*ImmutableNodeAttributes) ClearContentSize() pkg syscall/zx/io, method (*ImmutableNodeAttributes) ClearId() pkg syscall/zx/io, method (*ImmutableNodeAttributes) ClearLinkCount() +pkg syscall/zx/io, method (*ImmutableNodeAttributes) ClearOptions() pkg syscall/zx/io, method (*ImmutableNodeAttributes) ClearProtocols() +pkg syscall/zx/io, method (*ImmutableNodeAttributes) ClearRootHash() pkg syscall/zx/io, method (*ImmutableNodeAttributes) ClearStorageSize() pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetAbilities() Operations pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetAbilitiesWithDefault(Operations) Operations +pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetChangeTime() uint64 +pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetChangeTimeWithDefault(uint64) uint64 pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetContentSize() uint64 pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetContentSizeWithDefault(uint64) uint64 pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetId() uint64 pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetIdWithDefault(uint64) uint64 pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetLinkCount() uint64 pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetLinkCountWithDefault(uint64) uint64 +pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetOptions() VerificationOptions +pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetOptionsWithDefault(VerificationOptions) VerificationOptions pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetProtocols() NodeProtocolKinds pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetProtocolsWithDefault(NodeProtocolKinds) NodeProtocolKinds +pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetRootHash() []uint8 +pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetRootHashWithDefault([]uint8) []uint8 pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetStorageSize() uint64 pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetStorageSizeWithDefault(uint64) uint64 pkg syscall/zx/io, method (*ImmutableNodeAttributes) GetUnknownData() map[uint64]fidl.UnknownData pkg syscall/zx/io, method (*ImmutableNodeAttributes) HasAbilities() bool +pkg syscall/zx/io, method (*ImmutableNodeAttributes) HasChangeTime() bool pkg syscall/zx/io, method (*ImmutableNodeAttributes) HasContentSize() bool pkg syscall/zx/io, method (*ImmutableNodeAttributes) HasId() bool pkg syscall/zx/io, method (*ImmutableNodeAttributes) HasLinkCount() bool +pkg syscall/zx/io, method (*ImmutableNodeAttributes) HasOptions() bool pkg syscall/zx/io, method (*ImmutableNodeAttributes) HasProtocols() bool +pkg syscall/zx/io, method (*ImmutableNodeAttributes) HasRootHash() bool pkg syscall/zx/io, method (*ImmutableNodeAttributes) HasStorageSize() bool pkg syscall/zx/io, method (*ImmutableNodeAttributes) HasUnknownData() bool pkg syscall/zx/io, method (*ImmutableNodeAttributes) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*ImmutableNodeAttributes) SetAbilities(Operations) +pkg syscall/zx/io, method (*ImmutableNodeAttributes) SetChangeTime(uint64) pkg syscall/zx/io, method (*ImmutableNodeAttributes) SetContentSize(uint64) pkg syscall/zx/io, method (*ImmutableNodeAttributes) SetId(uint64) pkg syscall/zx/io, method (*ImmutableNodeAttributes) SetLinkCount(uint64) +pkg syscall/zx/io, method (*ImmutableNodeAttributes) SetOptions(VerificationOptions) pkg syscall/zx/io, method (*ImmutableNodeAttributes) SetProtocols(NodeProtocolKinds) +pkg syscall/zx/io, method (*ImmutableNodeAttributes) SetRootHash([]uint8) pkg syscall/zx/io, method (*ImmutableNodeAttributes) SetStorageSize(uint64) -pkg syscall/zx/io, method (*InotifierEventProxy) Handle() *zx.Handle -pkg syscall/zx/io, method (*InotifierWithCtxInterface) Handle() *zx.Handle -pkg syscall/zx/io, method (*InotifierWithCtxInterfaceRequest) Handle() *zx.Handle -pkg syscall/zx/io, method (*InotifierWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) -pkg syscall/zx/io, method (*InotifyEvent) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*LinkableEventProxy) Handle() *zx.Handle +pkg syscall/zx/io, method (*LinkableLinkIntoRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*LinkableLinkIntoResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*LinkableLinkIntoResult) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*LinkableLinkIntoResult) Ordinal() uint64 +pkg syscall/zx/io, method (*LinkableLinkIntoResult) SetErr(int32) +pkg syscall/zx/io, method (*LinkableLinkIntoResult) SetResponse(LinkableLinkIntoResponse) +pkg syscall/zx/io, method (*LinkableLinkIntoResult) Which() I_linkableLinkIntoResultTag +pkg syscall/zx/io, method (*LinkableWithCtxInterface) Handle() *zx.Handle +pkg syscall/zx/io, method (*LinkableWithCtxInterface) LinkInto(context.Context, zx.Event, string) (LinkableLinkIntoResult, error) +pkg syscall/zx/io, method (*LinkableWithCtxInterfaceRequest) Handle() *zx.Handle +pkg syscall/zx/io, method (*LinkableWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/io, method (*MutableNodeAttributes) ClearAccessTime() pkg syscall/zx/io, method (*MutableNodeAttributes) ClearCreationTime() +pkg syscall/zx/io, method (*MutableNodeAttributes) ClearGid() +pkg syscall/zx/io, method (*MutableNodeAttributes) ClearMode() pkg syscall/zx/io, method (*MutableNodeAttributes) ClearModificationTime() +pkg syscall/zx/io, method (*MutableNodeAttributes) ClearRdev() +pkg syscall/zx/io, method (*MutableNodeAttributes) ClearUid() +pkg syscall/zx/io, method (*MutableNodeAttributes) GetAccessTime() uint64 +pkg syscall/zx/io, method (*MutableNodeAttributes) GetAccessTimeWithDefault(uint64) uint64 pkg syscall/zx/io, method (*MutableNodeAttributes) GetCreationTime() uint64 pkg syscall/zx/io, method (*MutableNodeAttributes) GetCreationTimeWithDefault(uint64) uint64 +pkg syscall/zx/io, method (*MutableNodeAttributes) GetGid() uint32 +pkg syscall/zx/io, method (*MutableNodeAttributes) GetGidWithDefault(uint32) uint32 +pkg syscall/zx/io, method (*MutableNodeAttributes) GetMode() uint32 +pkg syscall/zx/io, method (*MutableNodeAttributes) GetModeWithDefault(uint32) uint32 pkg syscall/zx/io, method (*MutableNodeAttributes) GetModificationTime() uint64 pkg syscall/zx/io, method (*MutableNodeAttributes) GetModificationTimeWithDefault(uint64) uint64 +pkg syscall/zx/io, method (*MutableNodeAttributes) GetRdev() uint64 +pkg syscall/zx/io, method (*MutableNodeAttributes) GetRdevWithDefault(uint64) uint64 +pkg syscall/zx/io, method (*MutableNodeAttributes) GetUid() uint32 +pkg syscall/zx/io, method (*MutableNodeAttributes) GetUidWithDefault(uint32) uint32 pkg syscall/zx/io, method (*MutableNodeAttributes) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/io, method (*MutableNodeAttributes) HasAccessTime() bool pkg syscall/zx/io, method (*MutableNodeAttributes) HasCreationTime() bool +pkg syscall/zx/io, method (*MutableNodeAttributes) HasGid() bool +pkg syscall/zx/io, method (*MutableNodeAttributes) HasMode() bool pkg syscall/zx/io, method (*MutableNodeAttributes) HasModificationTime() bool +pkg syscall/zx/io, method (*MutableNodeAttributes) HasRdev() bool +pkg syscall/zx/io, method (*MutableNodeAttributes) HasUid() bool pkg syscall/zx/io, method (*MutableNodeAttributes) HasUnknownData() bool pkg syscall/zx/io, method (*MutableNodeAttributes) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*MutableNodeAttributes) SetAccessTime(uint64) pkg syscall/zx/io, method (*MutableNodeAttributes) SetCreationTime(uint64) +pkg syscall/zx/io, method (*MutableNodeAttributes) SetGid(uint32) +pkg syscall/zx/io, method (*MutableNodeAttributes) SetMode(uint32) pkg syscall/zx/io, method (*MutableNodeAttributes) SetModificationTime(uint64) +pkg syscall/zx/io, method (*MutableNodeAttributes) SetRdev(uint64) +pkg syscall/zx/io, method (*MutableNodeAttributes) SetUid(uint32) +pkg syscall/zx/io, method (*Node1CloneRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Node1EventProxy) Handle() *zx.Handle pkg syscall/zx/io, method (*Node1EventProxy) OnOpen(int32, *NodeInfoDeprecated) error +pkg syscall/zx/io, method (*Node1GetAttrResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node1GetFlagsResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node1OnOpenRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node1QueryFilesystemResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node1SetAttrRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node1SetAttrResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node1SetFlagsRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node1SetFlagsResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Node1WithCtxInterface) Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*Node1WithCtxInterface) ExpectOnOpen(context.Context) (int32, *NodeInfoDeprecated, error) pkg syscall/zx/io, method (*Node1WithCtxInterface) GetAttr(context.Context) (int32, NodeAttributes, error) @@ -3059,11 +3493,34 @@ pkg syscall/zx/io, method (*Node1WithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) pkg syscall/zx/io, method (*Node2EventProxy) Handle() *zx.Handle pkg syscall/zx/io, method (*Node2EventProxy) OnRepresentation(Representation) error +pkg syscall/zx/io, method (*Node2GetAttributesRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Node2GetAttributesResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Node2GetAttributesResult) Ordinal() uint64 pkg syscall/zx/io, method (*Node2GetAttributesResult) SetErr(int32) pkg syscall/zx/io, method (*Node2GetAttributesResult) SetResponse(NodeAttributes2) pkg syscall/zx/io, method (*Node2GetAttributesResult) Which() I_node2GetAttributesResultTag +pkg syscall/zx/io, method (*Node2GetExtendedAttributeRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node2GetExtendedAttributeResult) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node2GetExtendedAttributeResult) Ordinal() uint64 +pkg syscall/zx/io, method (*Node2GetExtendedAttributeResult) SetErr(int32) +pkg syscall/zx/io, method (*Node2GetExtendedAttributeResult) SetResponse(ExtendedAttributeValue) +pkg syscall/zx/io, method (*Node2GetExtendedAttributeResult) Which() I_node2GetExtendedAttributeResultTag +pkg syscall/zx/io, method (*Node2ListExtendedAttributesRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node2RemoveExtendedAttributeRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node2RemoveExtendedAttributeResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node2RemoveExtendedAttributeResult) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node2RemoveExtendedAttributeResult) Ordinal() uint64 +pkg syscall/zx/io, method (*Node2RemoveExtendedAttributeResult) SetErr(int32) +pkg syscall/zx/io, method (*Node2RemoveExtendedAttributeResult) SetResponse(Node2RemoveExtendedAttributeResponse) +pkg syscall/zx/io, method (*Node2RemoveExtendedAttributeResult) Which() I_node2RemoveExtendedAttributeResultTag +pkg syscall/zx/io, method (*Node2ReopenRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node2SetExtendedAttributeRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node2SetExtendedAttributeResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node2SetExtendedAttributeResult) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*Node2SetExtendedAttributeResult) Ordinal() uint64 +pkg syscall/zx/io, method (*Node2SetExtendedAttributeResult) SetErr(int32) +pkg syscall/zx/io, method (*Node2SetExtendedAttributeResult) SetResponse(Node2SetExtendedAttributeResponse) +pkg syscall/zx/io, method (*Node2SetExtendedAttributeResult) Which() I_node2SetExtendedAttributeResultTag pkg syscall/zx/io, method (*Node2SyncResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Node2SyncResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*Node2SyncResult) Ordinal() uint64 @@ -3080,13 +3537,21 @@ pkg syscall/zx/io, method (*Node2WithCtxInterface) ExpectOnRepresentation(context.Context) (Representation, error) pkg syscall/zx/io, method (*Node2WithCtxInterface) GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) pkg syscall/zx/io, method (*Node2WithCtxInterface) GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, method (*Node2WithCtxInterface) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) pkg syscall/zx/io, method (*Node2WithCtxInterface) Handle() *zx.Handle +pkg syscall/zx/io, method (*Node2WithCtxInterface) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*Node2WithCtxInterface) Query(context.Context) ([]uint8, error) -pkg syscall/zx/io, method (*Node2WithCtxInterface) Reopen(context.Context, *RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*Node2WithCtxInterface) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, method (*Node2WithCtxInterface) Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*Node2WithCtxInterface) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, method (*Node2WithCtxInterface) Sync(context.Context) (Node2SyncResult, error) pkg syscall/zx/io, method (*Node2WithCtxInterface) UpdateAttributes(context.Context, MutableNodeAttributes) (Node2UpdateAttributesResult, error) pkg syscall/zx/io, method (*Node2WithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/io, method (*Node2WithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/io, method (*Node2WithCtxTransitionalBase) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) +pkg syscall/zx/io, method (*Node2WithCtxTransitionalBase) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*Node2WithCtxTransitionalBase) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, method (*Node2WithCtxTransitionalBase) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, method (*NodeAttributes) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*NodeAttributes2) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*NodeEventProxy) Handle() *zx.Handle @@ -3097,43 +3562,64 @@ pkg syscall/zx/io, method (*NodeInfoDeprecated) SetDirectory(DirectoryObject) pkg syscall/zx/io, method (*NodeInfoDeprecated) SetFile(FileObject) pkg syscall/zx/io, method (*NodeInfoDeprecated) SetService(Service) +pkg syscall/zx/io, method (*NodeInfoDeprecated) SetSymlink(SymlinkObject) pkg syscall/zx/io, method (*NodeInfoDeprecated) Which() I_nodeInfoDeprecatedTag +pkg syscall/zx/io, method (*NodeOptions) ClearAttributes() +pkg syscall/zx/io, method (*NodeOptions) ClearCreateAttributes() pkg syscall/zx/io, method (*NodeOptions) ClearFlags() pkg syscall/zx/io, method (*NodeOptions) ClearMode() pkg syscall/zx/io, method (*NodeOptions) ClearProtocols() -pkg syscall/zx/io, method (*NodeOptions) ClearRightsRequest() +pkg syscall/zx/io, method (*NodeOptions) ClearRights() +pkg syscall/zx/io, method (*NodeOptions) GetAttributes() NodeAttributesQuery +pkg syscall/zx/io, method (*NodeOptions) GetAttributesWithDefault(NodeAttributesQuery) NodeAttributesQuery +pkg syscall/zx/io, method (*NodeOptions) GetCreateAttributes() MutableNodeAttributes +pkg syscall/zx/io, method (*NodeOptions) GetCreateAttributesWithDefault(MutableNodeAttributes) MutableNodeAttributes pkg syscall/zx/io, method (*NodeOptions) GetFlags() NodeFlags pkg syscall/zx/io, method (*NodeOptions) GetFlagsWithDefault(NodeFlags) NodeFlags pkg syscall/zx/io, method (*NodeOptions) GetMode() OpenMode pkg syscall/zx/io, method (*NodeOptions) GetModeWithDefault(OpenMode) OpenMode pkg syscall/zx/io, method (*NodeOptions) GetProtocols() NodeProtocols pkg syscall/zx/io, method (*NodeOptions) GetProtocolsWithDefault(NodeProtocols) NodeProtocols -pkg syscall/zx/io, method (*NodeOptions) GetRightsRequest() RightsRequest -pkg syscall/zx/io, method (*NodeOptions) GetRightsRequestWithDefault(RightsRequest) RightsRequest +pkg syscall/zx/io, method (*NodeOptions) GetRights() Operations +pkg syscall/zx/io, method (*NodeOptions) GetRightsWithDefault(Operations) Operations pkg syscall/zx/io, method (*NodeOptions) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/io, method (*NodeOptions) HasAttributes() bool +pkg syscall/zx/io, method (*NodeOptions) HasCreateAttributes() bool pkg syscall/zx/io, method (*NodeOptions) HasFlags() bool pkg syscall/zx/io, method (*NodeOptions) HasMode() bool pkg syscall/zx/io, method (*NodeOptions) HasProtocols() bool -pkg syscall/zx/io, method (*NodeOptions) HasRightsRequest() bool +pkg syscall/zx/io, method (*NodeOptions) HasRights() bool pkg syscall/zx/io, method (*NodeOptions) HasUnknownData() bool pkg syscall/zx/io, method (*NodeOptions) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*NodeOptions) SetAttributes(NodeAttributesQuery) +pkg syscall/zx/io, method (*NodeOptions) SetCreateAttributes(MutableNodeAttributes) pkg syscall/zx/io, method (*NodeOptions) SetFlags(NodeFlags) pkg syscall/zx/io, method (*NodeOptions) SetMode(OpenMode) pkg syscall/zx/io, method (*NodeOptions) SetProtocols(NodeProtocols) -pkg syscall/zx/io, method (*NodeOptions) SetRightsRequest(RightsRequest) +pkg syscall/zx/io, method (*NodeOptions) SetRights(Operations) pkg syscall/zx/io, method (*NodeProtocols) ClearDirectory() pkg syscall/zx/io, method (*NodeProtocols) ClearFile() -pkg syscall/zx/io, method (*NodeProtocols) GetDirectory() DirectoryProtocolFlags -pkg syscall/zx/io, method (*NodeProtocols) GetDirectoryWithDefault(DirectoryProtocolFlags) DirectoryProtocolFlags +pkg syscall/zx/io, method (*NodeProtocols) ClearNode() +pkg syscall/zx/io, method (*NodeProtocols) ClearSymlink() +pkg syscall/zx/io, method (*NodeProtocols) GetDirectory() DirectoryProtocolOptions +pkg syscall/zx/io, method (*NodeProtocols) GetDirectoryWithDefault(DirectoryProtocolOptions) DirectoryProtocolOptions pkg syscall/zx/io, method (*NodeProtocols) GetFile() FileProtocolFlags pkg syscall/zx/io, method (*NodeProtocols) GetFileWithDefault(FileProtocolFlags) FileProtocolFlags +pkg syscall/zx/io, method (*NodeProtocols) GetNode() NodeProtocolFlags +pkg syscall/zx/io, method (*NodeProtocols) GetNodeWithDefault(NodeProtocolFlags) NodeProtocolFlags +pkg syscall/zx/io, method (*NodeProtocols) GetSymlink() SymlinkProtocolFlags +pkg syscall/zx/io, method (*NodeProtocols) GetSymlinkWithDefault(SymlinkProtocolFlags) SymlinkProtocolFlags pkg syscall/zx/io, method (*NodeProtocols) GetUnknownData() map[uint64]fidl.UnknownData pkg syscall/zx/io, method (*NodeProtocols) HasDirectory() bool pkg syscall/zx/io, method (*NodeProtocols) HasFile() bool +pkg syscall/zx/io, method (*NodeProtocols) HasNode() bool +pkg syscall/zx/io, method (*NodeProtocols) HasSymlink() bool pkg syscall/zx/io, method (*NodeProtocols) HasUnknownData() bool pkg syscall/zx/io, method (*NodeProtocols) Marshaler() fidl.Marshaler -pkg syscall/zx/io, method (*NodeProtocols) SetDirectory(DirectoryProtocolFlags) +pkg syscall/zx/io, method (*NodeProtocols) SetDirectory(DirectoryProtocolOptions) pkg syscall/zx/io, method (*NodeProtocols) SetFile(FileProtocolFlags) +pkg syscall/zx/io, method (*NodeProtocols) SetNode(NodeProtocolFlags) +pkg syscall/zx/io, method (*NodeProtocols) SetSymlink(SymlinkProtocolFlags) pkg syscall/zx/io, method (*NodeWithCtxInterface) Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*NodeWithCtxInterface) Close(context.Context) (unknown.CloseableCloseResult, error) pkg syscall/zx/io, method (*NodeWithCtxInterface) ExpectOnOpen(context.Context) (int32, *NodeInfoDeprecated, error) @@ -3141,23 +3627,33 @@ pkg syscall/zx/io, method (*NodeWithCtxInterface) GetAttr(context.Context) (int32, NodeAttributes, error) pkg syscall/zx/io, method (*NodeWithCtxInterface) GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) pkg syscall/zx/io, method (*NodeWithCtxInterface) GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, method (*NodeWithCtxInterface) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) pkg syscall/zx/io, method (*NodeWithCtxInterface) GetFlags(context.Context) (int32, OpenFlags, error) pkg syscall/zx/io, method (*NodeWithCtxInterface) Handle() *zx.Handle +pkg syscall/zx/io, method (*NodeWithCtxInterface) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*NodeWithCtxInterface) Query(context.Context) ([]uint8, error) pkg syscall/zx/io, method (*NodeWithCtxInterface) QueryFilesystem(context.Context) (int32, *FilesystemInfo, error) -pkg syscall/zx/io, method (*NodeWithCtxInterface) Reopen(context.Context, *RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*NodeWithCtxInterface) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, method (*NodeWithCtxInterface) Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*NodeWithCtxInterface) SetAttr(context.Context, NodeAttributeFlags, NodeAttributes) (int32, error) +pkg syscall/zx/io, method (*NodeWithCtxInterface) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, method (*NodeWithCtxInterface) SetFlags(context.Context, OpenFlags) (int32, error) pkg syscall/zx/io, method (*NodeWithCtxInterface) Sync(context.Context) (Node2SyncResult, error) pkg syscall/zx/io, method (*NodeWithCtxInterface) UpdateAttributes(context.Context, MutableNodeAttributes) (Node2UpdateAttributesResult, error) pkg syscall/zx/io, method (*NodeWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/io, method (*NodeWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/io, method (*NodeWithCtxTransitionalBase) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) +pkg syscall/zx/io, method (*NodeWithCtxTransitionalBase) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*NodeWithCtxTransitionalBase) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, method (*NodeWithCtxTransitionalBase) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, method (*OpenableEventProxy) Handle() *zx.Handle +pkg syscall/zx/io, method (*OpenableOpenRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*OpenableWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/io, method (*OpenableWithCtxInterface) Open(context.Context, OpenFlags, ModeType, string, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, method (*OpenableWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/io, method (*OpenableWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) pkg syscall/zx/io, method (*ReadableEventProxy) Handle() *zx.Handle +pkg syscall/zx/io, method (*ReadableReadRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*ReadableReadResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*ReadableReadResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*ReadableReadResult) Ordinal() uint64 @@ -3174,9 +3670,62 @@ pkg syscall/zx/io, method (*Representation) SetConnector(ConnectorInfo) pkg syscall/zx/io, method (*Representation) SetDirectory(DirectoryInfo) pkg syscall/zx/io, method (*Representation) SetFile(FileInfo) +pkg syscall/zx/io, method (*Representation) SetSymlink(SymlinkInfo) pkg syscall/zx/io, method (*Representation) Which() I_representationTag +pkg syscall/zx/io, method (*RightsRequest) ClearRights() +pkg syscall/zx/io, method (*RightsRequest) GetRights() Operations +pkg syscall/zx/io, method (*RightsRequest) GetRightsWithDefault(Operations) Operations +pkg syscall/zx/io, method (*RightsRequest) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/io, method (*RightsRequest) HasRights() bool +pkg syscall/zx/io, method (*RightsRequest) HasUnknownData() bool pkg syscall/zx/io, method (*RightsRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*RightsRequest) SetRights(Operations) pkg syscall/zx/io, method (*Service) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*SymlinkEventProxy) Handle() *zx.Handle +pkg syscall/zx/io, method (*SymlinkEventProxy) OnOpen(int32, *NodeInfoDeprecated) error +pkg syscall/zx/io, method (*SymlinkEventProxy) OnRepresentation(Representation) error +pkg syscall/zx/io, method (*SymlinkInfo) ClearAttributes() +pkg syscall/zx/io, method (*SymlinkInfo) ClearTarget() +pkg syscall/zx/io, method (*SymlinkInfo) GetAttributes() NodeAttributes2 +pkg syscall/zx/io, method (*SymlinkInfo) GetAttributesWithDefault(NodeAttributes2) NodeAttributes2 +pkg syscall/zx/io, method (*SymlinkInfo) GetTarget() []uint8 +pkg syscall/zx/io, method (*SymlinkInfo) GetTargetWithDefault([]uint8) []uint8 +pkg syscall/zx/io, method (*SymlinkInfo) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/io, method (*SymlinkInfo) HasAttributes() bool +pkg syscall/zx/io, method (*SymlinkInfo) HasTarget() bool +pkg syscall/zx/io, method (*SymlinkInfo) HasUnknownData() bool +pkg syscall/zx/io, method (*SymlinkInfo) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*SymlinkInfo) SetAttributes(NodeAttributes2) +pkg syscall/zx/io, method (*SymlinkInfo) SetTarget([]uint8) +pkg syscall/zx/io, method (*SymlinkObject) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) Close(context.Context) (unknown.CloseableCloseResult, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) Describe(context.Context) (SymlinkInfo, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) ExpectOnOpen(context.Context) (int32, *NodeInfoDeprecated, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) ExpectOnRepresentation(context.Context) (Representation, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) GetAttr(context.Context) (int32, NodeAttributes, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) GetFlags(context.Context) (int32, OpenFlags, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) Handle() *zx.Handle +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) LinkInto(context.Context, zx.Event, string) (LinkableLinkIntoResult, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) Query(context.Context) ([]uint8, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) QueryFilesystem(context.Context) (int32, *FilesystemInfo, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) SetAttr(context.Context, NodeAttributeFlags, NodeAttributes) (int32, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) SetFlags(context.Context, OpenFlags) (int32, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) Sync(context.Context) (Node2SyncResult, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterface) UpdateAttributes(context.Context, MutableNodeAttributes) (Node2UpdateAttributesResult, error) +pkg syscall/zx/io, method (*SymlinkWithCtxInterfaceRequest) Handle() *zx.Handle +pkg syscall/zx/io, method (*SymlinkWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/io, method (*SymlinkWithCtxTransitionalBase) GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) +pkg syscall/zx/io, method (*SymlinkWithCtxTransitionalBase) ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error +pkg syscall/zx/io, method (*SymlinkWithCtxTransitionalBase) RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, method (*SymlinkWithCtxTransitionalBase) SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, method (*UnlinkOptions) ClearFlags() pkg syscall/zx/io, method (*UnlinkOptions) GetFlags() UnlinkFlags pkg syscall/zx/io, method (*UnlinkOptions) GetFlagsWithDefault(UnlinkFlags) UnlinkFlags @@ -3185,11 +3734,25 @@ pkg syscall/zx/io, method (*UnlinkOptions) HasUnknownData() bool pkg syscall/zx/io, method (*UnlinkOptions) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*UnlinkOptions) SetFlags(UnlinkFlags) +pkg syscall/zx/io, method (*VerificationOptions) ClearHashAlgorithm() +pkg syscall/zx/io, method (*VerificationOptions) ClearSalt() +pkg syscall/zx/io, method (*VerificationOptions) GetHashAlgorithm() HashAlgorithm +pkg syscall/zx/io, method (*VerificationOptions) GetHashAlgorithmWithDefault(HashAlgorithm) HashAlgorithm +pkg syscall/zx/io, method (*VerificationOptions) GetSalt() []uint8 +pkg syscall/zx/io, method (*VerificationOptions) GetSaltWithDefault([]uint8) []uint8 +pkg syscall/zx/io, method (*VerificationOptions) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/io, method (*VerificationOptions) HasHashAlgorithm() bool +pkg syscall/zx/io, method (*VerificationOptions) HasSalt() bool +pkg syscall/zx/io, method (*VerificationOptions) HasUnknownData() bool +pkg syscall/zx/io, method (*VerificationOptions) Marshaler() fidl.Marshaler +pkg syscall/zx/io, method (*VerificationOptions) SetHashAlgorithm(HashAlgorithm) +pkg syscall/zx/io, method (*VerificationOptions) SetSalt([]uint8) pkg syscall/zx/io, method (*WritableEventProxy) Handle() *zx.Handle pkg syscall/zx/io, method (*WritableWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/io, method (*WritableWithCtxInterface) Write(context.Context, []uint8) (WritableWriteResult, error) pkg syscall/zx/io, method (*WritableWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/io, method (*WritableWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/io, method (*WritableWriteRequest) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*WritableWriteResponse) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*WritableWriteResult) Marshaler() fidl.Marshaler pkg syscall/zx/io, method (*WritableWriteResult) Ordinal() uint64 @@ -3200,6 +3763,14 @@ pkg syscall/zx/io, method (AdvisoryLockType) I_EnumValues() []AdvisoryLockType pkg syscall/zx/io, method (AdvisoryLockType) IsUnknown() bool pkg syscall/zx/io, method (AdvisoryLockType) String() string +pkg syscall/zx/io, method (AllocateMode) ClearBits(AllocateMode) AllocateMode +pkg syscall/zx/io, method (AllocateMode) GetUnknownBits() uint64 +pkg syscall/zx/io, method (AllocateMode) HasBits(AllocateMode) bool +pkg syscall/zx/io, method (AllocateMode) HasUnknownBits() bool +pkg syscall/zx/io, method (AllocateMode) I_BitsIsStrict() bool +pkg syscall/zx/io, method (AllocateMode) I_BitsMask() AllocateMode +pkg syscall/zx/io, method (AllocateMode) InvertBits() AllocateMode +pkg syscall/zx/io, method (AllocateMode) String() string pkg syscall/zx/io, method (ConnectorFlags) ClearBits(ConnectorFlags) ConnectorFlags pkg syscall/zx/io, method (ConnectorFlags) GetUnknownBits() uint64 pkg syscall/zx/io, method (ConnectorFlags) HasBits(ConnectorFlags) bool @@ -3208,14 +3779,6 @@ pkg syscall/zx/io, method (ConnectorFlags) I_BitsMask() ConnectorFlags pkg syscall/zx/io, method (ConnectorFlags) InvertBits() ConnectorFlags pkg syscall/zx/io, method (ConnectorFlags) String() string -pkg syscall/zx/io, method (DirectoryProtocolFlags) ClearBits(DirectoryProtocolFlags) DirectoryProtocolFlags -pkg syscall/zx/io, method (DirectoryProtocolFlags) GetUnknownBits() uint64 -pkg syscall/zx/io, method (DirectoryProtocolFlags) HasBits(DirectoryProtocolFlags) bool -pkg syscall/zx/io, method (DirectoryProtocolFlags) HasUnknownBits() bool -pkg syscall/zx/io, method (DirectoryProtocolFlags) I_BitsIsStrict() bool -pkg syscall/zx/io, method (DirectoryProtocolFlags) I_BitsMask() DirectoryProtocolFlags -pkg syscall/zx/io, method (DirectoryProtocolFlags) InvertBits() DirectoryProtocolFlags -pkg syscall/zx/io, method (DirectoryProtocolFlags) String() string pkg syscall/zx/io, method (DirentType) I_EnumIsStrict() bool pkg syscall/zx/io, method (DirentType) I_EnumValues() []DirentType pkg syscall/zx/io, method (DirentType) IsUnknown() bool @@ -3236,14 +3799,10 @@ pkg syscall/zx/io, method (FileSignal) I_BitsMask() FileSignal pkg syscall/zx/io, method (FileSignal) InvertBits() FileSignal pkg syscall/zx/io, method (FileSignal) String() string -pkg syscall/zx/io, method (InotifyWatchMask) ClearBits(InotifyWatchMask) InotifyWatchMask -pkg syscall/zx/io, method (InotifyWatchMask) GetUnknownBits() uint64 -pkg syscall/zx/io, method (InotifyWatchMask) HasBits(InotifyWatchMask) bool -pkg syscall/zx/io, method (InotifyWatchMask) HasUnknownBits() bool -pkg syscall/zx/io, method (InotifyWatchMask) I_BitsIsStrict() bool -pkg syscall/zx/io, method (InotifyWatchMask) I_BitsMask() InotifyWatchMask -pkg syscall/zx/io, method (InotifyWatchMask) InvertBits() InotifyWatchMask -pkg syscall/zx/io, method (InotifyWatchMask) String() string +pkg syscall/zx/io, method (HashAlgorithm) I_EnumIsStrict() bool +pkg syscall/zx/io, method (HashAlgorithm) I_EnumValues() []HashAlgorithm +pkg syscall/zx/io, method (HashAlgorithm) IsUnknown() bool +pkg syscall/zx/io, method (HashAlgorithm) String() string pkg syscall/zx/io, method (ModeType) ClearBits(ModeType) ModeType pkg syscall/zx/io, method (ModeType) GetUnknownBits() uint64 pkg syscall/zx/io, method (ModeType) HasBits(ModeType) bool @@ -3276,6 +3835,14 @@ pkg syscall/zx/io, method (NodeFlags) I_BitsMask() NodeFlags pkg syscall/zx/io, method (NodeFlags) InvertBits() NodeFlags pkg syscall/zx/io, method (NodeFlags) String() string +pkg syscall/zx/io, method (NodeProtocolFlags) ClearBits(NodeProtocolFlags) NodeProtocolFlags +pkg syscall/zx/io, method (NodeProtocolFlags) GetUnknownBits() uint64 +pkg syscall/zx/io, method (NodeProtocolFlags) HasBits(NodeProtocolFlags) bool +pkg syscall/zx/io, method (NodeProtocolFlags) HasUnknownBits() bool +pkg syscall/zx/io, method (NodeProtocolFlags) I_BitsIsStrict() bool +pkg syscall/zx/io, method (NodeProtocolFlags) I_BitsMask() NodeProtocolFlags +pkg syscall/zx/io, method (NodeProtocolFlags) InvertBits() NodeProtocolFlags +pkg syscall/zx/io, method (NodeProtocolFlags) String() string pkg syscall/zx/io, method (NodeProtocolKinds) ClearBits(NodeProtocolKinds) NodeProtocolKinds pkg syscall/zx/io, method (NodeProtocolKinds) GetUnknownBits() uint64 pkg syscall/zx/io, method (NodeProtocolKinds) HasBits(NodeProtocolKinds) bool @@ -3304,14 +3871,22 @@ pkg syscall/zx/io, method (Operations) I_BitsMask() Operations pkg syscall/zx/io, method (Operations) InvertBits() Operations pkg syscall/zx/io, method (Operations) String() string -pkg syscall/zx/io, method (RightsResolution) I_EnumIsStrict() bool -pkg syscall/zx/io, method (RightsResolution) I_EnumValues() []RightsResolution -pkg syscall/zx/io, method (RightsResolution) IsUnknown() bool -pkg syscall/zx/io, method (RightsResolution) String() string pkg syscall/zx/io, method (SeekOrigin) I_EnumIsStrict() bool pkg syscall/zx/io, method (SeekOrigin) I_EnumValues() []SeekOrigin pkg syscall/zx/io, method (SeekOrigin) IsUnknown() bool pkg syscall/zx/io, method (SeekOrigin) String() string +pkg syscall/zx/io, method (SetExtendedAttributeMode) I_EnumIsStrict() bool +pkg syscall/zx/io, method (SetExtendedAttributeMode) I_EnumValues() []SetExtendedAttributeMode +pkg syscall/zx/io, method (SetExtendedAttributeMode) IsUnknown() bool +pkg syscall/zx/io, method (SetExtendedAttributeMode) String() string +pkg syscall/zx/io, method (SymlinkProtocolFlags) ClearBits(SymlinkProtocolFlags) SymlinkProtocolFlags +pkg syscall/zx/io, method (SymlinkProtocolFlags) GetUnknownBits() uint64 +pkg syscall/zx/io, method (SymlinkProtocolFlags) HasBits(SymlinkProtocolFlags) bool +pkg syscall/zx/io, method (SymlinkProtocolFlags) HasUnknownBits() bool +pkg syscall/zx/io, method (SymlinkProtocolFlags) I_BitsIsStrict() bool +pkg syscall/zx/io, method (SymlinkProtocolFlags) I_BitsMask() SymlinkProtocolFlags +pkg syscall/zx/io, method (SymlinkProtocolFlags) InvertBits() SymlinkProtocolFlags +pkg syscall/zx/io, method (SymlinkProtocolFlags) String() string pkg syscall/zx/io, method (UnlinkFlags) ClearBits(UnlinkFlags) UnlinkFlags pkg syscall/zx/io, method (UnlinkFlags) GetUnknownBits() uint64 pkg syscall/zx/io, method (UnlinkFlags) HasBits(UnlinkFlags) bool @@ -3340,6 +3915,7 @@ pkg syscall/zx/io, method (WatchMask) I_BitsMask() WatchMask pkg syscall/zx/io, method (WatchMask) InvertBits() WatchMask pkg syscall/zx/io, method (WatchMask) String() string +pkg syscall/zx/io, type Abilities = Operations pkg syscall/zx/io, type AdvisoryLockRange struct pkg syscall/zx/io, type AdvisoryLockRange struct, Length int64 pkg syscall/zx/io, type AdvisoryLockRange struct, Offset int64 @@ -3353,6 +3929,8 @@ pkg syscall/zx/io, type AdvisoryLockRequest struct, Wait bool pkg syscall/zx/io, type AdvisoryLockRequest struct, WaitPresent bool pkg syscall/zx/io, type AdvisoryLockType uint32 +pkg syscall/zx/io, type AdvisoryLockingAdvisoryLockRequest struct +pkg syscall/zx/io, type AdvisoryLockingAdvisoryLockRequest struct, Request AdvisoryLockRequest pkg syscall/zx/io, type AdvisoryLockingAdvisoryLockResponse struct pkg syscall/zx/io, type AdvisoryLockingAdvisoryLockResult struct pkg syscall/zx/io, type AdvisoryLockingAdvisoryLockResult struct, Err int32 @@ -3369,6 +3947,7 @@ pkg syscall/zx/io, type AdvisoryLockingWithCtxStub struct pkg syscall/zx/io, type AdvisoryLockingWithCtxStub struct, Impl AdvisoryLockingWithCtx pkg syscall/zx/io, type AdvisoryLockingWithCtxTransitionalBase struct +pkg syscall/zx/io, type AllocateMode uint32 pkg syscall/zx/io, type ConnectionInfo struct pkg syscall/zx/io, type ConnectionInfo struct, I_unknownData interface{} pkg syscall/zx/io, type ConnectionInfo struct, Rights Operations @@ -3380,9 +3959,33 @@ pkg syscall/zx/io, type ConnectionProtocols struct, embedded I_connectionProtocolsTag pkg syscall/zx/io, type ConnectorFlags uint64 pkg syscall/zx/io, type ConnectorInfo struct +pkg syscall/zx/io, type ConnectorInfo struct, Attributes NodeAttributes2 +pkg syscall/zx/io, type ConnectorInfo struct, AttributesPresent bool pkg syscall/zx/io, type ConnectorInfo struct, I_unknownData interface{} pkg syscall/zx/io, type Directory1EventProxy struct pkg syscall/zx/io, type Directory1EventProxy struct, embedded zx.Channel +pkg syscall/zx/io, type Directory1GetTokenResponse struct +pkg syscall/zx/io, type Directory1GetTokenResponse struct, S int32 +pkg syscall/zx/io, type Directory1GetTokenResponse struct, Token zx.Handle +pkg syscall/zx/io, type Directory1LinkRequest struct +pkg syscall/zx/io, type Directory1LinkRequest struct, Dst string +pkg syscall/zx/io, type Directory1LinkRequest struct, DstParentToken zx.Handle +pkg syscall/zx/io, type Directory1LinkRequest struct, Src string +pkg syscall/zx/io, type Directory1LinkResponse struct +pkg syscall/zx/io, type Directory1LinkResponse struct, S int32 +pkg syscall/zx/io, type Directory1ReadDirentsRequest struct +pkg syscall/zx/io, type Directory1ReadDirentsRequest struct, MaxBytes uint64 +pkg syscall/zx/io, type Directory1ReadDirentsResponse struct +pkg syscall/zx/io, type Directory1ReadDirentsResponse struct, Dirents []uint8 +pkg syscall/zx/io, type Directory1ReadDirentsResponse struct, S int32 +pkg syscall/zx/io, type Directory1RewindResponse struct +pkg syscall/zx/io, type Directory1RewindResponse struct, S int32 +pkg syscall/zx/io, type Directory1WatchRequest struct +pkg syscall/zx/io, type Directory1WatchRequest struct, Mask WatchMask +pkg syscall/zx/io, type Directory1WatchRequest struct, Options uint32 +pkg syscall/zx/io, type Directory1WatchRequest struct, Watcher DirectoryWatcherWithCtxInterfaceRequest +pkg syscall/zx/io, type Directory1WatchResponse struct +pkg syscall/zx/io, type Directory1WatchResponse struct, S int32 pkg syscall/zx/io, type Directory1WithCtx interface { Clone, GetAttr, GetFlags, GetToken, Link, Open, QueryFilesystem, ReadDirents, Rewind, SetAttr, SetFlags, Watch } pkg syscall/zx/io, type Directory1WithCtx interface, Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, type Directory1WithCtx interface, GetAttr(context.Context) (int32, NodeAttributes, error) @@ -3403,29 +4006,56 @@ pkg syscall/zx/io, type Directory1WithCtxStub struct pkg syscall/zx/io, type Directory1WithCtxStub struct, Impl Directory1WithCtx pkg syscall/zx/io, type Directory1WithCtxTransitionalBase struct +pkg syscall/zx/io, type Directory2CreateSymlinkRequest struct +pkg syscall/zx/io, type Directory2CreateSymlinkRequest struct, Connection SymlinkWithCtxInterfaceRequest +pkg syscall/zx/io, type Directory2CreateSymlinkRequest struct, Name string +pkg syscall/zx/io, type Directory2CreateSymlinkRequest struct, Target []uint8 +pkg syscall/zx/io, type Directory2CreateSymlinkResponse struct +pkg syscall/zx/io, type Directory2CreateSymlinkResult struct +pkg syscall/zx/io, type Directory2CreateSymlinkResult struct, Err int32 +pkg syscall/zx/io, type Directory2CreateSymlinkResult struct, Response Directory2CreateSymlinkResponse +pkg syscall/zx/io, type Directory2CreateSymlinkResult struct, embedded I_directory2CreateSymlinkResultTag +pkg syscall/zx/io, type Directory2EnumerateRequest struct +pkg syscall/zx/io, type Directory2EnumerateRequest struct, Iterator DirectoryIteratorWithCtxInterfaceRequest +pkg syscall/zx/io, type Directory2EnumerateRequest struct, Options DirectoryEnumerateOptions pkg syscall/zx/io, type Directory2EventProxy struct pkg syscall/zx/io, type Directory2EventProxy struct, embedded zx.Channel +pkg syscall/zx/io, type Directory2Open2Request struct +pkg syscall/zx/io, type Directory2Open2Request struct, ObjectRequest zx.Channel +pkg syscall/zx/io, type Directory2Open2Request struct, Path string +pkg syscall/zx/io, type Directory2Open2Request struct, Protocols ConnectionProtocols +pkg syscall/zx/io, type Directory2RenameRequest struct +pkg syscall/zx/io, type Directory2RenameRequest struct, Dst string +pkg syscall/zx/io, type Directory2RenameRequest struct, DstParentToken zx.Event +pkg syscall/zx/io, type Directory2RenameRequest struct, Src string pkg syscall/zx/io, type Directory2RenameResponse struct pkg syscall/zx/io, type Directory2RenameResult struct pkg syscall/zx/io, type Directory2RenameResult struct, Err int32 pkg syscall/zx/io, type Directory2RenameResult struct, Response Directory2RenameResponse pkg syscall/zx/io, type Directory2RenameResult struct, embedded I_directory2RenameResultTag +pkg syscall/zx/io, type Directory2UnlinkRequest struct +pkg syscall/zx/io, type Directory2UnlinkRequest struct, Name string +pkg syscall/zx/io, type Directory2UnlinkRequest struct, Options UnlinkOptions pkg syscall/zx/io, type Directory2UnlinkResponse struct pkg syscall/zx/io, type Directory2UnlinkResult struct pkg syscall/zx/io, type Directory2UnlinkResult struct, Err int32 pkg syscall/zx/io, type Directory2UnlinkResult struct, Response Directory2UnlinkResponse pkg syscall/zx/io, type Directory2UnlinkResult struct, embedded I_directory2UnlinkResultTag -pkg syscall/zx/io, type Directory2WithCtx interface { AddInotifyFilter, AdvisoryLock, Close, Enumerate, GetAttributes, GetConnectionInfo, Open2, Query, Rename, Reopen, Sync, Unlink, UpdateAttributes } -pkg syscall/zx/io, type Directory2WithCtx interface, AddInotifyFilter(context.Context, string, InotifyWatchMask, uint32, zx.Socket) error +pkg syscall/zx/io, type Directory2WithCtx interface { AdvisoryLock, Close, CreateSymlink, Enumerate, GetAttributes, GetConnectionInfo, GetExtendedAttribute, ListExtendedAttributes, Open2, Query, RemoveExtendedAttribute, Rename, Reopen, SetExtendedAttribute, Sync, Unlink, UpdateAttributes } pkg syscall/zx/io, type Directory2WithCtx interface, AdvisoryLock(context.Context, AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) pkg syscall/zx/io, type Directory2WithCtx interface, Close(context.Context) (unknown.CloseableCloseResult, error) +pkg syscall/zx/io, type Directory2WithCtx interface, CreateSymlink(context.Context, string, []uint8, SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) pkg syscall/zx/io, type Directory2WithCtx interface, Enumerate(context.Context, DirectoryEnumerateOptions, DirectoryIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, type Directory2WithCtx interface, GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) pkg syscall/zx/io, type Directory2WithCtx interface, GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, type Directory2WithCtx interface, GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) +pkg syscall/zx/io, type Directory2WithCtx interface, ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, type Directory2WithCtx interface, Open2(context.Context, string, ConnectionProtocols, zx.Channel) error pkg syscall/zx/io, type Directory2WithCtx interface, Query(context.Context) ([]uint8, error) +pkg syscall/zx/io, type Directory2WithCtx interface, RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) pkg syscall/zx/io, type Directory2WithCtx interface, Rename(context.Context, string, zx.Event, string) (Directory2RenameResult, error) -pkg syscall/zx/io, type Directory2WithCtx interface, Reopen(context.Context, *RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, type Directory2WithCtx interface, Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, type Directory2WithCtx interface, SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, type Directory2WithCtx interface, Sync(context.Context) (Node2SyncResult, error) pkg syscall/zx/io, type Directory2WithCtx interface, Unlink(context.Context, string, UnlinkOptions) (Directory2UnlinkResult, error) pkg syscall/zx/io, type Directory2WithCtx interface, UpdateAttributes(context.Context, MutableNodeAttributes) (Node2UpdateAttributesResult, error) @@ -3451,6 +4081,8 @@ pkg syscall/zx/io, type DirectoryEventProxy struct pkg syscall/zx/io, type DirectoryEventProxy struct, embedded zx.Channel pkg syscall/zx/io, type DirectoryInfo struct +pkg syscall/zx/io, type DirectoryInfo struct, Attributes NodeAttributes2 +pkg syscall/zx/io, type DirectoryInfo struct, AttributesPresent bool pkg syscall/zx/io, type DirectoryInfo struct, I_unknownData interface{} pkg syscall/zx/io, type DirectoryIteratorEventProxy struct pkg syscall/zx/io, type DirectoryIteratorEventProxy struct, embedded zx.Channel @@ -3470,7 +4102,10 @@ pkg syscall/zx/io, type DirectoryIteratorWithCtxStub struct, Impl DirectoryIteratorWithCtx pkg syscall/zx/io, type DirectoryIteratorWithCtxTransitionalBase struct pkg syscall/zx/io, type DirectoryObject struct -pkg syscall/zx/io, type DirectoryProtocolFlags uint64 +pkg syscall/zx/io, type DirectoryProtocolOptions struct +pkg syscall/zx/io, type DirectoryProtocolOptions struct, I_unknownData interface{} +pkg syscall/zx/io, type DirectoryProtocolOptions struct, OptionalRights Operations +pkg syscall/zx/io, type DirectoryProtocolOptions struct, OptionalRightsPresent bool pkg syscall/zx/io, type DirectoryWatcherEventProxy struct pkg syscall/zx/io, type DirectoryWatcherEventProxy struct, embedded zx.Channel pkg syscall/zx/io, type DirectoryWatcherWithCtx interface {} @@ -3481,27 +4116,31 @@ pkg syscall/zx/io, type DirectoryWatcherWithCtxStub struct pkg syscall/zx/io, type DirectoryWatcherWithCtxStub struct, Impl DirectoryWatcherWithCtx pkg syscall/zx/io, type DirectoryWatcherWithCtxTransitionalBase struct -pkg syscall/zx/io, type DirectoryWithCtx interface { AddInotifyFilter, AdvisoryLock, Clone, Close, Enumerate, GetAttr, GetAttributes, GetConnectionInfo, GetFlags, GetToken, Link, Open, Open2, Query, QueryFilesystem, ReadDirents, Rename, Reopen, Rewind, SetAttr, SetFlags, Sync, Unlink, UpdateAttributes, Watch } -pkg syscall/zx/io, type DirectoryWithCtx interface, AddInotifyFilter(context.Context, string, InotifyWatchMask, uint32, zx.Socket) error +pkg syscall/zx/io, type DirectoryWithCtx interface { AdvisoryLock, Clone, Close, CreateSymlink, Enumerate, GetAttr, GetAttributes, GetConnectionInfo, GetExtendedAttribute, GetFlags, GetToken, Link, ListExtendedAttributes, Open, Open2, Query, QueryFilesystem, ReadDirents, RemoveExtendedAttribute, Rename, Reopen, Rewind, SetAttr, SetExtendedAttribute, SetFlags, Sync, Unlink, UpdateAttributes, Watch } pkg syscall/zx/io, type DirectoryWithCtx interface, AdvisoryLock(context.Context, AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) pkg syscall/zx/io, type DirectoryWithCtx interface, Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, type DirectoryWithCtx interface, Close(context.Context) (unknown.CloseableCloseResult, error) +pkg syscall/zx/io, type DirectoryWithCtx interface, CreateSymlink(context.Context, string, []uint8, SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) pkg syscall/zx/io, type DirectoryWithCtx interface, Enumerate(context.Context, DirectoryEnumerateOptions, DirectoryIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, type DirectoryWithCtx interface, GetAttr(context.Context) (int32, NodeAttributes, error) pkg syscall/zx/io, type DirectoryWithCtx interface, GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) pkg syscall/zx/io, type DirectoryWithCtx interface, GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, type DirectoryWithCtx interface, GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) pkg syscall/zx/io, type DirectoryWithCtx interface, GetFlags(context.Context) (int32, OpenFlags, error) pkg syscall/zx/io, type DirectoryWithCtx interface, GetToken(context.Context) (int32, zx.Handle, error) pkg syscall/zx/io, type DirectoryWithCtx interface, Link(context.Context, string, zx.Handle, string) (int32, error) +pkg syscall/zx/io, type DirectoryWithCtx interface, ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, type DirectoryWithCtx interface, Open(context.Context, OpenFlags, ModeType, string, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, type DirectoryWithCtx interface, Open2(context.Context, string, ConnectionProtocols, zx.Channel) error pkg syscall/zx/io, type DirectoryWithCtx interface, Query(context.Context) ([]uint8, error) pkg syscall/zx/io, type DirectoryWithCtx interface, QueryFilesystem(context.Context) (int32, *FilesystemInfo, error) pkg syscall/zx/io, type DirectoryWithCtx interface, ReadDirents(context.Context, uint64) (int32, []uint8, error) +pkg syscall/zx/io, type DirectoryWithCtx interface, RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) pkg syscall/zx/io, type DirectoryWithCtx interface, Rename(context.Context, string, zx.Event, string) (Directory2RenameResult, error) -pkg syscall/zx/io, type DirectoryWithCtx interface, Reopen(context.Context, *RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, type DirectoryWithCtx interface, Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, type DirectoryWithCtx interface, Rewind(context.Context) (int32, error) pkg syscall/zx/io, type DirectoryWithCtx interface, SetAttr(context.Context, NodeAttributeFlags, NodeAttributes) (int32, error) +pkg syscall/zx/io, type DirectoryWithCtx interface, SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, type DirectoryWithCtx interface, SetFlags(context.Context, OpenFlags) (int32, error) pkg syscall/zx/io, type DirectoryWithCtx interface, Sync(context.Context) (Node2SyncResult, error) pkg syscall/zx/io, type DirectoryWithCtx interface, Unlink(context.Context, string, UnlinkOptions) (Directory2UnlinkResult, error) @@ -3515,8 +4154,49 @@ pkg syscall/zx/io, type DirectoryWithCtxStub struct, Impl DirectoryWithCtx pkg syscall/zx/io, type DirectoryWithCtxTransitionalBase struct pkg syscall/zx/io, type DirentType uint8 +pkg syscall/zx/io, type ExtendedAttributeIteratorEventProxy struct +pkg syscall/zx/io, type ExtendedAttributeIteratorEventProxy struct, embedded zx.Channel +pkg syscall/zx/io, type ExtendedAttributeIteratorGetNextResponse struct +pkg syscall/zx/io, type ExtendedAttributeIteratorGetNextResponse struct, Attributes [][]uint8 +pkg syscall/zx/io, type ExtendedAttributeIteratorGetNextResponse struct, Last bool +pkg syscall/zx/io, type ExtendedAttributeIteratorGetNextResult struct +pkg syscall/zx/io, type ExtendedAttributeIteratorGetNextResult struct, Err int32 +pkg syscall/zx/io, type ExtendedAttributeIteratorGetNextResult struct, Response ExtendedAttributeIteratorGetNextResponse +pkg syscall/zx/io, type ExtendedAttributeIteratorGetNextResult struct, embedded I_extendedAttributeIteratorGetNextResultTag +pkg syscall/zx/io, type ExtendedAttributeIteratorWithCtx interface { GetNext } +pkg syscall/zx/io, type ExtendedAttributeIteratorWithCtx interface, GetNext(context.Context) (ExtendedAttributeIteratorGetNextResult, error) +pkg syscall/zx/io, type ExtendedAttributeIteratorWithCtxInterface struct +pkg syscall/zx/io, type ExtendedAttributeIteratorWithCtxInterface struct, embedded zx.Channel +pkg syscall/zx/io, type ExtendedAttributeIteratorWithCtxInterfaceRequest struct +pkg syscall/zx/io, type ExtendedAttributeIteratorWithCtxInterfaceRequest struct, embedded zx.Channel +pkg syscall/zx/io, type ExtendedAttributeIteratorWithCtxStub struct +pkg syscall/zx/io, type ExtendedAttributeIteratorWithCtxStub struct, Impl ExtendedAttributeIteratorWithCtx +pkg syscall/zx/io, type ExtendedAttributeIteratorWithCtxTransitionalBase struct +pkg syscall/zx/io, type ExtendedAttributeName_ = []uint8 +pkg syscall/zx/io, type ExtendedAttributeValue struct +pkg syscall/zx/io, type ExtendedAttributeValue struct, Buffer zx.VMO +pkg syscall/zx/io, type ExtendedAttributeValue struct, Bytes []uint8 +pkg syscall/zx/io, type ExtendedAttributeValue struct, embedded I_extendedAttributeValueTag +pkg syscall/zx/io, type FileAllocateRequest struct +pkg syscall/zx/io, type FileAllocateRequest struct, Length uint64 +pkg syscall/zx/io, type FileAllocateRequest struct, Mode AllocateMode +pkg syscall/zx/io, type FileAllocateRequest struct, Offset uint64 +pkg syscall/zx/io, type FileAllocateResponse struct +pkg syscall/zx/io, type FileAllocateResult struct +pkg syscall/zx/io, type FileAllocateResult struct, Err int32 +pkg syscall/zx/io, type FileAllocateResult struct, Response FileAllocateResponse +pkg syscall/zx/io, type FileAllocateResult struct, embedded I_fileAllocateResultTag +pkg syscall/zx/io, type FileEnableVerityRequest struct +pkg syscall/zx/io, type FileEnableVerityRequest struct, Options VerificationOptions +pkg syscall/zx/io, type FileEnableVerityResponse struct +pkg syscall/zx/io, type FileEnableVerityResult struct +pkg syscall/zx/io, type FileEnableVerityResult struct, Err int32 +pkg syscall/zx/io, type FileEnableVerityResult struct, Response FileEnableVerityResponse +pkg syscall/zx/io, type FileEnableVerityResult struct, embedded I_fileEnableVerityResultTag pkg syscall/zx/io, type FileEventProxy struct pkg syscall/zx/io, type FileEventProxy struct, embedded zx.Channel +pkg syscall/zx/io, type FileGetBackingMemoryRequest struct +pkg syscall/zx/io, type FileGetBackingMemoryRequest struct, Flags VmoFlags pkg syscall/zx/io, type FileGetBackingMemoryResponse struct pkg syscall/zx/io, type FileGetBackingMemoryResponse struct, Vmo zx.VMO pkg syscall/zx/io, type FileGetBackingMemoryResult struct @@ -3524,6 +4204,8 @@ pkg syscall/zx/io, type FileGetBackingMemoryResult struct, Response FileGetBackingMemoryResponse pkg syscall/zx/io, type FileGetBackingMemoryResult struct, embedded I_fileGetBackingMemoryResultTag pkg syscall/zx/io, type FileInfo struct +pkg syscall/zx/io, type FileInfo struct, Attributes NodeAttributes2 +pkg syscall/zx/io, type FileInfo struct, AttributesPresent bool pkg syscall/zx/io, type FileInfo struct, I_unknownData interface{} pkg syscall/zx/io, type FileInfo struct, IsAppend bool pkg syscall/zx/io, type FileInfo struct, IsAppendPresent bool @@ -3535,17 +4217,25 @@ pkg syscall/zx/io, type FileObject struct, Event zx.Event pkg syscall/zx/io, type FileObject struct, Stream zx.Handle pkg syscall/zx/io, type FileProtocolFlags uint64 +pkg syscall/zx/io, type FileReadAtRequest struct +pkg syscall/zx/io, type FileReadAtRequest struct, Count uint64 +pkg syscall/zx/io, type FileReadAtRequest struct, Offset uint64 pkg syscall/zx/io, type FileReadAtResponse struct pkg syscall/zx/io, type FileReadAtResponse struct, Data []uint8 pkg syscall/zx/io, type FileReadAtResult struct pkg syscall/zx/io, type FileReadAtResult struct, Err int32 pkg syscall/zx/io, type FileReadAtResult struct, Response FileReadAtResponse pkg syscall/zx/io, type FileReadAtResult struct, embedded I_fileReadAtResultTag +pkg syscall/zx/io, type FileResizeRequest struct +pkg syscall/zx/io, type FileResizeRequest struct, Length uint64 pkg syscall/zx/io, type FileResizeResponse struct pkg syscall/zx/io, type FileResizeResult struct pkg syscall/zx/io, type FileResizeResult struct, Err int32 pkg syscall/zx/io, type FileResizeResult struct, Response FileResizeResponse pkg syscall/zx/io, type FileResizeResult struct, embedded I_fileResizeResultTag +pkg syscall/zx/io, type FileSeekRequest struct +pkg syscall/zx/io, type FileSeekRequest struct, Offset int64 +pkg syscall/zx/io, type FileSeekRequest struct, Origin SeekOrigin pkg syscall/zx/io, type FileSeekResponse struct pkg syscall/zx/io, type FileSeekResponse struct, OffsetFromStart uint64 pkg syscall/zx/io, type FileSeekResult struct @@ -3553,24 +4243,31 @@ pkg syscall/zx/io, type FileSeekResult struct, Response FileSeekResponse pkg syscall/zx/io, type FileSeekResult struct, embedded I_fileSeekResultTag pkg syscall/zx/io, type FileSignal uint32 -pkg syscall/zx/io, type FileWithCtx interface { AdvisoryLock, Clone, Close, Describe, GetAttr, GetAttributes, GetBackingMemory, GetConnectionInfo, GetFlags, Query, QueryFilesystem, Read, ReadAt, Reopen, Resize, Seek, SetAttr, SetFlags, Sync, UpdateAttributes, Write, WriteAt } +pkg syscall/zx/io, type FileWithCtx interface { AdvisoryLock, Allocate, Clone, Close, Describe, EnableVerity, GetAttr, GetAttributes, GetBackingMemory, GetConnectionInfo, GetExtendedAttribute, GetFlags, LinkInto, ListExtendedAttributes, Query, QueryFilesystem, Read, ReadAt, RemoveExtendedAttribute, Reopen, Resize, Seek, SetAttr, SetExtendedAttribute, SetFlags, Sync, UpdateAttributes, Write, WriteAt } pkg syscall/zx/io, type FileWithCtx interface, AdvisoryLock(context.Context, AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) +pkg syscall/zx/io, type FileWithCtx interface, Allocate(context.Context, uint64, uint64, AllocateMode) (FileAllocateResult, error) pkg syscall/zx/io, type FileWithCtx interface, Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, type FileWithCtx interface, Close(context.Context) (unknown.CloseableCloseResult, error) pkg syscall/zx/io, type FileWithCtx interface, Describe(context.Context) (FileInfo, error) +pkg syscall/zx/io, type FileWithCtx interface, EnableVerity(context.Context, VerificationOptions) (FileEnableVerityResult, error) pkg syscall/zx/io, type FileWithCtx interface, GetAttr(context.Context) (int32, NodeAttributes, error) pkg syscall/zx/io, type FileWithCtx interface, GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) pkg syscall/zx/io, type FileWithCtx interface, GetBackingMemory(context.Context, VmoFlags) (FileGetBackingMemoryResult, error) pkg syscall/zx/io, type FileWithCtx interface, GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, type FileWithCtx interface, GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) pkg syscall/zx/io, type FileWithCtx interface, GetFlags(context.Context) (int32, OpenFlags, error) +pkg syscall/zx/io, type FileWithCtx interface, LinkInto(context.Context, zx.Event, string) (LinkableLinkIntoResult, error) +pkg syscall/zx/io, type FileWithCtx interface, ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, type FileWithCtx interface, Query(context.Context) ([]uint8, error) pkg syscall/zx/io, type FileWithCtx interface, QueryFilesystem(context.Context) (int32, *FilesystemInfo, error) pkg syscall/zx/io, type FileWithCtx interface, Read(context.Context, uint64) (ReadableReadResult, error) pkg syscall/zx/io, type FileWithCtx interface, ReadAt(context.Context, uint64, uint64) (FileReadAtResult, error) -pkg syscall/zx/io, type FileWithCtx interface, Reopen(context.Context, *RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, type FileWithCtx interface, RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, type FileWithCtx interface, Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, type FileWithCtx interface, Resize(context.Context, uint64) (FileResizeResult, error) pkg syscall/zx/io, type FileWithCtx interface, Seek(context.Context, SeekOrigin, int64) (FileSeekResult, error) pkg syscall/zx/io, type FileWithCtx interface, SetAttr(context.Context, NodeAttributeFlags, NodeAttributes) (int32, error) +pkg syscall/zx/io, type FileWithCtx interface, SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, type FileWithCtx interface, SetFlags(context.Context, OpenFlags) (int32, error) pkg syscall/zx/io, type FileWithCtx interface, Sync(context.Context) (Node2SyncResult, error) pkg syscall/zx/io, type FileWithCtx interface, UpdateAttributes(context.Context, MutableNodeAttributes) (Node2UpdateAttributesResult, error) @@ -3583,6 +4280,9 @@ pkg syscall/zx/io, type FileWithCtxStub struct pkg syscall/zx/io, type FileWithCtxStub struct, Impl FileWithCtx pkg syscall/zx/io, type FileWithCtxTransitionalBase struct +pkg syscall/zx/io, type FileWriteAtRequest struct +pkg syscall/zx/io, type FileWriteAtRequest struct, Data []uint8 +pkg syscall/zx/io, type FileWriteAtRequest struct, Offset uint64 pkg syscall/zx/io, type FileWriteAtResponse struct pkg syscall/zx/io, type FileWriteAtResponse struct, ActualCount uint64 pkg syscall/zx/io, type FileWriteAtResult struct @@ -3601,26 +4301,39 @@ pkg syscall/zx/io, type FilesystemInfo struct, TotalNodes uint64 pkg syscall/zx/io, type FilesystemInfo struct, UsedBytes uint64 pkg syscall/zx/io, type FilesystemInfo struct, UsedNodes uint64 +pkg syscall/zx/io, type HashAlgorithm uint8 pkg syscall/zx/io, type I_advisoryLockingAdvisoryLockResultTag uint64 pkg syscall/zx/io, type I_connectionProtocolsTag uint64 +pkg syscall/zx/io, type I_directory2CreateSymlinkResultTag uint64 pkg syscall/zx/io, type I_directory2RenameResultTag uint64 pkg syscall/zx/io, type I_directory2UnlinkResultTag uint64 pkg syscall/zx/io, type I_directoryIteratorGetNextResultTag uint64 +pkg syscall/zx/io, type I_extendedAttributeIteratorGetNextResultTag uint64 +pkg syscall/zx/io, type I_extendedAttributeValueTag uint64 +pkg syscall/zx/io, type I_fileAllocateResultTag uint64 +pkg syscall/zx/io, type I_fileEnableVerityResultTag uint64 pkg syscall/zx/io, type I_fileGetBackingMemoryResultTag uint64 pkg syscall/zx/io, type I_fileReadAtResultTag uint64 pkg syscall/zx/io, type I_fileResizeResultTag uint64 pkg syscall/zx/io, type I_fileSeekResultTag uint64 pkg syscall/zx/io, type I_fileWriteAtResultTag uint64 +pkg syscall/zx/io, type I_linkableLinkIntoResultTag uint64 pkg syscall/zx/io, type I_node2GetAttributesResultTag uint64 +pkg syscall/zx/io, type I_node2GetExtendedAttributeResultTag uint64 +pkg syscall/zx/io, type I_node2RemoveExtendedAttributeResultTag uint64 +pkg syscall/zx/io, type I_node2SetExtendedAttributeResultTag uint64 pkg syscall/zx/io, type I_node2SyncResultTag uint64 pkg syscall/zx/io, type I_node2UpdateAttributesResultTag uint64 pkg syscall/zx/io, type I_nodeInfoDeprecatedTag uint64 pkg syscall/zx/io, type I_readableReadResultTag uint64 pkg syscall/zx/io, type I_representationTag uint64 pkg syscall/zx/io, type I_writableWriteResultTag uint64 +pkg syscall/zx/io, type Id = uint64 pkg syscall/zx/io, type ImmutableNodeAttributes struct pkg syscall/zx/io, type ImmutableNodeAttributes struct, Abilities Operations pkg syscall/zx/io, type ImmutableNodeAttributes struct, AbilitiesPresent bool +pkg syscall/zx/io, type ImmutableNodeAttributes struct, ChangeTime uint64 +pkg syscall/zx/io, type ImmutableNodeAttributes struct, ChangeTimePresent bool pkg syscall/zx/io, type ImmutableNodeAttributes struct, ContentSize uint64 pkg syscall/zx/io, type ImmutableNodeAttributes struct, ContentSizePresent bool pkg syscall/zx/io, type ImmutableNodeAttributes struct, I_unknownData interface{} @@ -3628,36 +4341,77 @@ pkg syscall/zx/io, type ImmutableNodeAttributes struct, IdPresent bool pkg syscall/zx/io, type ImmutableNodeAttributes struct, LinkCount uint64 pkg syscall/zx/io, type ImmutableNodeAttributes struct, LinkCountPresent bool +pkg syscall/zx/io, type ImmutableNodeAttributes struct, Options VerificationOptions +pkg syscall/zx/io, type ImmutableNodeAttributes struct, OptionsPresent bool pkg syscall/zx/io, type ImmutableNodeAttributes struct, Protocols NodeProtocolKinds pkg syscall/zx/io, type ImmutableNodeAttributes struct, ProtocolsPresent bool +pkg syscall/zx/io, type ImmutableNodeAttributes struct, RootHash []uint8 +pkg syscall/zx/io, type ImmutableNodeAttributes struct, RootHashPresent bool pkg syscall/zx/io, type ImmutableNodeAttributes struct, StorageSize uint64 pkg syscall/zx/io, type ImmutableNodeAttributes struct, StorageSizePresent bool -pkg syscall/zx/io, type InotifierEventProxy struct -pkg syscall/zx/io, type InotifierEventProxy struct, embedded zx.Channel -pkg syscall/zx/io, type InotifierWithCtx interface {} -pkg syscall/zx/io, type InotifierWithCtxInterface struct -pkg syscall/zx/io, type InotifierWithCtxInterface struct, embedded zx.Channel -pkg syscall/zx/io, type InotifierWithCtxInterfaceRequest struct -pkg syscall/zx/io, type InotifierWithCtxInterfaceRequest struct, embedded zx.Channel -pkg syscall/zx/io, type InotifierWithCtxStub struct -pkg syscall/zx/io, type InotifierWithCtxStub struct, Impl InotifierWithCtx -pkg syscall/zx/io, type InotifierWithCtxTransitionalBase struct -pkg syscall/zx/io, type InotifyEvent struct -pkg syscall/zx/io, type InotifyEvent struct, Cookie uint32 -pkg syscall/zx/io, type InotifyEvent struct, Filename string -pkg syscall/zx/io, type InotifyEvent struct, Len uint32 -pkg syscall/zx/io, type InotifyEvent struct, Mask InotifyWatchMask -pkg syscall/zx/io, type InotifyEvent struct, WatchDescriptor uint32 -pkg syscall/zx/io, type InotifyWatchMask uint32 +pkg syscall/zx/io, type LinkableEventProxy struct +pkg syscall/zx/io, type LinkableEventProxy struct, embedded zx.Channel +pkg syscall/zx/io, type LinkableLinkIntoRequest struct +pkg syscall/zx/io, type LinkableLinkIntoRequest struct, Dst string +pkg syscall/zx/io, type LinkableLinkIntoRequest struct, DstParentToken zx.Event +pkg syscall/zx/io, type LinkableLinkIntoResponse struct +pkg syscall/zx/io, type LinkableLinkIntoResult struct +pkg syscall/zx/io, type LinkableLinkIntoResult struct, Err int32 +pkg syscall/zx/io, type LinkableLinkIntoResult struct, Response LinkableLinkIntoResponse +pkg syscall/zx/io, type LinkableLinkIntoResult struct, embedded I_linkableLinkIntoResultTag +pkg syscall/zx/io, type LinkableWithCtx interface { LinkInto } +pkg syscall/zx/io, type LinkableWithCtx interface, LinkInto(context.Context, zx.Event, string) (LinkableLinkIntoResult, error) +pkg syscall/zx/io, type LinkableWithCtxInterface struct +pkg syscall/zx/io, type LinkableWithCtxInterface struct, embedded zx.Channel +pkg syscall/zx/io, type LinkableWithCtxInterfaceRequest struct +pkg syscall/zx/io, type LinkableWithCtxInterfaceRequest struct, embedded zx.Channel +pkg syscall/zx/io, type LinkableWithCtxStub struct +pkg syscall/zx/io, type LinkableWithCtxStub struct, Impl LinkableWithCtx +pkg syscall/zx/io, type LinkableWithCtxTransitionalBase struct pkg syscall/zx/io, type ModeType uint32 pkg syscall/zx/io, type MutableNodeAttributes struct +pkg syscall/zx/io, type MutableNodeAttributes struct, AccessTime uint64 +pkg syscall/zx/io, type MutableNodeAttributes struct, AccessTimePresent bool pkg syscall/zx/io, type MutableNodeAttributes struct, CreationTime uint64 pkg syscall/zx/io, type MutableNodeAttributes struct, CreationTimePresent bool +pkg syscall/zx/io, type MutableNodeAttributes struct, Gid uint32 +pkg syscall/zx/io, type MutableNodeAttributes struct, GidPresent bool pkg syscall/zx/io, type MutableNodeAttributes struct, I_unknownData interface{} +pkg syscall/zx/io, type MutableNodeAttributes struct, Mode uint32 +pkg syscall/zx/io, type MutableNodeAttributes struct, ModePresent bool pkg syscall/zx/io, type MutableNodeAttributes struct, ModificationTime uint64 pkg syscall/zx/io, type MutableNodeAttributes struct, ModificationTimePresent bool +pkg syscall/zx/io, type MutableNodeAttributes struct, Rdev uint64 +pkg syscall/zx/io, type MutableNodeAttributes struct, RdevPresent bool +pkg syscall/zx/io, type MutableNodeAttributes struct, Uid uint32 +pkg syscall/zx/io, type MutableNodeAttributes struct, UidPresent bool +pkg syscall/zx/io, type Name_ = string +pkg syscall/zx/io, type Node1CloneRequest struct +pkg syscall/zx/io, type Node1CloneRequest struct, Flags OpenFlags +pkg syscall/zx/io, type Node1CloneRequest struct, Object NodeWithCtxInterfaceRequest pkg syscall/zx/io, type Node1EventProxy struct pkg syscall/zx/io, type Node1EventProxy struct, embedded zx.Channel +pkg syscall/zx/io, type Node1GetAttrResponse struct +pkg syscall/zx/io, type Node1GetAttrResponse struct, Attributes NodeAttributes +pkg syscall/zx/io, type Node1GetAttrResponse struct, S int32 +pkg syscall/zx/io, type Node1GetFlagsResponse struct +pkg syscall/zx/io, type Node1GetFlagsResponse struct, Flags OpenFlags +pkg syscall/zx/io, type Node1GetFlagsResponse struct, S int32 +pkg syscall/zx/io, type Node1OnOpenRequest struct +pkg syscall/zx/io, type Node1OnOpenRequest struct, Info *NodeInfoDeprecated +pkg syscall/zx/io, type Node1OnOpenRequest struct, S int32 +pkg syscall/zx/io, type Node1QueryFilesystemResponse struct +pkg syscall/zx/io, type Node1QueryFilesystemResponse struct, Info *FilesystemInfo +pkg syscall/zx/io, type Node1QueryFilesystemResponse struct, S int32 +pkg syscall/zx/io, type Node1SetAttrRequest struct +pkg syscall/zx/io, type Node1SetAttrRequest struct, Attributes NodeAttributes +pkg syscall/zx/io, type Node1SetAttrRequest struct, Flags NodeAttributeFlags +pkg syscall/zx/io, type Node1SetAttrResponse struct +pkg syscall/zx/io, type Node1SetAttrResponse struct, S int32 +pkg syscall/zx/io, type Node1SetFlagsRequest struct +pkg syscall/zx/io, type Node1SetFlagsRequest struct, Flags OpenFlags +pkg syscall/zx/io, type Node1SetFlagsResponse struct +pkg syscall/zx/io, type Node1SetFlagsResponse struct, S int32 pkg syscall/zx/io, type Node1WithCtx interface { Clone, GetAttr, GetFlags, QueryFilesystem, SetAttr, SetFlags } pkg syscall/zx/io, type Node1WithCtx interface, Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, type Node1WithCtx interface, GetAttr(context.Context) (int32, NodeAttributes, error) @@ -3674,10 +4428,39 @@ pkg syscall/zx/io, type Node1WithCtxTransitionalBase struct pkg syscall/zx/io, type Node2EventProxy struct pkg syscall/zx/io, type Node2EventProxy struct, embedded zx.Channel +pkg syscall/zx/io, type Node2GetAttributesRequest struct +pkg syscall/zx/io, type Node2GetAttributesRequest struct, Query NodeAttributesQuery pkg syscall/zx/io, type Node2GetAttributesResult struct pkg syscall/zx/io, type Node2GetAttributesResult struct, Err int32 pkg syscall/zx/io, type Node2GetAttributesResult struct, Response NodeAttributes2 pkg syscall/zx/io, type Node2GetAttributesResult struct, embedded I_node2GetAttributesResultTag +pkg syscall/zx/io, type Node2GetExtendedAttributeRequest struct +pkg syscall/zx/io, type Node2GetExtendedAttributeRequest struct, Name []uint8 +pkg syscall/zx/io, type Node2GetExtendedAttributeResult struct +pkg syscall/zx/io, type Node2GetExtendedAttributeResult struct, Err int32 +pkg syscall/zx/io, type Node2GetExtendedAttributeResult struct, Response ExtendedAttributeValue +pkg syscall/zx/io, type Node2GetExtendedAttributeResult struct, embedded I_node2GetExtendedAttributeResultTag +pkg syscall/zx/io, type Node2ListExtendedAttributesRequest struct +pkg syscall/zx/io, type Node2ListExtendedAttributesRequest struct, Iterator ExtendedAttributeIteratorWithCtxInterfaceRequest +pkg syscall/zx/io, type Node2RemoveExtendedAttributeRequest struct +pkg syscall/zx/io, type Node2RemoveExtendedAttributeRequest struct, Name []uint8 +pkg syscall/zx/io, type Node2RemoveExtendedAttributeResponse struct +pkg syscall/zx/io, type Node2RemoveExtendedAttributeResult struct +pkg syscall/zx/io, type Node2RemoveExtendedAttributeResult struct, Err int32 +pkg syscall/zx/io, type Node2RemoveExtendedAttributeResult struct, Response Node2RemoveExtendedAttributeResponse +pkg syscall/zx/io, type Node2RemoveExtendedAttributeResult struct, embedded I_node2RemoveExtendedAttributeResultTag +pkg syscall/zx/io, type Node2ReopenRequest struct +pkg syscall/zx/io, type Node2ReopenRequest struct, ObjectRequest NodeWithCtxInterfaceRequest +pkg syscall/zx/io, type Node2ReopenRequest struct, RightsRequest RightsRequest +pkg syscall/zx/io, type Node2SetExtendedAttributeRequest struct +pkg syscall/zx/io, type Node2SetExtendedAttributeRequest struct, Mode SetExtendedAttributeMode +pkg syscall/zx/io, type Node2SetExtendedAttributeRequest struct, Name []uint8 +pkg syscall/zx/io, type Node2SetExtendedAttributeRequest struct, Value ExtendedAttributeValue +pkg syscall/zx/io, type Node2SetExtendedAttributeResponse struct +pkg syscall/zx/io, type Node2SetExtendedAttributeResult struct +pkg syscall/zx/io, type Node2SetExtendedAttributeResult struct, Err int32 +pkg syscall/zx/io, type Node2SetExtendedAttributeResult struct, Response Node2SetExtendedAttributeResponse +pkg syscall/zx/io, type Node2SetExtendedAttributeResult struct, embedded I_node2SetExtendedAttributeResultTag pkg syscall/zx/io, type Node2SyncResponse struct pkg syscall/zx/io, type Node2SyncResult struct pkg syscall/zx/io, type Node2SyncResult struct, Err int32 @@ -3688,12 +4471,16 @@ pkg syscall/zx/io, type Node2UpdateAttributesResult struct, Err int32 pkg syscall/zx/io, type Node2UpdateAttributesResult struct, Response Node2UpdateAttributesResponse pkg syscall/zx/io, type Node2UpdateAttributesResult struct, embedded I_node2UpdateAttributesResultTag -pkg syscall/zx/io, type Node2WithCtx interface { Close, GetAttributes, GetConnectionInfo, Query, Reopen, Sync, UpdateAttributes } +pkg syscall/zx/io, type Node2WithCtx interface { Close, GetAttributes, GetConnectionInfo, GetExtendedAttribute, ListExtendedAttributes, Query, RemoveExtendedAttribute, Reopen, SetExtendedAttribute, Sync, UpdateAttributes } pkg syscall/zx/io, type Node2WithCtx interface, Close(context.Context) (unknown.CloseableCloseResult, error) pkg syscall/zx/io, type Node2WithCtx interface, GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) pkg syscall/zx/io, type Node2WithCtx interface, GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, type Node2WithCtx interface, GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) +pkg syscall/zx/io, type Node2WithCtx interface, ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, type Node2WithCtx interface, Query(context.Context) ([]uint8, error) -pkg syscall/zx/io, type Node2WithCtx interface, Reopen(context.Context, *RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, type Node2WithCtx interface, RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, type Node2WithCtx interface, Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, type Node2WithCtx interface, SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, type Node2WithCtx interface, Sync(context.Context) (Node2SyncResult, error) pkg syscall/zx/io, type Node2WithCtx interface, UpdateAttributes(context.Context, MutableNodeAttributes) (Node2UpdateAttributesResult, error) pkg syscall/zx/io, type Node2WithCtxInterface struct @@ -3723,8 +4510,13 @@ pkg syscall/zx/io, type NodeInfoDeprecated struct, Directory DirectoryObject pkg syscall/zx/io, type NodeInfoDeprecated struct, File FileObject pkg syscall/zx/io, type NodeInfoDeprecated struct, Service Service +pkg syscall/zx/io, type NodeInfoDeprecated struct, Symlink SymlinkObject pkg syscall/zx/io, type NodeInfoDeprecated struct, embedded I_nodeInfoDeprecatedTag pkg syscall/zx/io, type NodeOptions struct +pkg syscall/zx/io, type NodeOptions struct, Attributes NodeAttributesQuery +pkg syscall/zx/io, type NodeOptions struct, AttributesPresent bool +pkg syscall/zx/io, type NodeOptions struct, CreateAttributes MutableNodeAttributes +pkg syscall/zx/io, type NodeOptions struct, CreateAttributesPresent bool pkg syscall/zx/io, type NodeOptions struct, Flags NodeFlags pkg syscall/zx/io, type NodeOptions struct, FlagsPresent bool pkg syscall/zx/io, type NodeOptions struct, I_unknownData interface{} @@ -3732,26 +4524,35 @@ pkg syscall/zx/io, type NodeOptions struct, ModePresent bool pkg syscall/zx/io, type NodeOptions struct, Protocols NodeProtocols pkg syscall/zx/io, type NodeOptions struct, ProtocolsPresent bool -pkg syscall/zx/io, type NodeOptions struct, RightsRequest RightsRequest -pkg syscall/zx/io, type NodeOptions struct, RightsRequestPresent bool +pkg syscall/zx/io, type NodeOptions struct, Rights Operations +pkg syscall/zx/io, type NodeOptions struct, RightsPresent bool +pkg syscall/zx/io, type NodeProtocolFlags uint64 pkg syscall/zx/io, type NodeProtocolKinds uint64 pkg syscall/zx/io, type NodeProtocols struct -pkg syscall/zx/io, type NodeProtocols struct, Directory DirectoryProtocolFlags +pkg syscall/zx/io, type NodeProtocols struct, Directory DirectoryProtocolOptions pkg syscall/zx/io, type NodeProtocols struct, DirectoryPresent bool pkg syscall/zx/io, type NodeProtocols struct, File FileProtocolFlags pkg syscall/zx/io, type NodeProtocols struct, FilePresent bool pkg syscall/zx/io, type NodeProtocols struct, I_unknownData interface{} -pkg syscall/zx/io, type NodeWithCtx interface { Clone, Close, GetAttr, GetAttributes, GetConnectionInfo, GetFlags, Query, QueryFilesystem, Reopen, SetAttr, SetFlags, Sync, UpdateAttributes } +pkg syscall/zx/io, type NodeProtocols struct, Node NodeProtocolFlags +pkg syscall/zx/io, type NodeProtocols struct, NodePresent bool +pkg syscall/zx/io, type NodeProtocols struct, Symlink SymlinkProtocolFlags +pkg syscall/zx/io, type NodeProtocols struct, SymlinkPresent bool +pkg syscall/zx/io, type NodeWithCtx interface { Clone, Close, GetAttr, GetAttributes, GetConnectionInfo, GetExtendedAttribute, GetFlags, ListExtendedAttributes, Query, QueryFilesystem, RemoveExtendedAttribute, Reopen, SetAttr, SetExtendedAttribute, SetFlags, Sync, UpdateAttributes } pkg syscall/zx/io, type NodeWithCtx interface, Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, type NodeWithCtx interface, Close(context.Context) (unknown.CloseableCloseResult, error) pkg syscall/zx/io, type NodeWithCtx interface, GetAttr(context.Context) (int32, NodeAttributes, error) pkg syscall/zx/io, type NodeWithCtx interface, GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) pkg syscall/zx/io, type NodeWithCtx interface, GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, type NodeWithCtx interface, GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) pkg syscall/zx/io, type NodeWithCtx interface, GetFlags(context.Context) (int32, OpenFlags, error) +pkg syscall/zx/io, type NodeWithCtx interface, ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error pkg syscall/zx/io, type NodeWithCtx interface, Query(context.Context) ([]uint8, error) pkg syscall/zx/io, type NodeWithCtx interface, QueryFilesystem(context.Context) (int32, *FilesystemInfo, error) -pkg syscall/zx/io, type NodeWithCtx interface, Reopen(context.Context, *RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, type NodeWithCtx interface, RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, type NodeWithCtx interface, Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, type NodeWithCtx interface, SetAttr(context.Context, NodeAttributeFlags, NodeAttributes) (int32, error) +pkg syscall/zx/io, type NodeWithCtx interface, SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) pkg syscall/zx/io, type NodeWithCtx interface, SetFlags(context.Context, OpenFlags) (int32, error) pkg syscall/zx/io, type NodeWithCtx interface, Sync(context.Context) (Node2SyncResult, error) pkg syscall/zx/io, type NodeWithCtx interface, UpdateAttributes(context.Context, MutableNodeAttributes) (Node2UpdateAttributesResult, error) @@ -3766,6 +4567,11 @@ pkg syscall/zx/io, type OpenMode uint32 pkg syscall/zx/io, type OpenableEventProxy struct pkg syscall/zx/io, type OpenableEventProxy struct, embedded zx.Channel +pkg syscall/zx/io, type OpenableOpenRequest struct +pkg syscall/zx/io, type OpenableOpenRequest struct, Flags OpenFlags +pkg syscall/zx/io, type OpenableOpenRequest struct, Mode ModeType +pkg syscall/zx/io, type OpenableOpenRequest struct, Object NodeWithCtxInterfaceRequest +pkg syscall/zx/io, type OpenableOpenRequest struct, Path string pkg syscall/zx/io, type OpenableWithCtx interface { Open } pkg syscall/zx/io, type OpenableWithCtx interface, Open(context.Context, OpenFlags, ModeType, string, NodeWithCtxInterfaceRequest) error pkg syscall/zx/io, type OpenableWithCtxInterface struct @@ -3776,8 +4582,11 @@ pkg syscall/zx/io, type OpenableWithCtxStub struct, Impl OpenableWithCtx pkg syscall/zx/io, type OpenableWithCtxTransitionalBase struct pkg syscall/zx/io, type Operations uint64 +pkg syscall/zx/io, type Path = string pkg syscall/zx/io, type ReadableEventProxy struct pkg syscall/zx/io, type ReadableEventProxy struct, embedded zx.Channel +pkg syscall/zx/io, type ReadableReadRequest struct +pkg syscall/zx/io, type ReadableReadRequest struct, Count uint64 pkg syscall/zx/io, type ReadableReadResponse struct pkg syscall/zx/io, type ReadableReadResponse struct, Data []uint8 pkg syscall/zx/io, type ReadableReadResult struct @@ -3798,19 +4607,68 @@ pkg syscall/zx/io, type Representation struct, Directory DirectoryInfo pkg syscall/zx/io, type Representation struct, File FileInfo pkg syscall/zx/io, type Representation struct, I_unknownData interface{} +pkg syscall/zx/io, type Representation struct, Symlink SymlinkInfo pkg syscall/zx/io, type Representation struct, embedded I_representationTag +pkg syscall/zx/io, type Rights = Operations pkg syscall/zx/io, type RightsRequest struct -pkg syscall/zx/io, type RightsRequest struct, AtLeast Operations -pkg syscall/zx/io, type RightsRequest struct, AtMost Operations -pkg syscall/zx/io, type RightsRequest struct, Resolution RightsResolution -pkg syscall/zx/io, type RightsResolution uint32 +pkg syscall/zx/io, type RightsRequest struct, I_unknownData interface{} +pkg syscall/zx/io, type RightsRequest struct, Rights Operations +pkg syscall/zx/io, type RightsRequest struct, RightsPresent bool pkg syscall/zx/io, type SeekOrigin uint32 pkg syscall/zx/io, type Service struct +pkg syscall/zx/io, type SetExtendedAttributeMode uint32 +pkg syscall/zx/io, type SymlinkEventProxy struct +pkg syscall/zx/io, type SymlinkEventProxy struct, embedded zx.Channel +pkg syscall/zx/io, type SymlinkInfo struct +pkg syscall/zx/io, type SymlinkInfo struct, Attributes NodeAttributes2 +pkg syscall/zx/io, type SymlinkInfo struct, AttributesPresent bool +pkg syscall/zx/io, type SymlinkInfo struct, I_unknownData interface{} +pkg syscall/zx/io, type SymlinkInfo struct, Target []uint8 +pkg syscall/zx/io, type SymlinkInfo struct, TargetPresent bool +pkg syscall/zx/io, type SymlinkObject struct +pkg syscall/zx/io, type SymlinkObject struct, Target []uint8 +pkg syscall/zx/io, type SymlinkProtocolFlags uint64 +pkg syscall/zx/io, type SymlinkTarget = []uint8 +pkg syscall/zx/io, type SymlinkWithCtx interface { Clone, Close, Describe, GetAttr, GetAttributes, GetConnectionInfo, GetExtendedAttribute, GetFlags, LinkInto, ListExtendedAttributes, Query, QueryFilesystem, RemoveExtendedAttribute, Reopen, SetAttr, SetExtendedAttribute, SetFlags, Sync, UpdateAttributes } +pkg syscall/zx/io, type SymlinkWithCtx interface, Clone(context.Context, OpenFlags, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, type SymlinkWithCtx interface, Close(context.Context) (unknown.CloseableCloseResult, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, Describe(context.Context) (SymlinkInfo, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, GetAttr(context.Context) (int32, NodeAttributes, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, GetAttributes(context.Context, NodeAttributesQuery) (Node2GetAttributesResult, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, GetConnectionInfo(context.Context) (ConnectionInfo, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, GetExtendedAttribute(context.Context, []uint8) (Node2GetExtendedAttributeResult, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, GetFlags(context.Context) (int32, OpenFlags, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, LinkInto(context.Context, zx.Event, string) (LinkableLinkIntoResult, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, ListExtendedAttributes(context.Context, ExtendedAttributeIteratorWithCtxInterfaceRequest) error +pkg syscall/zx/io, type SymlinkWithCtx interface, Query(context.Context) ([]uint8, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, QueryFilesystem(context.Context) (int32, *FilesystemInfo, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, RemoveExtendedAttribute(context.Context, []uint8) (Node2RemoveExtendedAttributeResult, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, Reopen(context.Context, RightsRequest, NodeWithCtxInterfaceRequest) error +pkg syscall/zx/io, type SymlinkWithCtx interface, SetAttr(context.Context, NodeAttributeFlags, NodeAttributes) (int32, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, SetExtendedAttribute(context.Context, []uint8, ExtendedAttributeValue, SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, SetFlags(context.Context, OpenFlags) (int32, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, Sync(context.Context) (Node2SyncResult, error) +pkg syscall/zx/io, type SymlinkWithCtx interface, UpdateAttributes(context.Context, MutableNodeAttributes) (Node2UpdateAttributesResult, error) +pkg syscall/zx/io, type SymlinkWithCtxInterface struct +pkg syscall/zx/io, type SymlinkWithCtxInterface struct, embedded zx.Channel +pkg syscall/zx/io, type SymlinkWithCtxInterfaceRequest struct +pkg syscall/zx/io, type SymlinkWithCtxInterfaceRequest struct, embedded zx.Channel +pkg syscall/zx/io, type SymlinkWithCtxStub struct +pkg syscall/zx/io, type SymlinkWithCtxStub struct, Impl SymlinkWithCtx +pkg syscall/zx/io, type SymlinkWithCtxTransitionalBase struct +pkg syscall/zx/io, type Token = zx.Event +pkg syscall/zx/io, type Transfer = []uint8 pkg syscall/zx/io, type UnlinkFlags uint64 pkg syscall/zx/io, type UnlinkOptions struct pkg syscall/zx/io, type UnlinkOptions struct, Flags UnlinkFlags pkg syscall/zx/io, type UnlinkOptions struct, FlagsPresent bool pkg syscall/zx/io, type UnlinkOptions struct, I_unknownData interface{} +pkg syscall/zx/io, type VerificationOptions struct +pkg syscall/zx/io, type VerificationOptions struct, HashAlgorithm HashAlgorithm +pkg syscall/zx/io, type VerificationOptions struct, HashAlgorithmPresent bool +pkg syscall/zx/io, type VerificationOptions struct, I_unknownData interface{} +pkg syscall/zx/io, type VerificationOptions struct, Salt []uint8 +pkg syscall/zx/io, type VerificationOptions struct, SaltPresent bool pkg syscall/zx/io, type VmoFlags uint32 pkg syscall/zx/io, type WatchEvent uint8 pkg syscall/zx/io, type WatchMask uint32 @@ -3825,6 +4683,8 @@ pkg syscall/zx/io, type WritableWithCtxStub struct pkg syscall/zx/io, type WritableWithCtxStub struct, Impl WritableWithCtx pkg syscall/zx/io, type WritableWithCtxTransitionalBase struct +pkg syscall/zx/io, type WritableWriteRequest struct +pkg syscall/zx/io, type WritableWriteRequest struct, Data []uint8 pkg syscall/zx/io, type WritableWriteResponse struct pkg syscall/zx/io, type WritableWriteResponse struct, ActualCount uint64 pkg syscall/zx/io, type WritableWriteResult struct @@ -3896,9 +4756,14 @@ pkg syscall/zx/logger, func NewLogListenerSafeWithCtxInterfaceRequest() (LogListenerSafeWithCtxInterfaceRequest, *LogListenerSafeWithCtxInterface, error) pkg syscall/zx/logger, func NewLogSinkWithCtxInterfaceRequest() (LogSinkWithCtxInterfaceRequest, *LogSinkWithCtxInterface, error) pkg syscall/zx/logger, func NewLogWithCtxInterfaceRequest() (LogWithCtxInterfaceRequest, *LogWithCtxInterface, error) +pkg syscall/zx/logger, method (*LogDumpLogsSafeRequest) Marshaler() fidl.Marshaler pkg syscall/zx/logger, method (*LogEventProxy) Handle() *zx.Handle pkg syscall/zx/logger, method (*LogFilterOptions) Marshaler() fidl.Marshaler +pkg syscall/zx/logger, method (*LogListenSafeRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/logger, method (*LogListenSafeWithSelectorsRequest) Marshaler() fidl.Marshaler pkg syscall/zx/logger, method (*LogListenerSafeEventProxy) Handle() *zx.Handle +pkg syscall/zx/logger, method (*LogListenerSafeLogManyRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/logger, method (*LogListenerSafeLogRequest) Marshaler() fidl.Marshaler pkg syscall/zx/logger, method (*LogListenerSafeWithCtxInterface) Done(context.Context) error pkg syscall/zx/logger, method (*LogListenerSafeWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/logger, method (*LogListenerSafeWithCtxInterface) Log(context.Context, LogMessage) error @@ -3906,6 +4771,8 @@ pkg syscall/zx/logger, method (*LogListenerSafeWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/logger, method (*LogListenerSafeWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) pkg syscall/zx/logger, method (*LogMessage) Marshaler() fidl.Marshaler +pkg syscall/zx/logger, method (*LogSinkConnectRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/logger, method (*LogSinkConnectStructuredRequest) Marshaler() fidl.Marshaler pkg syscall/zx/logger, method (*LogSinkEventProxy) Handle() *zx.Handle pkg syscall/zx/logger, method (*LogSinkWaitForInterestChangeResponse) Marshaler() fidl.Marshaler pkg syscall/zx/logger, method (*LogSinkWaitForInterestChangeResult) Marshaler() fidl.Marshaler @@ -3939,6 +4806,9 @@ pkg syscall/zx/logger, method (LogWithCtxInterfaceRequest) ToChannel() zx.Channel pkg syscall/zx/logger, type I_logSinkWaitForInterestChangeResultTag uint64 pkg syscall/zx/logger, type InterestChangeError uint32 +pkg syscall/zx/logger, type LogDumpLogsSafeRequest struct +pkg syscall/zx/logger, type LogDumpLogsSafeRequest struct, LogListener LogListenerSafeWithCtxInterface +pkg syscall/zx/logger, type LogDumpLogsSafeRequest struct, Options *LogFilterOptions pkg syscall/zx/logger, type LogEventProxy struct pkg syscall/zx/logger, type LogEventProxy struct, embedded zx.Channel pkg syscall/zx/logger, type LogFilterOptions struct @@ -3950,8 +4820,19 @@ pkg syscall/zx/logger, type LogFilterOptions struct, Tid uint64 pkg syscall/zx/logger, type LogFilterOptions struct, Verbosity uint8 pkg syscall/zx/logger, type LogLevelFilter int8 +pkg syscall/zx/logger, type LogListenSafeRequest struct +pkg syscall/zx/logger, type LogListenSafeRequest struct, LogListener LogListenerSafeWithCtxInterface +pkg syscall/zx/logger, type LogListenSafeRequest struct, Options *LogFilterOptions +pkg syscall/zx/logger, type LogListenSafeWithSelectorsRequest struct +pkg syscall/zx/logger, type LogListenSafeWithSelectorsRequest struct, LogListener LogListenerSafeWithCtxInterface +pkg syscall/zx/logger, type LogListenSafeWithSelectorsRequest struct, Options *LogFilterOptions +pkg syscall/zx/logger, type LogListenSafeWithSelectorsRequest struct, Selectors []diagnostics.LogInterestSelector pkg syscall/zx/logger, type LogListenerSafeEventProxy struct pkg syscall/zx/logger, type LogListenerSafeEventProxy struct, embedded zx.Channel +pkg syscall/zx/logger, type LogListenerSafeLogManyRequest struct +pkg syscall/zx/logger, type LogListenerSafeLogManyRequest struct, Log []LogMessage +pkg syscall/zx/logger, type LogListenerSafeLogRequest struct +pkg syscall/zx/logger, type LogListenerSafeLogRequest struct, Log LogMessage pkg syscall/zx/logger, type LogListenerSafeWithCtx interface { Done, Log, LogMany } pkg syscall/zx/logger, type LogListenerSafeWithCtx interface, Done(context.Context) error pkg syscall/zx/logger, type LogListenerSafeWithCtx interface, Log(context.Context, LogMessage) error @@ -3971,6 +4852,10 @@ pkg syscall/zx/logger, type LogMessage struct, Tags []string pkg syscall/zx/logger, type LogMessage struct, Tid uint64 pkg syscall/zx/logger, type LogMessage struct, Time int64 +pkg syscall/zx/logger, type LogSinkConnectRequest struct +pkg syscall/zx/logger, type LogSinkConnectRequest struct, Socket zx.Socket +pkg syscall/zx/logger, type LogSinkConnectStructuredRequest struct +pkg syscall/zx/logger, type LogSinkConnectStructuredRequest struct, Socket zx.Socket pkg syscall/zx/logger, type LogSinkEventProxy struct pkg syscall/zx/logger, type LogSinkEventProxy struct, embedded zx.Channel pkg syscall/zx/logger, type LogSinkWaitForInterestChangeResponse struct @@ -4070,8 +4955,10 @@ pkg syscall/zx/net, method (IpVersion) I_EnumValues() []IpVersion pkg syscall/zx/net, method (IpVersion) IsUnknown() bool pkg syscall/zx/net, method (IpVersion) String() string +pkg syscall/zx/net, type Hostname = string pkg syscall/zx/net, type I_ipAddressTag uint64 pkg syscall/zx/net, type I_socketAddressTag uint64 +pkg syscall/zx/net, type InterfaceId = uint64 pkg syscall/zx/net, type IpAddress struct pkg syscall/zx/net, type IpAddress struct, Ipv4 Ipv4Address pkg syscall/zx/net, type IpAddress struct, Ipv6 Ipv6Address @@ -4096,6 +4983,7 @@ pkg syscall/zx/net, type Ipv6SocketAddress struct, ZoneIndex uint64 pkg syscall/zx/net, type MacAddress struct pkg syscall/zx/net, type MacAddress struct, Octets [6]uint8 +pkg syscall/zx/net, type RouteMetric = uint32 pkg syscall/zx/net, type SocketAddress struct pkg syscall/zx/net, type SocketAddress struct, Ipv4 Ipv4SocketAddress pkg syscall/zx/net, type SocketAddress struct, Ipv6 Ipv6SocketAddress @@ -4103,6 +4991,12 @@ pkg syscall/zx/net, type Subnet struct pkg syscall/zx/net, type Subnet struct, Addr IpAddress pkg syscall/zx/net, type Subnet struct, PrefixLen uint8 +pkg syscall/zx/net/interfaces, const AddressAssignmentStateAssigned = 2 +pkg syscall/zx/net/interfaces, const AddressAssignmentStateAssigned AddressAssignmentState +pkg syscall/zx/net/interfaces, const AddressAssignmentStateTentative = 1 +pkg syscall/zx/net/interfaces, const AddressAssignmentStateTentative AddressAssignmentState +pkg syscall/zx/net/interfaces, const AddressAssignmentStateUnavailable = 3 +pkg syscall/zx/net/interfaces, const AddressAssignmentStateUnavailable AddressAssignmentState pkg syscall/zx/net/interfaces, const AddressPropertiesInterestPreferredLifetimeInfo = 2 pkg syscall/zx/net/interfaces, const AddressPropertiesInterestPreferredLifetimeInfo AddressPropertiesInterest pkg syscall/zx/net/interfaces, const AddressPropertiesInterestValidUntil = 1 @@ -4147,21 +5041,26 @@ pkg syscall/zx/net/interfaces, func PreferredLifetimeInfoWithDeprecated(Empty) PreferredLifetimeInfo pkg syscall/zx/net/interfaces, func PreferredLifetimeInfoWithPreferredUntil(int64) PreferredLifetimeInfo pkg syscall/zx/net/interfaces, method (*Address) ClearAddr() +pkg syscall/zx/net/interfaces, method (*Address) ClearAssignmentState() pkg syscall/zx/net/interfaces, method (*Address) ClearPreferredLifetimeInfo() pkg syscall/zx/net/interfaces, method (*Address) ClearValidUntil() pkg syscall/zx/net/interfaces, method (*Address) GetAddr() net.Subnet pkg syscall/zx/net/interfaces, method (*Address) GetAddrWithDefault(net.Subnet) net.Subnet +pkg syscall/zx/net/interfaces, method (*Address) GetAssignmentState() AddressAssignmentState +pkg syscall/zx/net/interfaces, method (*Address) GetAssignmentStateWithDefault(AddressAssignmentState) AddressAssignmentState pkg syscall/zx/net/interfaces, method (*Address) GetPreferredLifetimeInfo() PreferredLifetimeInfo pkg syscall/zx/net/interfaces, method (*Address) GetPreferredLifetimeInfoWithDefault(PreferredLifetimeInfo) PreferredLifetimeInfo pkg syscall/zx/net/interfaces, method (*Address) GetUnknownData() map[uint64]fidl.UnknownData pkg syscall/zx/net/interfaces, method (*Address) GetValidUntil() int64 pkg syscall/zx/net/interfaces, method (*Address) GetValidUntilWithDefault(int64) int64 pkg syscall/zx/net/interfaces, method (*Address) HasAddr() bool +pkg syscall/zx/net/interfaces, method (*Address) HasAssignmentState() bool pkg syscall/zx/net/interfaces, method (*Address) HasPreferredLifetimeInfo() bool pkg syscall/zx/net/interfaces, method (*Address) HasUnknownData() bool pkg syscall/zx/net/interfaces, method (*Address) HasValidUntil() bool pkg syscall/zx/net/interfaces, method (*Address) Marshaler() fidl.Marshaler pkg syscall/zx/net/interfaces, method (*Address) SetAddr(net.Subnet) +pkg syscall/zx/net/interfaces, method (*Address) SetAssignmentState(AddressAssignmentState) pkg syscall/zx/net/interfaces, method (*Address) SetPreferredLifetimeInfo(PreferredLifetimeInfo) pkg syscall/zx/net/interfaces, method (*Address) SetValidUntil(int64) pkg syscall/zx/net/interfaces, method (*DeviceClass) Marshaler() fidl.Marshaler @@ -4222,23 +5121,34 @@ pkg syscall/zx/net/interfaces, method (*Properties) SetName(string) pkg syscall/zx/net/interfaces, method (*Properties) SetOnline(bool) pkg syscall/zx/net/interfaces, method (*StateEventProxy) Handle() *zx.Handle +pkg syscall/zx/net/interfaces, method (*StateGetWatcherRequest) Marshaler() fidl.Marshaler pkg syscall/zx/net/interfaces, method (*StateWithCtxInterface) GetWatcher(context.Context, WatcherOptions, WatcherWithCtxInterfaceRequest) error pkg syscall/zx/net/interfaces, method (*StateWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/net/interfaces, method (*StateWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/net/interfaces, method (*StateWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) pkg syscall/zx/net/interfaces, method (*WatcherEventProxy) Handle() *zx.Handle pkg syscall/zx/net/interfaces, method (*WatcherOptions) ClearAddressPropertiesInterest() +pkg syscall/zx/net/interfaces, method (*WatcherOptions) ClearIncludeNonAssignedAddresses() pkg syscall/zx/net/interfaces, method (*WatcherOptions) GetAddressPropertiesInterest() AddressPropertiesInterest pkg syscall/zx/net/interfaces, method (*WatcherOptions) GetAddressPropertiesInterestWithDefault(AddressPropertiesInterest) AddressPropertiesInterest +pkg syscall/zx/net/interfaces, method (*WatcherOptions) GetIncludeNonAssignedAddresses() bool +pkg syscall/zx/net/interfaces, method (*WatcherOptions) GetIncludeNonAssignedAddressesWithDefault(bool) bool pkg syscall/zx/net/interfaces, method (*WatcherOptions) GetUnknownData() map[uint64]fidl.UnknownData pkg syscall/zx/net/interfaces, method (*WatcherOptions) HasAddressPropertiesInterest() bool +pkg syscall/zx/net/interfaces, method (*WatcherOptions) HasIncludeNonAssignedAddresses() bool pkg syscall/zx/net/interfaces, method (*WatcherOptions) HasUnknownData() bool pkg syscall/zx/net/interfaces, method (*WatcherOptions) Marshaler() fidl.Marshaler pkg syscall/zx/net/interfaces, method (*WatcherOptions) SetAddressPropertiesInterest(AddressPropertiesInterest) +pkg syscall/zx/net/interfaces, method (*WatcherOptions) SetIncludeNonAssignedAddresses(bool) +pkg syscall/zx/net/interfaces, method (*WatcherWatchResponse) Marshaler() fidl.Marshaler pkg syscall/zx/net/interfaces, method (*WatcherWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/net/interfaces, method (*WatcherWithCtxInterface) Watch(context.Context) (Event, error) pkg syscall/zx/net/interfaces, method (*WatcherWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/net/interfaces, method (*WatcherWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/net/interfaces, method (AddressAssignmentState) I_EnumIsStrict() bool +pkg syscall/zx/net/interfaces, method (AddressAssignmentState) I_EnumValues() []AddressAssignmentState +pkg syscall/zx/net/interfaces, method (AddressAssignmentState) IsUnknown() bool +pkg syscall/zx/net/interfaces, method (AddressAssignmentState) String() string pkg syscall/zx/net/interfaces, method (AddressPropertiesInterest) ClearBits(AddressPropertiesInterest) AddressPropertiesInterest pkg syscall/zx/net/interfaces, method (AddressPropertiesInterest) GetUnknownBits() uint64 pkg syscall/zx/net/interfaces, method (AddressPropertiesInterest) HasBits(AddressPropertiesInterest) bool @@ -4252,11 +5162,14 @@ pkg syscall/zx/net/interfaces, type Address struct pkg syscall/zx/net/interfaces, type Address struct, Addr net.Subnet pkg syscall/zx/net/interfaces, type Address struct, AddrPresent bool +pkg syscall/zx/net/interfaces, type Address struct, AssignmentState AddressAssignmentState +pkg syscall/zx/net/interfaces, type Address struct, AssignmentStatePresent bool pkg syscall/zx/net/interfaces, type Address struct, I_unknownData interface{} pkg syscall/zx/net/interfaces, type Address struct, PreferredLifetimeInfo PreferredLifetimeInfo pkg syscall/zx/net/interfaces, type Address struct, PreferredLifetimeInfoPresent bool pkg syscall/zx/net/interfaces, type Address struct, ValidUntil int64 pkg syscall/zx/net/interfaces, type Address struct, ValidUntilPresent bool +pkg syscall/zx/net/interfaces, type AddressAssignmentState uint32 pkg syscall/zx/net/interfaces, type AddressPropertiesInterest uint64 pkg syscall/zx/net/interfaces, type DeviceClass struct pkg syscall/zx/net/interfaces, type DeviceClass struct, Device network.DeviceClass @@ -4273,6 +5186,7 @@ pkg syscall/zx/net/interfaces, type I_deviceClassTag uint64 pkg syscall/zx/net/interfaces, type I_eventTag uint64 pkg syscall/zx/net/interfaces, type I_preferredLifetimeInfoTag uint64 +pkg syscall/zx/net/interfaces, type Name_ = string pkg syscall/zx/net/interfaces, type PreferredLifetimeInfo struct pkg syscall/zx/net/interfaces, type PreferredLifetimeInfo struct, Deprecated Empty pkg syscall/zx/net/interfaces, type PreferredLifetimeInfo struct, PreferredUntil int64 @@ -4295,6 +5209,9 @@ pkg syscall/zx/net/interfaces, type Properties struct, OnlinePresent bool pkg syscall/zx/net/interfaces, type StateEventProxy struct pkg syscall/zx/net/interfaces, type StateEventProxy struct, embedded zx.Channel +pkg syscall/zx/net/interfaces, type StateGetWatcherRequest struct +pkg syscall/zx/net/interfaces, type StateGetWatcherRequest struct, Options WatcherOptions +pkg syscall/zx/net/interfaces, type StateGetWatcherRequest struct, Watcher WatcherWithCtxInterfaceRequest pkg syscall/zx/net/interfaces, type StateWithCtx interface { GetWatcher } pkg syscall/zx/net/interfaces, type StateWithCtx interface, GetWatcher(context.Context, WatcherOptions, WatcherWithCtxInterfaceRequest) error pkg syscall/zx/net/interfaces, type StateWithCtxInterface struct @@ -4310,6 +5227,10 @@ pkg syscall/zx/net/interfaces, type WatcherOptions struct, AddressPropertiesInterest AddressPropertiesInterest pkg syscall/zx/net/interfaces, type WatcherOptions struct, AddressPropertiesInterestPresent bool pkg syscall/zx/net/interfaces, type WatcherOptions struct, I_unknownData interface{} +pkg syscall/zx/net/interfaces, type WatcherOptions struct, IncludeNonAssignedAddresses bool +pkg syscall/zx/net/interfaces, type WatcherOptions struct, IncludeNonAssignedAddressesPresent bool +pkg syscall/zx/net/interfaces, type WatcherWatchResponse struct +pkg syscall/zx/net/interfaces, type WatcherWatchResponse struct, Event Event pkg syscall/zx/net/interfaces, type WatcherWithCtx interface { Watch } pkg syscall/zx/net/interfaces, type WatcherWithCtx interface, Watch(context.Context) (Event, error) pkg syscall/zx/net/interfaces, type WatcherWithCtxInterface struct @@ -4327,6 +5248,8 @@ pkg syscall/zx/net/name, const DnsServerSourceNdp ideal-int pkg syscall/zx/net/name, const DnsServerSourceStaticSource = 1 pkg syscall/zx/net/name, const DnsServerSourceStaticSource ideal-int +pkg syscall/zx/net/name, const DnsServerWatcherName = "fuchsia.net.name.DnsServerWatcher" +pkg syscall/zx/net/name, const DnsServerWatcherName ideal-string pkg syscall/zx/net/name, const DnsServerWatcherWatchServersOrdinal = 6289435752595043890 pkg syscall/zx/net/name, const DnsServerWatcherWatchServersOrdinal uint64 pkg syscall/zx/net/name, const LookupAdminGetDnsServersOrdinal = 7008449565845288975 @@ -4361,6 +5284,8 @@ pkg syscall/zx/net/name, const LookupLookupIpResultResponse ideal-int pkg syscall/zx/net/name, const LookupName = "fuchsia.net.name.Lookup" pkg syscall/zx/net/name, const LookupName ideal-string +pkg syscall/zx/net/name, const MaxAddresses = 1024 +pkg syscall/zx/net/name, const MaxAddresses uint16 pkg syscall/zx/net/name, func DnsServerSourceWithDhcp(DhcpDnsServerSource) DnsServerSource pkg syscall/zx/net/name, func DnsServerSourceWithDhcpv6(Dhcpv6DnsServerSource) DnsServerSource pkg syscall/zx/net/name, func DnsServerSourceWithNdp(NdpDnsServerSource) DnsServerSource @@ -4411,11 +5336,14 @@ pkg syscall/zx/net/name, method (*DnsServerSource) SetStaticSource(StaticDnsServerSource) pkg syscall/zx/net/name, method (*DnsServerSource) Which() I_dnsServerSourceTag pkg syscall/zx/net/name, method (*DnsServerWatcherEventProxy) Handle() *zx.Handle +pkg syscall/zx/net/name, method (*DnsServerWatcherWatchServersResponse) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*DnsServerWatcherWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/net/name, method (*DnsServerWatcherWithCtxInterface) WatchServers(context.Context) ([]DnsServer, error) pkg syscall/zx/net/name, method (*DnsServerWatcherWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/net/name, method (*DnsServerWatcherWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) pkg syscall/zx/net/name, method (*LookupAdminEventProxy) Handle() *zx.Handle +pkg syscall/zx/net/name, method (*LookupAdminGetDnsServersResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/net/name, method (*LookupAdminSetDnsServersRequest) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*LookupAdminSetDnsServersResponse) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*LookupAdminSetDnsServersResult) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*LookupAdminSetDnsServersResult) Ordinal() uint64 @@ -4428,9 +5356,12 @@ pkg syscall/zx/net/name, method (*LookupAdminWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/net/name, method (*LookupAdminWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) pkg syscall/zx/net/name, method (*LookupEventProxy) Handle() *zx.Handle +pkg syscall/zx/net/name, method (*LookupIpOptions) ClearCanonicalNameLookup() pkg syscall/zx/net/name, method (*LookupIpOptions) ClearIpv4Lookup() pkg syscall/zx/net/name, method (*LookupIpOptions) ClearIpv6Lookup() pkg syscall/zx/net/name, method (*LookupIpOptions) ClearSortAddresses() +pkg syscall/zx/net/name, method (*LookupIpOptions) GetCanonicalNameLookup() bool +pkg syscall/zx/net/name, method (*LookupIpOptions) GetCanonicalNameLookupWithDefault(bool) bool pkg syscall/zx/net/name, method (*LookupIpOptions) GetIpv4Lookup() bool pkg syscall/zx/net/name, method (*LookupIpOptions) GetIpv4LookupWithDefault(bool) bool pkg syscall/zx/net/name, method (*LookupIpOptions) GetIpv6Lookup() bool @@ -4438,20 +5369,24 @@ pkg syscall/zx/net/name, method (*LookupIpOptions) GetSortAddresses() bool pkg syscall/zx/net/name, method (*LookupIpOptions) GetSortAddressesWithDefault(bool) bool pkg syscall/zx/net/name, method (*LookupIpOptions) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/net/name, method (*LookupIpOptions) HasCanonicalNameLookup() bool pkg syscall/zx/net/name, method (*LookupIpOptions) HasIpv4Lookup() bool pkg syscall/zx/net/name, method (*LookupIpOptions) HasIpv6Lookup() bool pkg syscall/zx/net/name, method (*LookupIpOptions) HasSortAddresses() bool pkg syscall/zx/net/name, method (*LookupIpOptions) HasUnknownData() bool pkg syscall/zx/net/name, method (*LookupIpOptions) Marshaler() fidl.Marshaler +pkg syscall/zx/net/name, method (*LookupIpOptions) SetCanonicalNameLookup(bool) pkg syscall/zx/net/name, method (*LookupIpOptions) SetIpv4Lookup(bool) pkg syscall/zx/net/name, method (*LookupIpOptions) SetIpv6Lookup(bool) pkg syscall/zx/net/name, method (*LookupIpOptions) SetSortAddresses(bool) +pkg syscall/zx/net/name, method (*LookupLookupHostnameRequest) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*LookupLookupHostnameResponse) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*LookupLookupHostnameResult) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*LookupLookupHostnameResult) Ordinal() uint64 pkg syscall/zx/net/name, method (*LookupLookupHostnameResult) SetErr(LookupError) pkg syscall/zx/net/name, method (*LookupLookupHostnameResult) SetResponse(LookupLookupHostnameResponse) pkg syscall/zx/net/name, method (*LookupLookupHostnameResult) Which() I_lookupLookupHostnameResultTag +pkg syscall/zx/net/name, method (*LookupLookupIpRequest) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*LookupLookupIpResponse) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*LookupLookupIpResult) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*LookupLookupIpResult) Ordinal() uint64 @@ -4459,13 +5394,18 @@ pkg syscall/zx/net/name, method (*LookupLookupIpResult) SetResponse(LookupLookupIpResponse) pkg syscall/zx/net/name, method (*LookupLookupIpResult) Which() I_lookupLookupIpResultTag pkg syscall/zx/net/name, method (*LookupResult) ClearAddresses() +pkg syscall/zx/net/name, method (*LookupResult) ClearCanonicalName() pkg syscall/zx/net/name, method (*LookupResult) GetAddresses() []net.IpAddress pkg syscall/zx/net/name, method (*LookupResult) GetAddressesWithDefault([]net.IpAddress) []net.IpAddress +pkg syscall/zx/net/name, method (*LookupResult) GetCanonicalName() string +pkg syscall/zx/net/name, method (*LookupResult) GetCanonicalNameWithDefault(string) string pkg syscall/zx/net/name, method (*LookupResult) GetUnknownData() map[uint64]fidl.UnknownData pkg syscall/zx/net/name, method (*LookupResult) HasAddresses() bool +pkg syscall/zx/net/name, method (*LookupResult) HasCanonicalName() bool pkg syscall/zx/net/name, method (*LookupResult) HasUnknownData() bool pkg syscall/zx/net/name, method (*LookupResult) Marshaler() fidl.Marshaler pkg syscall/zx/net/name, method (*LookupResult) SetAddresses([]net.IpAddress) +pkg syscall/zx/net/name, method (*LookupResult) SetCanonicalName(string) pkg syscall/zx/net/name, method (*LookupWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/net/name, method (*LookupWithCtxInterface) LookupHostname(context.Context, net.IpAddress) (LookupLookupHostnameResult, error) pkg syscall/zx/net/name, method (*LookupWithCtxInterface) LookupIp(context.Context, string, LookupIpOptions) (LookupLookupIpResult, error) @@ -4482,6 +5422,8 @@ pkg syscall/zx/net/name, method (*StaticDnsServerSource) GetUnknownData() map[uint64]fidl.UnknownData pkg syscall/zx/net/name, method (*StaticDnsServerSource) HasUnknownData() bool pkg syscall/zx/net/name, method (*StaticDnsServerSource) Marshaler() fidl.Marshaler +pkg syscall/zx/net/name, method (DnsServerWatcherWithCtxInterfaceRequest) Name() string +pkg syscall/zx/net/name, method (DnsServerWatcherWithCtxInterfaceRequest) ToChannel() zx.Channel pkg syscall/zx/net/name, method (LookupAdminWithCtxInterfaceRequest) Name() string pkg syscall/zx/net/name, method (LookupAdminWithCtxInterfaceRequest) ToChannel() zx.Channel pkg syscall/zx/net/name, method (LookupError) I_EnumIsStrict() bool @@ -4512,6 +5454,8 @@ pkg syscall/zx/net/name, type DnsServerSource struct, embedded I_dnsServerSourceTag pkg syscall/zx/net/name, type DnsServerWatcherEventProxy struct pkg syscall/zx/net/name, type DnsServerWatcherEventProxy struct, embedded zx.Channel +pkg syscall/zx/net/name, type DnsServerWatcherWatchServersResponse struct +pkg syscall/zx/net/name, type DnsServerWatcherWatchServersResponse struct, Servers []DnsServer pkg syscall/zx/net/name, type DnsServerWatcherWithCtx interface { WatchServers } pkg syscall/zx/net/name, type DnsServerWatcherWithCtx interface, WatchServers(context.Context) ([]DnsServer, error) pkg syscall/zx/net/name, type DnsServerWatcherWithCtxInterface struct @@ -4527,6 +5471,10 @@ pkg syscall/zx/net/name, type I_lookupLookupIpResultTag uint64 pkg syscall/zx/net/name, type LookupAdminEventProxy struct pkg syscall/zx/net/name, type LookupAdminEventProxy struct, embedded zx.Channel +pkg syscall/zx/net/name, type LookupAdminGetDnsServersResponse struct +pkg syscall/zx/net/name, type LookupAdminGetDnsServersResponse struct, Servers []net.SocketAddress +pkg syscall/zx/net/name, type LookupAdminSetDnsServersRequest struct +pkg syscall/zx/net/name, type LookupAdminSetDnsServersRequest struct, Servers []net.SocketAddress pkg syscall/zx/net/name, type LookupAdminSetDnsServersResponse struct pkg syscall/zx/net/name, type LookupAdminSetDnsServersResult struct pkg syscall/zx/net/name, type LookupAdminSetDnsServersResult struct, Err int32 @@ -4546,6 +5494,8 @@ pkg syscall/zx/net/name, type LookupEventProxy struct pkg syscall/zx/net/name, type LookupEventProxy struct, embedded zx.Channel pkg syscall/zx/net/name, type LookupIpOptions struct +pkg syscall/zx/net/name, type LookupIpOptions struct, CanonicalNameLookup bool +pkg syscall/zx/net/name, type LookupIpOptions struct, CanonicalNameLookupPresent bool pkg syscall/zx/net/name, type LookupIpOptions struct, I_unknownData interface{} pkg syscall/zx/net/name, type LookupIpOptions struct, Ipv4Lookup bool pkg syscall/zx/net/name, type LookupIpOptions struct, Ipv4LookupPresent bool @@ -4553,12 +5503,17 @@ pkg syscall/zx/net/name, type LookupIpOptions struct, Ipv6LookupPresent bool pkg syscall/zx/net/name, type LookupIpOptions struct, SortAddresses bool pkg syscall/zx/net/name, type LookupIpOptions struct, SortAddressesPresent bool +pkg syscall/zx/net/name, type LookupLookupHostnameRequest struct +pkg syscall/zx/net/name, type LookupLookupHostnameRequest struct, Addr net.IpAddress pkg syscall/zx/net/name, type LookupLookupHostnameResponse struct pkg syscall/zx/net/name, type LookupLookupHostnameResponse struct, Hostname string pkg syscall/zx/net/name, type LookupLookupHostnameResult struct pkg syscall/zx/net/name, type LookupLookupHostnameResult struct, Err LookupError pkg syscall/zx/net/name, type LookupLookupHostnameResult struct, Response LookupLookupHostnameResponse pkg syscall/zx/net/name, type LookupLookupHostnameResult struct, embedded I_lookupLookupHostnameResultTag +pkg syscall/zx/net/name, type LookupLookupIpRequest struct +pkg syscall/zx/net/name, type LookupLookupIpRequest struct, Hostname string +pkg syscall/zx/net/name, type LookupLookupIpRequest struct, Options LookupIpOptions pkg syscall/zx/net/name, type LookupLookupIpResponse struct pkg syscall/zx/net/name, type LookupLookupIpResponse struct, Result LookupResult pkg syscall/zx/net/name, type LookupLookupIpResult struct @@ -4568,6 +5523,8 @@ pkg syscall/zx/net/name, type LookupResult struct pkg syscall/zx/net/name, type LookupResult struct, Addresses []net.IpAddress pkg syscall/zx/net/name, type LookupResult struct, AddressesPresent bool +pkg syscall/zx/net/name, type LookupResult struct, CanonicalName string +pkg syscall/zx/net/name, type LookupResult struct, CanonicalNamePresent bool pkg syscall/zx/net/name, type LookupResult struct, I_unknownData interface{} pkg syscall/zx/net/name, type LookupWithCtx interface { LookupHostname, LookupIp } pkg syscall/zx/net/name, type LookupWithCtx interface, LookupHostname(context.Context, net.IpAddress) (LookupLookupHostnameResult, error) @@ -4898,10 +5855,14 @@ pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpMulticastTtlOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpPacketInfoOrdinal = 6103791408020719424 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpPacketInfoOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal = 3030497887931850729 +pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpReceiveTtlOrdinal = 7461863537816252085 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpReceiveTtlOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpReceiveTypeOfServiceOrdinal = 4708718459712264544 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpReceiveTypeOfServiceOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpTransparentOrdinal = 5896397828232495029 +pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpTransparentOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpTtlOrdinal = 5180405804914549873 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpTtlOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetIpTypeOfServiceOrdinal = 4041030972495847371 @@ -4930,6 +5891,8 @@ pkg syscall/zx/posix/socket, const BaseDatagramSocketGetLingerOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetNoCheckOrdinal = 3230247044467750548 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetNoCheckOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseDatagramSocketGetOriginalDestinationOrdinal = 4089032001607023296 +pkg syscall/zx/posix/socket, const BaseDatagramSocketGetOriginalDestinationOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetOutOfBandInlineOrdinal = 3786430745745692485 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetOutOfBandInlineOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketGetPeerNameOrdinal = 2305507983875261230 @@ -4960,10 +5923,14 @@ pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpMulticastTtlOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpPacketInfoOrdinal = 4119974243205910038 pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpPacketInfoOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal = 320366132759328832 +pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpReceiveTtlOrdinal = 5111968073129834539 pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpReceiveTtlOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpReceiveTypeOfServiceOrdinal = 7804570017426539759 pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpReceiveTypeOfServiceOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpTransparentOrdinal = 1938010949376467872 +pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpTransparentOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpTtlOrdinal = 3018047591309566447 pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpTtlOrdinal uint64 pkg syscall/zx/posix/socket, const BaseDatagramSocketSetIpTypeOfServiceOrdinal = 690675822370712902 @@ -5084,6 +6051,12 @@ pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpPacketInfoResultErr ideal-int pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpPacketInfoResultResponse = 1 pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpPacketInfoResultResponse ideal-int +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveOriginalDestinationAddressOrdinal = 3030497887931850729 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveOriginalDestinationAddressOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultErr = 2 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultErr ideal-int +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultResponse = 1 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultResponse ideal-int pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveTtlOrdinal = 7461863537816252085 pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveTtlOrdinal uint64 pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveTtlResultErr = 2 @@ -5096,6 +6069,12 @@ pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveTypeOfServiceResultErr ideal-int pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveTypeOfServiceResultResponse = 1 pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpReceiveTypeOfServiceResultResponse ideal-int +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpTransparentOrdinal = 5896397828232495029 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpTransparentOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpTransparentResultErr = 2 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpTransparentResultErr ideal-int +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpTransparentResultResponse = 1 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpTransparentResultResponse ideal-int pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpTtlOrdinal = 5180405804914549873 pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpTtlOrdinal uint64 pkg syscall/zx/posix/socket, const BaseNetworkSocketGetIpTtlResultErr = 2 @@ -5168,6 +6147,12 @@ pkg syscall/zx/posix/socket, const BaseNetworkSocketGetLingerOrdinal uint64 pkg syscall/zx/posix/socket, const BaseNetworkSocketGetNoCheckOrdinal = 3230247044467750548 pkg syscall/zx/posix/socket, const BaseNetworkSocketGetNoCheckOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetOriginalDestinationOrdinal = 4089032001607023296 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetOriginalDestinationOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetOriginalDestinationResultErr = 2 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetOriginalDestinationResultErr ideal-int +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetOriginalDestinationResultResponse = 1 +pkg syscall/zx/posix/socket, const BaseNetworkSocketGetOriginalDestinationResultResponse ideal-int pkg syscall/zx/posix/socket, const BaseNetworkSocketGetOutOfBandInlineOrdinal = 3786430745745692485 pkg syscall/zx/posix/socket, const BaseNetworkSocketGetOutOfBandInlineOrdinal uint64 pkg syscall/zx/posix/socket, const BaseNetworkSocketGetPeerNameOrdinal = 2305507983875261230 @@ -5222,6 +6207,12 @@ pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpPacketInfoResultErr ideal-int pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpPacketInfoResultResponse = 1 pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpPacketInfoResultResponse ideal-int +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveOriginalDestinationAddressOrdinal = 320366132759328832 +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveOriginalDestinationAddressOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultErr = 2 +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultErr ideal-int +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultResponse = 1 +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultResponse ideal-int pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveTtlOrdinal = 5111968073129834539 pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveTtlOrdinal uint64 pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveTtlResultErr = 2 @@ -5234,6 +6225,12 @@ pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveTypeOfServiceResultErr ideal-int pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveTypeOfServiceResultResponse = 1 pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpReceiveTypeOfServiceResultResponse ideal-int +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpTransparentOrdinal = 1938010949376467872 +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpTransparentOrdinal uint64 +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpTransparentResultErr = 2 +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpTransparentResultErr ideal-int +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpTransparentResultResponse = 1 +pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpTransparentResultResponse ideal-int pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpTtlOrdinal = 3018047591309566447 pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpTtlOrdinal uint64 pkg syscall/zx/posix/socket, const BaseNetworkSocketSetIpTtlResultErr = 2 @@ -5474,6 +6471,8 @@ pkg syscall/zx/posix/socket, const BaseSocketSetTimestampResultErr ideal-int pkg syscall/zx/posix/socket, const BaseSocketSetTimestampResultResponse = 1 pkg syscall/zx/posix/socket, const BaseSocketSetTimestampResultResponse ideal-int +pkg syscall/zx/posix/socket, const CmsgRequestsIpRecvorigdstaddr = 32 +pkg syscall/zx/posix/socket, const CmsgRequestsIpRecvorigdstaddr CmsgRequests pkg syscall/zx/posix/socket, const CmsgRequestsIpTos = 1 pkg syscall/zx/posix/socket, const CmsgRequestsIpTos CmsgRequests pkg syscall/zx/posix/socket, const CmsgRequestsIpTtl = 2 @@ -5484,7 +6483,7 @@ pkg syscall/zx/posix/socket, const CmsgRequestsIpv6Pktinfo CmsgRequests pkg syscall/zx/posix/socket, const CmsgRequestsIpv6Tclass = 4 pkg syscall/zx/posix/socket, const CmsgRequestsIpv6Tclass CmsgRequests -pkg syscall/zx/posix/socket, const CmsgRequests_Mask = 31 +pkg syscall/zx/posix/socket, const CmsgRequests_Mask = 63 pkg syscall/zx/posix/socket, const CmsgRequests_Mask CmsgRequests pkg syscall/zx/posix/socket, const DatagramSocketAddIpMembershipOrdinal = 8555851866500740304 pkg syscall/zx/posix/socket, const DatagramSocketAddIpMembershipOrdinal uint64 @@ -5524,10 +6523,14 @@ pkg syscall/zx/posix/socket, const DatagramSocketGetIpMulticastTtlOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketGetIpPacketInfoOrdinal = 6103791408020719424 pkg syscall/zx/posix/socket, const DatagramSocketGetIpPacketInfoOrdinal uint64 +pkg syscall/zx/posix/socket, const DatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal = 3030497887931850729 +pkg syscall/zx/posix/socket, const DatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketGetIpReceiveTtlOrdinal = 7461863537816252085 pkg syscall/zx/posix/socket, const DatagramSocketGetIpReceiveTtlOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketGetIpReceiveTypeOfServiceOrdinal = 4708718459712264544 pkg syscall/zx/posix/socket, const DatagramSocketGetIpReceiveTypeOfServiceOrdinal uint64 +pkg syscall/zx/posix/socket, const DatagramSocketGetIpTransparentOrdinal = 5896397828232495029 +pkg syscall/zx/posix/socket, const DatagramSocketGetIpTransparentOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketGetIpTtlOrdinal = 5180405804914549873 pkg syscall/zx/posix/socket, const DatagramSocketGetIpTtlOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketGetIpTypeOfServiceOrdinal = 4041030972495847371 @@ -5556,6 +6559,8 @@ pkg syscall/zx/posix/socket, const DatagramSocketGetLingerOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketGetNoCheckOrdinal = 3230247044467750548 pkg syscall/zx/posix/socket, const DatagramSocketGetNoCheckOrdinal uint64 +pkg syscall/zx/posix/socket, const DatagramSocketGetOriginalDestinationOrdinal = 4089032001607023296 +pkg syscall/zx/posix/socket, const DatagramSocketGetOriginalDestinationOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketGetOutOfBandInlineOrdinal = 3786430745745692485 pkg syscall/zx/posix/socket, const DatagramSocketGetOutOfBandInlineOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketGetPeerNameOrdinal = 2305507983875261230 @@ -5574,8 +6579,8 @@ pkg syscall/zx/posix/socket, const DatagramSocketGetTimestampOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketProtocolIcmpEcho = 2 pkg syscall/zx/posix/socket, const DatagramSocketProtocolIcmpEcho DatagramSocketProtocol -pkg syscall/zx/posix/socket, const DatagramSocketProtocolName = "fuchsia.posix.socket/DatagramSocket" -pkg syscall/zx/posix/socket, const DatagramSocketProtocolName string +pkg syscall/zx/posix/socket, const DatagramSocketProtocolName_ = "fuchsia.posix.socket/DatagramSocket" +pkg syscall/zx/posix/socket, const DatagramSocketProtocolName_ string pkg syscall/zx/posix/socket, const DatagramSocketProtocolUdp = 1 pkg syscall/zx/posix/socket, const DatagramSocketProtocolUdp DatagramSocketProtocol pkg syscall/zx/posix/socket, const DatagramSocketQueryOrdinal = 2763219980499352582 @@ -5604,10 +6609,14 @@ pkg syscall/zx/posix/socket, const DatagramSocketSetIpMulticastTtlOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketSetIpPacketInfoOrdinal = 4119974243205910038 pkg syscall/zx/posix/socket, const DatagramSocketSetIpPacketInfoOrdinal uint64 +pkg syscall/zx/posix/socket, const DatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal = 320366132759328832 +pkg syscall/zx/posix/socket, const DatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketSetIpReceiveTtlOrdinal = 5111968073129834539 pkg syscall/zx/posix/socket, const DatagramSocketSetIpReceiveTtlOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketSetIpReceiveTypeOfServiceOrdinal = 7804570017426539759 pkg syscall/zx/posix/socket, const DatagramSocketSetIpReceiveTypeOfServiceOrdinal uint64 +pkg syscall/zx/posix/socket, const DatagramSocketSetIpTransparentOrdinal = 1938010949376467872 +pkg syscall/zx/posix/socket, const DatagramSocketSetIpTransparentOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketSetIpTtlOrdinal = 3018047591309566447 pkg syscall/zx/posix/socket, const DatagramSocketSetIpTtlOrdinal uint64 pkg syscall/zx/posix/socket, const DatagramSocketSetIpTypeOfServiceOrdinal = 690675822370712902 @@ -5818,10 +6827,14 @@ pkg syscall/zx/posix/socket, const StreamSocketGetIpMulticastTtlOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketGetIpPacketInfoOrdinal = 6103791408020719424 pkg syscall/zx/posix/socket, const StreamSocketGetIpPacketInfoOrdinal uint64 +pkg syscall/zx/posix/socket, const StreamSocketGetIpReceiveOriginalDestinationAddressOrdinal = 3030497887931850729 +pkg syscall/zx/posix/socket, const StreamSocketGetIpReceiveOriginalDestinationAddressOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketGetIpReceiveTtlOrdinal = 7461863537816252085 pkg syscall/zx/posix/socket, const StreamSocketGetIpReceiveTtlOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketGetIpReceiveTypeOfServiceOrdinal = 4708718459712264544 pkg syscall/zx/posix/socket, const StreamSocketGetIpReceiveTypeOfServiceOrdinal uint64 +pkg syscall/zx/posix/socket, const StreamSocketGetIpTransparentOrdinal = 5896397828232495029 +pkg syscall/zx/posix/socket, const StreamSocketGetIpTransparentOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketGetIpTtlOrdinal = 5180405804914549873 pkg syscall/zx/posix/socket, const StreamSocketGetIpTtlOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketGetIpTypeOfServiceOrdinal = 4041030972495847371 @@ -5850,6 +6863,8 @@ pkg syscall/zx/posix/socket, const StreamSocketGetLingerOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketGetNoCheckOrdinal = 3230247044467750548 pkg syscall/zx/posix/socket, const StreamSocketGetNoCheckOrdinal uint64 +pkg syscall/zx/posix/socket, const StreamSocketGetOriginalDestinationOrdinal = 4089032001607023296 +pkg syscall/zx/posix/socket, const StreamSocketGetOriginalDestinationOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketGetOutOfBandInlineOrdinal = 3786430745745692485 pkg syscall/zx/posix/socket, const StreamSocketGetOutOfBandInlineOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketGetPeerNameOrdinal = 2305507983875261230 @@ -5956,8 +6971,8 @@ pkg syscall/zx/posix/socket, const StreamSocketListenResultErr ideal-int pkg syscall/zx/posix/socket, const StreamSocketListenResultResponse = 1 pkg syscall/zx/posix/socket, const StreamSocketListenResultResponse ideal-int -pkg syscall/zx/posix/socket, const StreamSocketProtocolName = "fuchsia.posix.socket/StreamSocket" -pkg syscall/zx/posix/socket, const StreamSocketProtocolName string +pkg syscall/zx/posix/socket, const StreamSocketProtocolName_ = "fuchsia.posix.socket/StreamSocket" +pkg syscall/zx/posix/socket, const StreamSocketProtocolName_ string pkg syscall/zx/posix/socket, const StreamSocketProtocolTcp = 0 pkg syscall/zx/posix/socket, const StreamSocketProtocolTcp StreamSocketProtocol pkg syscall/zx/posix/socket, const StreamSocketQueryOrdinal = 2763219980499352582 @@ -5974,10 +6989,14 @@ pkg syscall/zx/posix/socket, const StreamSocketSetIpMulticastTtlOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketSetIpPacketInfoOrdinal = 4119974243205910038 pkg syscall/zx/posix/socket, const StreamSocketSetIpPacketInfoOrdinal uint64 +pkg syscall/zx/posix/socket, const StreamSocketSetIpReceiveOriginalDestinationAddressOrdinal = 320366132759328832 +pkg syscall/zx/posix/socket, const StreamSocketSetIpReceiveOriginalDestinationAddressOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketSetIpReceiveTtlOrdinal = 5111968073129834539 pkg syscall/zx/posix/socket, const StreamSocketSetIpReceiveTtlOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketSetIpReceiveTypeOfServiceOrdinal = 7804570017426539759 pkg syscall/zx/posix/socket, const StreamSocketSetIpReceiveTypeOfServiceOrdinal uint64 +pkg syscall/zx/posix/socket, const StreamSocketSetIpTransparentOrdinal = 1938010949376467872 +pkg syscall/zx/posix/socket, const StreamSocketSetIpTransparentOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketSetIpTtlOrdinal = 3018047591309566447 pkg syscall/zx/posix/socket, const StreamSocketSetIpTtlOrdinal uint64 pkg syscall/zx/posix/socket, const StreamSocketSetIpTypeOfServiceOrdinal = 690675822370712902 @@ -6136,10 +7155,14 @@ pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpMulticastTtlOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpPacketInfoOrdinal = 6103791408020719424 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpPacketInfoOrdinal uint64 +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal = 3030497887931850729 +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpReceiveTtlOrdinal = 7461863537816252085 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpReceiveTtlOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpReceiveTypeOfServiceOrdinal = 4708718459712264544 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpReceiveTypeOfServiceOrdinal uint64 +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpTransparentOrdinal = 5896397828232495029 +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpTransparentOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpTtlOrdinal = 5180405804914549873 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpTtlOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetIpTypeOfServiceOrdinal = 4041030972495847371 @@ -6168,6 +7191,8 @@ pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetLingerOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetNoCheckOrdinal = 3230247044467750548 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetNoCheckOrdinal uint64 +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetOriginalDestinationOrdinal = 4089032001607023296 +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetOriginalDestinationOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetOutOfBandInlineOrdinal = 3786430745745692485 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetOutOfBandInlineOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetPeerNameOrdinal = 2305507983875261230 @@ -6184,8 +7209,8 @@ pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetSockNameOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetTimestampOrdinal = 5328602765801471271 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketGetTimestampOrdinal uint64 -pkg syscall/zx/posix/socket, const SynchronousDatagramSocketProtocolName = "fuchsia.posix.socket/SynchronousDatagramSocket" -pkg syscall/zx/posix/socket, const SynchronousDatagramSocketProtocolName string +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketProtocolName_ = "fuchsia.posix.socket/SynchronousDatagramSocket" +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketProtocolName_ string pkg syscall/zx/posix/socket, const SynchronousDatagramSocketQueryOrdinal = 2763219980499352582 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketQueryOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketRecvMsgOrdinal = 2946643765591661555 @@ -6212,10 +7237,14 @@ pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpMulticastTtlOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpPacketInfoOrdinal = 4119974243205910038 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpPacketInfoOrdinal uint64 +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal = 320366132759328832 +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpReceiveTtlOrdinal = 5111968073129834539 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpReceiveTtlOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpReceiveTypeOfServiceOrdinal = 7804570017426539759 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpReceiveTypeOfServiceOrdinal uint64 +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpTransparentOrdinal = 1938010949376467872 +pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpTransparentOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpTtlOrdinal = 3018047591309566447 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpTtlOrdinal uint64 pkg syscall/zx/posix/socket, const SynchronousDatagramSocketSetIpTypeOfServiceOrdinal = 690675822370712902 @@ -6340,10 +7369,14 @@ pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpMulticastTtlResultWithResponse(BaseNetworkSocketGetIpMulticastTtlResponse) BaseNetworkSocketGetIpMulticastTtlResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpPacketInfoResultWithErr(posix.Errno) BaseNetworkSocketGetIpPacketInfoResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpPacketInfoResultWithResponse(BaseNetworkSocketGetIpPacketInfoResponse) BaseNetworkSocketGetIpPacketInfoResult +pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultWithErr(posix.Errno) BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult +pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultWithResponse(BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse) BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpReceiveTtlResultWithErr(posix.Errno) BaseNetworkSocketGetIpReceiveTtlResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpReceiveTtlResultWithResponse(BaseNetworkSocketGetIpReceiveTtlResponse) BaseNetworkSocketGetIpReceiveTtlResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpReceiveTypeOfServiceResultWithErr(posix.Errno) BaseNetworkSocketGetIpReceiveTypeOfServiceResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpReceiveTypeOfServiceResultWithResponse(BaseNetworkSocketGetIpReceiveTypeOfServiceResponse) BaseNetworkSocketGetIpReceiveTypeOfServiceResult +pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpTransparentResultWithErr(posix.Errno) BaseNetworkSocketGetIpTransparentResult +pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpTransparentResultWithResponse(BaseNetworkSocketGetIpTransparentResponse) BaseNetworkSocketGetIpTransparentResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpTtlResultWithErr(posix.Errno) BaseNetworkSocketGetIpTtlResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpTtlResultWithResponse(BaseNetworkSocketGetIpTtlResponse) BaseNetworkSocketGetIpTtlResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpTypeOfServiceResultWithErr(posix.Errno) BaseNetworkSocketGetIpTypeOfServiceResult @@ -6366,6 +7399,8 @@ pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpv6TrafficClassResultWithResponse(BaseNetworkSocketGetIpv6TrafficClassResponse) BaseNetworkSocketGetIpv6TrafficClassResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpv6UnicastHopsResultWithErr(posix.Errno) BaseNetworkSocketGetIpv6UnicastHopsResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetIpv6UnicastHopsResultWithResponse(BaseNetworkSocketGetIpv6UnicastHopsResponse) BaseNetworkSocketGetIpv6UnicastHopsResult +pkg syscall/zx/posix/socket, func BaseNetworkSocketGetOriginalDestinationResultWithErr(posix.Errno) BaseNetworkSocketGetOriginalDestinationResult +pkg syscall/zx/posix/socket, func BaseNetworkSocketGetOriginalDestinationResultWithResponse(BaseNetworkSocketGetOriginalDestinationResponse) BaseNetworkSocketGetOriginalDestinationResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetPeerNameResultWithErr(posix.Errno) BaseNetworkSocketGetPeerNameResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetPeerNameResultWithResponse(BaseNetworkSocketGetPeerNameResponse) BaseNetworkSocketGetPeerNameResult pkg syscall/zx/posix/socket, func BaseNetworkSocketGetSockNameResultWithErr(posix.Errno) BaseNetworkSocketGetSockNameResult @@ -6378,10 +7413,14 @@ pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpMulticastTtlResultWithResponse(BaseNetworkSocketSetIpMulticastTtlResponse) BaseNetworkSocketSetIpMulticastTtlResult pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpPacketInfoResultWithErr(posix.Errno) BaseNetworkSocketSetIpPacketInfoResult pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpPacketInfoResultWithResponse(BaseNetworkSocketSetIpPacketInfoResponse) BaseNetworkSocketSetIpPacketInfoResult +pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultWithErr(posix.Errno) BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult +pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultWithResponse(BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse) BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpReceiveTtlResultWithErr(posix.Errno) BaseNetworkSocketSetIpReceiveTtlResult pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpReceiveTtlResultWithResponse(BaseNetworkSocketSetIpReceiveTtlResponse) BaseNetworkSocketSetIpReceiveTtlResult pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpReceiveTypeOfServiceResultWithErr(posix.Errno) BaseNetworkSocketSetIpReceiveTypeOfServiceResult pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpReceiveTypeOfServiceResultWithResponse(BaseNetworkSocketSetIpReceiveTypeOfServiceResponse) BaseNetworkSocketSetIpReceiveTypeOfServiceResult +pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpTransparentResultWithErr(posix.Errno) BaseNetworkSocketSetIpTransparentResult +pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpTransparentResultWithResponse(BaseNetworkSocketSetIpTransparentResponse) BaseNetworkSocketSetIpTransparentResult pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpTtlResultWithErr(posix.Errno) BaseNetworkSocketSetIpTtlResult pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpTtlResultWithResponse(BaseNetworkSocketSetIpTtlResponse) BaseNetworkSocketSetIpTtlResult pkg syscall/zx/posix/socket, func BaseNetworkSocketSetIpTypeOfServiceResultWithErr(posix.Errno) BaseNetworkSocketSetIpTypeOfServiceResult @@ -6572,8 +7611,10 @@ pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetIpMulticastLoopback(context.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetIpMulticastTtl(context.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetIpPacketInfo(context.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetIpReceiveOriginalDestinationAddress(context.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetIpReceiveTtl(context.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetIpReceiveTypeOfService(context.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetIpTransparent(context.Context) (BaseNetworkSocketGetIpTransparentResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetIpTtl(context.Context) (BaseNetworkSocketGetIpTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetIpTypeOfService(context.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetIpv6MulticastHops(context.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) @@ -6588,6 +7629,7 @@ pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetKeepAlive(context.Context) (BaseSocketGetKeepAliveResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetLinger(context.Context) (BaseSocketGetLingerResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetNoCheck(context.Context) (BaseSocketGetNoCheckResult, error) +pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetOriginalDestination(context.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetOutOfBandInline(context.Context) (BaseSocketGetOutOfBandInlineResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetPeerName(context.Context) (BaseNetworkSocketGetPeerNameResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) GetReceiveBuffer(context.Context) (BaseSocketGetReceiveBufferResult, error) @@ -6604,8 +7646,10 @@ pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) SetIpMulticastLoopback(context.Context, bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) SetIpMulticastTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) SetIpPacketInfo(context.Context, bool) (BaseNetworkSocketSetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) SetIpReceiveOriginalDestinationAddress(context.Context, bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) SetIpReceiveTtl(context.Context, bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) SetIpReceiveTypeOfService(context.Context, bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) SetIpTransparent(context.Context, bool) (BaseNetworkSocketSetIpTransparentResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) SetIpTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) SetIpTypeOfService(context.Context, uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) SetIpv6MulticastHops(context.Context, OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) @@ -6629,24 +7673,28 @@ pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterface) Shutdown(context.Context, ShutdownMode) (BaseNetworkSocketShutdownResult, error) pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/posix/socket, method (*BaseDatagramSocketWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpMembershipRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpMembershipResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpMembershipResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpMembershipResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpMembershipResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpMembershipResult) SetResponse(BaseNetworkSocketAddIpMembershipResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpMembershipResult) Which() I_baseNetworkSocketAddIpMembershipResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpv6MembershipRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpv6MembershipResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpv6MembershipResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpv6MembershipResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpv6MembershipResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpv6MembershipResult) SetResponse(BaseNetworkSocketAddIpv6MembershipResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketAddIpv6MembershipResult) Which() I_baseNetworkSocketAddIpv6MembershipResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketBindRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketBindResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketBindResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketBindResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketBindResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketBindResult) SetResponse(BaseNetworkSocketBindResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketBindResult) Which() I_baseNetworkSocketBindResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketConnectRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketConnectResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketConnectResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketConnectResult) Ordinal() uint64 @@ -6659,12 +7707,14 @@ pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDisconnectResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDisconnectResult) SetResponse(BaseNetworkSocketDisconnectResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDisconnectResult) Which() I_baseNetworkSocketDisconnectResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpMembershipRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpMembershipResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpMembershipResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpMembershipResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpMembershipResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpMembershipResult) SetResponse(BaseNetworkSocketDropIpMembershipResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpMembershipResult) Which() I_baseNetworkSocketDropIpMembershipResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpv6MembershipRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpv6MembershipResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpv6MembershipResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketDropIpv6MembershipResult) Ordinal() uint64 @@ -6696,6 +7746,12 @@ pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpPacketInfoResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpPacketInfoResult) SetResponse(BaseNetworkSocketGetIpPacketInfoResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpPacketInfoResult) Which() I_baseNetworkSocketGetIpPacketInfoResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) Ordinal() uint64 +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) SetErr(posix.Errno) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) SetResponse(BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) Which() I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveTtlResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveTtlResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveTtlResult) Ordinal() uint64 @@ -6708,6 +7764,12 @@ pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveTypeOfServiceResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveTypeOfServiceResult) SetResponse(BaseNetworkSocketGetIpReceiveTypeOfServiceResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpReceiveTypeOfServiceResult) Which() I_baseNetworkSocketGetIpReceiveTypeOfServiceResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpTransparentResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpTransparentResult) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpTransparentResult) Ordinal() uint64 +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpTransparentResult) SetErr(posix.Errno) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpTransparentResult) SetResponse(BaseNetworkSocketGetIpTransparentResponse) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpTransparentResult) Which() I_baseNetworkSocketGetIpTransparentResultTag pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpTtlResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpTtlResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpTtlResult) Ordinal() uint64 @@ -6774,6 +7836,12 @@ pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpv6UnicastHopsResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpv6UnicastHopsResult) SetResponse(BaseNetworkSocketGetIpv6UnicastHopsResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetIpv6UnicastHopsResult) Which() I_baseNetworkSocketGetIpv6UnicastHopsResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetOriginalDestinationResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetOriginalDestinationResult) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetOriginalDestinationResult) Ordinal() uint64 +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetOriginalDestinationResult) SetErr(posix.Errno) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetOriginalDestinationResult) SetResponse(BaseNetworkSocketGetOriginalDestinationResponse) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetOriginalDestinationResult) Which() I_baseNetworkSocketGetOriginalDestinationResultTag pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetPeerNameResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetPeerNameResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetPeerNameResult) Ordinal() uint64 @@ -6786,108 +7854,140 @@ pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetSockNameResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetSockNameResult) SetResponse(BaseNetworkSocketGetSockNameResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketGetSockNameResult) Which() I_baseNetworkSocketGetSockNameResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastInterfaceRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastInterfaceResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastInterfaceResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastInterfaceResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastInterfaceResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastInterfaceResult) SetResponse(BaseNetworkSocketSetIpMulticastInterfaceResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastInterfaceResult) Which() I_baseNetworkSocketSetIpMulticastInterfaceResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastLoopbackRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastLoopbackResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastLoopbackResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastLoopbackResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastLoopbackResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastLoopbackResult) SetResponse(BaseNetworkSocketSetIpMulticastLoopbackResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastLoopbackResult) Which() I_baseNetworkSocketSetIpMulticastLoopbackResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastTtlRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastTtlResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastTtlResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastTtlResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastTtlResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastTtlResult) SetResponse(BaseNetworkSocketSetIpMulticastTtlResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpMulticastTtlResult) Which() I_baseNetworkSocketSetIpMulticastTtlResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpPacketInfoRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpPacketInfoResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpPacketInfoResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpPacketInfoResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpPacketInfoResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpPacketInfoResult) SetResponse(BaseNetworkSocketSetIpPacketInfoResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpPacketInfoResult) Which() I_baseNetworkSocketSetIpPacketInfoResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) Ordinal() uint64 +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) SetErr(posix.Errno) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) SetResponse(BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) Which() I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTtlRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTtlResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTtlResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTtlResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTtlResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTtlResult) SetResponse(BaseNetworkSocketSetIpReceiveTtlResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTtlResult) Which() I_baseNetworkSocketSetIpReceiveTtlResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTypeOfServiceRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTypeOfServiceResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTypeOfServiceResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTypeOfServiceResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTypeOfServiceResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTypeOfServiceResult) SetResponse(BaseNetworkSocketSetIpReceiveTypeOfServiceResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpReceiveTypeOfServiceResult) Which() I_baseNetworkSocketSetIpReceiveTypeOfServiceResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTransparentRequest) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTransparentResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTransparentResult) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTransparentResult) Ordinal() uint64 +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTransparentResult) SetErr(posix.Errno) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTransparentResult) SetResponse(BaseNetworkSocketSetIpTransparentResponse) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTransparentResult) Which() I_baseNetworkSocketSetIpTransparentResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTtlRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTtlResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTtlResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTtlResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTtlResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTtlResult) SetResponse(BaseNetworkSocketSetIpTtlResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTtlResult) Which() I_baseNetworkSocketSetIpTtlResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTypeOfServiceRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTypeOfServiceResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTypeOfServiceResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTypeOfServiceResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTypeOfServiceResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTypeOfServiceResult) SetResponse(BaseNetworkSocketSetIpTypeOfServiceResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpTypeOfServiceResult) Which() I_baseNetworkSocketSetIpTypeOfServiceResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastHopsRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastHopsResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastHopsResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastHopsResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastHopsResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastHopsResult) SetResponse(BaseNetworkSocketSetIpv6MulticastHopsResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastHopsResult) Which() I_baseNetworkSocketSetIpv6MulticastHopsResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastInterfaceRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastInterfaceResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastInterfaceResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastInterfaceResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastInterfaceResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastInterfaceResult) SetResponse(BaseNetworkSocketSetIpv6MulticastInterfaceResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastInterfaceResult) Which() I_baseNetworkSocketSetIpv6MulticastInterfaceResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastLoopbackRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastLoopbackResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastLoopbackResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastLoopbackResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastLoopbackResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastLoopbackResult) SetResponse(BaseNetworkSocketSetIpv6MulticastLoopbackResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6MulticastLoopbackResult) Which() I_baseNetworkSocketSetIpv6MulticastLoopbackResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6OnlyRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6OnlyResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6OnlyResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6OnlyResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6OnlyResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6OnlyResult) SetResponse(BaseNetworkSocketSetIpv6OnlyResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6OnlyResult) Which() I_baseNetworkSocketSetIpv6OnlyResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveHopLimitRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveHopLimitResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveHopLimitResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveHopLimitResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveHopLimitResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveHopLimitResult) SetResponse(BaseNetworkSocketSetIpv6ReceiveHopLimitResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveHopLimitResult) Which() I_baseNetworkSocketSetIpv6ReceiveHopLimitResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceivePacketInfoRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceivePacketInfoResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceivePacketInfoResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceivePacketInfoResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceivePacketInfoResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceivePacketInfoResult) SetResponse(BaseNetworkSocketSetIpv6ReceivePacketInfoResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceivePacketInfoResult) Which() I_baseNetworkSocketSetIpv6ReceivePacketInfoResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveTrafficClassResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveTrafficClassResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveTrafficClassResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveTrafficClassResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveTrafficClassResult) SetResponse(BaseNetworkSocketSetIpv6ReceiveTrafficClassResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6ReceiveTrafficClassResult) Which() I_baseNetworkSocketSetIpv6ReceiveTrafficClassResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6TrafficClassRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6TrafficClassResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6TrafficClassResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6TrafficClassResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6TrafficClassResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6TrafficClassResult) SetResponse(BaseNetworkSocketSetIpv6TrafficClassResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6TrafficClassResult) Which() I_baseNetworkSocketSetIpv6TrafficClassResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6UnicastHopsRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6UnicastHopsResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6UnicastHopsResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6UnicastHopsResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6UnicastHopsResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6UnicastHopsResult) SetResponse(BaseNetworkSocketSetIpv6UnicastHopsResponse) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketSetIpv6UnicastHopsResult) Which() I_baseNetworkSocketSetIpv6UnicastHopsResultTag +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketShutdownRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketShutdownResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketShutdownResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseNetworkSocketShutdownResult) Ordinal() uint64 @@ -6911,8 +8011,10 @@ pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetIpMulticastLoopback(context.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetIpMulticastTtl(context.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetIpPacketInfo(context.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetIpReceiveOriginalDestinationAddress(context.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetIpReceiveTtl(context.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetIpReceiveTypeOfService(context.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetIpTransparent(context.Context) (BaseNetworkSocketGetIpTransparentResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetIpTtl(context.Context) (BaseNetworkSocketGetIpTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetIpTypeOfService(context.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetIpv6MulticastHops(context.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) @@ -6927,6 +8029,7 @@ pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetKeepAlive(context.Context) (BaseSocketGetKeepAliveResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetLinger(context.Context) (BaseSocketGetLingerResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetNoCheck(context.Context) (BaseSocketGetNoCheckResult, error) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetOriginalDestination(context.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetOutOfBandInline(context.Context) (BaseSocketGetOutOfBandInlineResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetPeerName(context.Context) (BaseNetworkSocketGetPeerNameResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) GetReceiveBuffer(context.Context) (BaseSocketGetReceiveBufferResult, error) @@ -6943,8 +8046,10 @@ pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) SetIpMulticastLoopback(context.Context, bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) SetIpMulticastTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) SetIpPacketInfo(context.Context, bool) (BaseNetworkSocketSetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) SetIpReceiveOriginalDestinationAddress(context.Context, bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) SetIpReceiveTtl(context.Context, bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) SetIpReceiveTypeOfService(context.Context, bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) SetIpTransparent(context.Context, bool) (BaseNetworkSocketSetIpTransparentResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) SetIpTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) SetIpTypeOfService(context.Context, uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, method (*BaseNetworkSocketWithCtxInterface) SetIpv6MulticastHops(context.Context, OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) @@ -7047,66 +8152,77 @@ pkg syscall/zx/posix/socket, method (*BaseSocketGetTimestampResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketGetTimestampResult) SetResponse(BaseSocketGetTimestampResponse) pkg syscall/zx/posix/socket, method (*BaseSocketGetTimestampResult) Which() I_baseSocketGetTimestampResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetBindToDeviceRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetBindToDeviceResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetBindToDeviceResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetBindToDeviceResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseSocketSetBindToDeviceResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketSetBindToDeviceResult) SetResponse(BaseSocketSetBindToDeviceResponse) pkg syscall/zx/posix/socket, method (*BaseSocketSetBindToDeviceResult) Which() I_baseSocketSetBindToDeviceResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetBroadcastRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetBroadcastResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetBroadcastResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetBroadcastResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseSocketSetBroadcastResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketSetBroadcastResult) SetResponse(BaseSocketSetBroadcastResponse) pkg syscall/zx/posix/socket, method (*BaseSocketSetBroadcastResult) Which() I_baseSocketSetBroadcastResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetKeepAliveRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetKeepAliveResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetKeepAliveResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetKeepAliveResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseSocketSetKeepAliveResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketSetKeepAliveResult) SetResponse(BaseSocketSetKeepAliveResponse) pkg syscall/zx/posix/socket, method (*BaseSocketSetKeepAliveResult) Which() I_baseSocketSetKeepAliveResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetLingerRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetLingerResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetLingerResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetLingerResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseSocketSetLingerResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketSetLingerResult) SetResponse(BaseSocketSetLingerResponse) pkg syscall/zx/posix/socket, method (*BaseSocketSetLingerResult) Which() I_baseSocketSetLingerResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetNoCheckRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetNoCheckResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetNoCheckResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetNoCheckResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseSocketSetNoCheckResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketSetNoCheckResult) SetResponse(BaseSocketSetNoCheckResponse) pkg syscall/zx/posix/socket, method (*BaseSocketSetNoCheckResult) Which() I_baseSocketSetNoCheckResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetOutOfBandInlineRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetOutOfBandInlineResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetOutOfBandInlineResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetOutOfBandInlineResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseSocketSetOutOfBandInlineResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketSetOutOfBandInlineResult) SetResponse(BaseSocketSetOutOfBandInlineResponse) pkg syscall/zx/posix/socket, method (*BaseSocketSetOutOfBandInlineResult) Which() I_baseSocketSetOutOfBandInlineResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetReceiveBufferRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetReceiveBufferResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetReceiveBufferResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetReceiveBufferResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseSocketSetReceiveBufferResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketSetReceiveBufferResult) SetResponse(BaseSocketSetReceiveBufferResponse) pkg syscall/zx/posix/socket, method (*BaseSocketSetReceiveBufferResult) Which() I_baseSocketSetReceiveBufferResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetReuseAddressRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetReuseAddressResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetReuseAddressResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetReuseAddressResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseSocketSetReuseAddressResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketSetReuseAddressResult) SetResponse(BaseSocketSetReuseAddressResponse) pkg syscall/zx/posix/socket, method (*BaseSocketSetReuseAddressResult) Which() I_baseSocketSetReuseAddressResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetReusePortRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetReusePortResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetReusePortResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetReusePortResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseSocketSetReusePortResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketSetReusePortResult) SetResponse(BaseSocketSetReusePortResponse) pkg syscall/zx/posix/socket, method (*BaseSocketSetReusePortResult) Which() I_baseSocketSetReusePortResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetSendBufferRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetSendBufferResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetSendBufferResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetSendBufferResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*BaseSocketSetSendBufferResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*BaseSocketSetSendBufferResult) SetResponse(BaseSocketSetSendBufferResponse) pkg syscall/zx/posix/socket, method (*BaseSocketSetSendBufferResult) Which() I_baseSocketSetSendBufferResultTag +pkg syscall/zx/posix/socket, method (*BaseSocketSetTimestampRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetTimestampResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetTimestampResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*BaseSocketSetTimestampResult) Ordinal() uint64 @@ -7261,8 +8377,10 @@ pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetIpMulticastLoopback(context.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetIpMulticastTtl(context.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetIpPacketInfo(context.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetIpReceiveOriginalDestinationAddress(context.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetIpReceiveTtl(context.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetIpReceiveTypeOfService(context.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetIpTransparent(context.Context) (BaseNetworkSocketGetIpTransparentResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetIpTtl(context.Context) (BaseNetworkSocketGetIpTtlResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetIpTypeOfService(context.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetIpv6MulticastHops(context.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) @@ -7277,6 +8395,7 @@ pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetKeepAlive(context.Context) (BaseSocketGetKeepAliveResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetLinger(context.Context) (BaseSocketGetLingerResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetNoCheck(context.Context) (BaseSocketGetNoCheckResult, error) +pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetOriginalDestination(context.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetOutOfBandInline(context.Context) (BaseSocketGetOutOfBandInlineResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetPeerName(context.Context) (BaseNetworkSocketGetPeerNameResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) GetReceiveBuffer(context.Context) (BaseSocketGetReceiveBufferResult, error) @@ -7295,8 +8414,10 @@ pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) SetIpMulticastLoopback(context.Context, bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) SetIpMulticastTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) SetIpPacketInfo(context.Context, bool) (BaseNetworkSocketSetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) SetIpReceiveOriginalDestinationAddress(context.Context, bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) SetIpReceiveTtl(context.Context, bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) SetIpReceiveTypeOfService(context.Context, bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) SetIpTransparent(context.Context, bool) (BaseNetworkSocketSetIpTransparentResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) SetIpTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) SetIpTypeOfService(context.Context, uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, method (*DatagramSocketWithCtxInterface) SetIpv6MulticastHops(context.Context, OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) @@ -7345,17 +8466,22 @@ pkg syscall/zx/posix/socket, method (*InterfaceAddresses) SetInterfaceFlags(InterfaceFlags) pkg syscall/zx/posix/socket, method (*InterfaceAddresses) SetName(string) pkg syscall/zx/posix/socket, method (*IpMulticastMembership) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*IpRecvControlData) ClearOriginalDestinationAddress() pkg syscall/zx/posix/socket, method (*IpRecvControlData) ClearTos() pkg syscall/zx/posix/socket, method (*IpRecvControlData) ClearTtl() +pkg syscall/zx/posix/socket, method (*IpRecvControlData) GetOriginalDestinationAddress() net.SocketAddress +pkg syscall/zx/posix/socket, method (*IpRecvControlData) GetOriginalDestinationAddressWithDefault(net.SocketAddress) net.SocketAddress pkg syscall/zx/posix/socket, method (*IpRecvControlData) GetTos() uint8 pkg syscall/zx/posix/socket, method (*IpRecvControlData) GetTosWithDefault(uint8) uint8 pkg syscall/zx/posix/socket, method (*IpRecvControlData) GetTtl() uint8 pkg syscall/zx/posix/socket, method (*IpRecvControlData) GetTtlWithDefault(uint8) uint8 pkg syscall/zx/posix/socket, method (*IpRecvControlData) GetUnknownData() map[uint64]fidl.UnknownData +pkg syscall/zx/posix/socket, method (*IpRecvControlData) HasOriginalDestinationAddress() bool pkg syscall/zx/posix/socket, method (*IpRecvControlData) HasTos() bool pkg syscall/zx/posix/socket, method (*IpRecvControlData) HasTtl() bool pkg syscall/zx/posix/socket, method (*IpRecvControlData) HasUnknownData() bool pkg syscall/zx/posix/socket, method (*IpRecvControlData) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*IpRecvControlData) SetOriginalDestinationAddress(net.SocketAddress) pkg syscall/zx/posix/socket, method (*IpRecvControlData) SetTos(uint8) pkg syscall/zx/posix/socket, method (*IpRecvControlData) SetTtl(uint8) pkg syscall/zx/posix/socket, method (*IpSendControlData) ClearTtl() @@ -7446,12 +8572,14 @@ pkg syscall/zx/posix/socket, method (*OptionalUint8) SetUnset(Empty) pkg syscall/zx/posix/socket, method (*OptionalUint8) SetValue(uint8) pkg syscall/zx/posix/socket, method (*OptionalUint8) Which() I_optionalUint8Tag +pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketDeprecatedRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketDeprecatedResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketDeprecatedResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketDeprecatedResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketDeprecatedResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketDeprecatedResult) SetResponse(ProviderDatagramSocketDeprecatedResponse) pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketDeprecatedResult) Which() I_providerDatagramSocketDeprecatedResultTag +pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketResponse) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketResponse) SetDatagramSocket(DatagramSocketWithCtxInterface) @@ -7463,24 +8591,29 @@ pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketResult) SetResponse(ProviderDatagramSocketResponse) pkg syscall/zx/posix/socket, method (*ProviderDatagramSocketResult) Which() I_providerDatagramSocketResultTag pkg syscall/zx/posix/socket, method (*ProviderEventProxy) Handle() *zx.Handle +pkg syscall/zx/posix/socket, method (*ProviderGetInterfaceAddressesResponse) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*ProviderInterfaceIndexToNameRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderInterfaceIndexToNameResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderInterfaceIndexToNameResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderInterfaceIndexToNameResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*ProviderInterfaceIndexToNameResult) SetErr(int32) pkg syscall/zx/posix/socket, method (*ProviderInterfaceIndexToNameResult) SetResponse(ProviderInterfaceIndexToNameResponse) pkg syscall/zx/posix/socket, method (*ProviderInterfaceIndexToNameResult) Which() I_providerInterfaceIndexToNameResultTag +pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToFlagsRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToFlagsResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToFlagsResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToFlagsResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToFlagsResult) SetErr(int32) pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToFlagsResult) SetResponse(ProviderInterfaceNameToFlagsResponse) pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToFlagsResult) Which() I_providerInterfaceNameToFlagsResultTag +pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToIndexRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToIndexResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToIndexResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToIndexResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToIndexResult) SetErr(int32) pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToIndexResult) SetResponse(ProviderInterfaceNameToIndexResponse) pkg syscall/zx/posix/socket, method (*ProviderInterfaceNameToIndexResult) Which() I_providerInterfaceNameToIndexResultTag +pkg syscall/zx/posix/socket, method (*ProviderStreamSocketRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderStreamSocketResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderStreamSocketResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*ProviderStreamSocketResult) Ordinal() uint64 @@ -7539,6 +8672,7 @@ pkg syscall/zx/posix/socket, method (*SocketSendControlData) GetUnknownData() map[uint64]fidl.UnknownData pkg syscall/zx/posix/socket, method (*SocketSendControlData) HasUnknownData() bool pkg syscall/zx/posix/socket, method (*SocketSendControlData) Marshaler() fidl.Marshaler +pkg syscall/zx/posix/socket, method (*StreamSocketAcceptRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketAcceptResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketAcceptResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketAcceptResult) Ordinal() uint64 @@ -7644,84 +8778,98 @@ pkg syscall/zx/posix/socket, method (*StreamSocketGetTcpWindowClampResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketGetTcpWindowClampResult) SetResponse(StreamSocketGetTcpWindowClampResponse) pkg syscall/zx/posix/socket, method (*StreamSocketGetTcpWindowClampResult) Which() I_streamSocketGetTcpWindowClampResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketListenRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketListenResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketListenResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketListenResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketListenResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketListenResult) SetResponse(StreamSocketListenResponse) pkg syscall/zx/posix/socket, method (*StreamSocketListenResult) Which() I_streamSocketListenResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCongestionRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCongestionResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCongestionResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCongestionResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCongestionResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCongestionResult) SetResponse(StreamSocketSetTcpCongestionResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCongestionResult) Which() I_streamSocketSetTcpCongestionResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCorkRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCorkResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCorkResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCorkResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCorkResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCorkResult) SetResponse(StreamSocketSetTcpCorkResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpCorkResult) Which() I_streamSocketSetTcpCorkResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpDeferAcceptRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpDeferAcceptResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpDeferAcceptResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpDeferAcceptResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpDeferAcceptResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpDeferAcceptResult) SetResponse(StreamSocketSetTcpDeferAcceptResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpDeferAcceptResult) Which() I_streamSocketSetTcpDeferAcceptResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveCountRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveCountResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveCountResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveCountResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveCountResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveCountResult) SetResponse(StreamSocketSetTcpKeepAliveCountResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveCountResult) Which() I_streamSocketSetTcpKeepAliveCountResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIdleRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIdleResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIdleResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIdleResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIdleResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIdleResult) SetResponse(StreamSocketSetTcpKeepAliveIdleResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIdleResult) Which() I_streamSocketSetTcpKeepAliveIdleResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIntervalRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIntervalResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIntervalResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIntervalResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIntervalResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIntervalResult) SetResponse(StreamSocketSetTcpKeepAliveIntervalResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpKeepAliveIntervalResult) Which() I_streamSocketSetTcpKeepAliveIntervalResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpLingerRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpLingerResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpLingerResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpLingerResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpLingerResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpLingerResult) SetResponse(StreamSocketSetTcpLingerResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpLingerResult) Which() I_streamSocketSetTcpLingerResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpMaxSegmentRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpMaxSegmentResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpMaxSegmentResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpMaxSegmentResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpMaxSegmentResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpMaxSegmentResult) SetResponse(StreamSocketSetTcpMaxSegmentResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpMaxSegmentResult) Which() I_streamSocketSetTcpMaxSegmentResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpNoDelayRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpNoDelayResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpNoDelayResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpNoDelayResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpNoDelayResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpNoDelayResult) SetResponse(StreamSocketSetTcpNoDelayResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpNoDelayResult) Which() I_streamSocketSetTcpNoDelayResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpQuickAckRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpQuickAckResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpQuickAckResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpQuickAckResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpQuickAckResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpQuickAckResult) SetResponse(StreamSocketSetTcpQuickAckResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpQuickAckResult) Which() I_streamSocketSetTcpQuickAckResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpSynCountRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpSynCountResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpSynCountResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpSynCountResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpSynCountResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpSynCountResult) SetResponse(StreamSocketSetTcpSynCountResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpSynCountResult) Which() I_streamSocketSetTcpSynCountResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpUserTimeoutRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpUserTimeoutResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpUserTimeoutResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpUserTimeoutResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpUserTimeoutResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpUserTimeoutResult) SetResponse(StreamSocketSetTcpUserTimeoutResponse) pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpUserTimeoutResult) Which() I_streamSocketSetTcpUserTimeoutResultTag +pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpWindowClampRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpWindowClampResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpWindowClampResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*StreamSocketSetTcpWindowClampResult) Ordinal() uint64 @@ -7748,8 +8896,10 @@ pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetIpMulticastLoopback(context.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetIpMulticastTtl(context.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetIpPacketInfo(context.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetIpReceiveOriginalDestinationAddress(context.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetIpReceiveTtl(context.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetIpReceiveTypeOfService(context.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetIpTransparent(context.Context) (BaseNetworkSocketGetIpTransparentResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetIpTtl(context.Context) (BaseNetworkSocketGetIpTtlResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetIpTypeOfService(context.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetIpv6MulticastHops(context.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) @@ -7764,6 +8914,7 @@ pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetKeepAlive(context.Context) (BaseSocketGetKeepAliveResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetLinger(context.Context) (BaseSocketGetLingerResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetNoCheck(context.Context) (BaseSocketGetNoCheckResult, error) +pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetOriginalDestination(context.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetOutOfBandInline(context.Context) (BaseSocketGetOutOfBandInlineResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetPeerName(context.Context) (BaseNetworkSocketGetPeerNameResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) GetReceiveBuffer(context.Context) (BaseSocketGetReceiveBufferResult, error) @@ -7795,8 +8946,10 @@ pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) SetIpMulticastLoopback(context.Context, bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) SetIpMulticastTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) SetIpPacketInfo(context.Context, bool) (BaseNetworkSocketSetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) SetIpReceiveOriginalDestinationAddress(context.Context, bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) SetIpReceiveTtl(context.Context, bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) SetIpReceiveTypeOfService(context.Context, bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) SetIpTransparent(context.Context, bool) (BaseNetworkSocketSetIpTransparentResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) SetIpTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) SetIpTypeOfService(context.Context, uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, method (*StreamSocketWithCtxInterface) SetIpv6MulticastHops(context.Context, OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) @@ -7842,12 +8995,14 @@ pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketDescribeResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketDescribeResponse) SetEvent(zx.Handle) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketEventProxy) Handle() *zx.Handle +pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketRecvMsgRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketRecvMsgResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketRecvMsgResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketRecvMsgResult) Ordinal() uint64 pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketRecvMsgResult) SetErr(posix.Errno) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketRecvMsgResult) SetResponse(SynchronousDatagramSocketRecvMsgResponse) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketRecvMsgResult) Which() I_synchronousDatagramSocketRecvMsgResultTag +pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketSendMsgRequest) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketSendMsgResponse) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketSendMsgResult) Marshaler() fidl.Marshaler pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketSendMsgResult) Ordinal() uint64 @@ -7873,8 +9028,10 @@ pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetIpMulticastLoopback(context.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetIpMulticastTtl(context.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetIpPacketInfo(context.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetIpReceiveOriginalDestinationAddress(context.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetIpReceiveTtl(context.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetIpReceiveTypeOfService(context.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetIpTransparent(context.Context) (BaseNetworkSocketGetIpTransparentResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetIpTtl(context.Context) (BaseNetworkSocketGetIpTtlResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetIpTypeOfService(context.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetIpv6MulticastHops(context.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) @@ -7889,6 +9046,7 @@ pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetKeepAlive(context.Context) (BaseSocketGetKeepAliveResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetLinger(context.Context) (BaseSocketGetLingerResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetNoCheck(context.Context) (BaseSocketGetNoCheckResult, error) +pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetOriginalDestination(context.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetOutOfBandInline(context.Context) (BaseSocketGetOutOfBandInlineResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetPeerName(context.Context) (BaseNetworkSocketGetPeerNameResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) GetReceiveBuffer(context.Context) (BaseSocketGetReceiveBufferResult, error) @@ -7907,8 +9065,10 @@ pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) SetIpMulticastLoopback(context.Context, bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) SetIpMulticastTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) SetIpPacketInfo(context.Context, bool) (BaseNetworkSocketSetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) SetIpReceiveOriginalDestinationAddress(context.Context, bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) SetIpReceiveTtl(context.Context, bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) SetIpReceiveTypeOfService(context.Context, bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) SetIpTransparent(context.Context, bool) (BaseNetworkSocketSetIpTransparentResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) SetIpTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) SetIpTypeOfService(context.Context, uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, method (*SynchronousDatagramSocketWithCtxInterface) SetIpv6MulticastHops(context.Context, OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) @@ -8059,7 +9219,7 @@ pkg syscall/zx/posix/socket, type BaseDatagramSocketGetInfoResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseDatagramSocketGetInfoResult struct, Response BaseDatagramSocketGetInfoResponse pkg syscall/zx/posix/socket, type BaseDatagramSocketGetInfoResult struct, embedded I_baseDatagramSocketGetInfoResultTag -pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface { AddIpMembership, AddIpv6Membership, Bind, Clone2, Close, Connect, Disconnect, DropIpMembership, DropIpv6Membership, GetAcceptConn, GetBindToDevice, GetBroadcast, GetError, GetInfo, GetIpMulticastInterface, GetIpMulticastLoopback, GetIpMulticastTtl, GetIpPacketInfo, GetIpReceiveTtl, GetIpReceiveTypeOfService, GetIpTtl, GetIpTypeOfService, GetIpv6MulticastHops, GetIpv6MulticastInterface, GetIpv6MulticastLoopback, GetIpv6Only, GetIpv6ReceiveHopLimit, GetIpv6ReceivePacketInfo, GetIpv6ReceiveTrafficClass, GetIpv6TrafficClass, GetIpv6UnicastHops, GetKeepAlive, GetLinger, GetNoCheck, GetOutOfBandInline, GetPeerName, GetReceiveBuffer, GetReuseAddress, GetReusePort, GetSendBuffer, GetSockName, GetTimestamp, Query, SetBindToDevice, SetBroadcast, SetIpMulticastInterface, SetIpMulticastLoopback, SetIpMulticastTtl, SetIpPacketInfo, SetIpReceiveTtl, SetIpReceiveTypeOfService, SetIpTtl, SetIpTypeOfService, SetIpv6MulticastHops, SetIpv6MulticastInterface, SetIpv6MulticastLoopback, SetIpv6Only, SetIpv6ReceiveHopLimit, SetIpv6ReceivePacketInfo, SetIpv6ReceiveTrafficClass, SetIpv6TrafficClass, SetIpv6UnicastHops, SetKeepAlive, SetLinger, SetNoCheck, SetOutOfBandInline, SetReceiveBuffer, SetReuseAddress, SetReusePort, SetSendBuffer, SetTimestamp, Shutdown } +pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface { AddIpMembership, AddIpv6Membership, Bind, Clone2, Close, Connect, Disconnect, DropIpMembership, DropIpv6Membership, GetAcceptConn, GetBindToDevice, GetBroadcast, GetError, GetInfo, GetIpMulticastInterface, GetIpMulticastLoopback, GetIpMulticastTtl, GetIpPacketInfo, GetIpReceiveOriginalDestinationAddress, GetIpReceiveTtl, GetIpReceiveTypeOfService, GetIpTransparent, GetIpTtl, GetIpTypeOfService, GetIpv6MulticastHops, GetIpv6MulticastInterface, GetIpv6MulticastLoopback, GetIpv6Only, GetIpv6ReceiveHopLimit, GetIpv6ReceivePacketInfo, GetIpv6ReceiveTrafficClass, GetIpv6TrafficClass, GetIpv6UnicastHops, GetKeepAlive, GetLinger, GetNoCheck, GetOriginalDestination, GetOutOfBandInline, GetPeerName, GetReceiveBuffer, GetReuseAddress, GetReusePort, GetSendBuffer, GetSockName, GetTimestamp, Query, SetBindToDevice, SetBroadcast, SetIpMulticastInterface, SetIpMulticastLoopback, SetIpMulticastTtl, SetIpPacketInfo, SetIpReceiveOriginalDestinationAddress, SetIpReceiveTtl, SetIpReceiveTypeOfService, SetIpTransparent, SetIpTtl, SetIpTypeOfService, SetIpv6MulticastHops, SetIpv6MulticastInterface, SetIpv6MulticastLoopback, SetIpv6Only, SetIpv6ReceiveHopLimit, SetIpv6ReceivePacketInfo, SetIpv6ReceiveTrafficClass, SetIpv6TrafficClass, SetIpv6UnicastHops, SetKeepAlive, SetLinger, SetNoCheck, SetOutOfBandInline, SetReceiveBuffer, SetReuseAddress, SetReusePort, SetSendBuffer, SetTimestamp, Shutdown } pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, AddIpMembership(context.Context, IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, AddIpv6Membership(context.Context, Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, Bind(context.Context, net.SocketAddress) (BaseNetworkSocketBindResult, error) @@ -8078,8 +9238,10 @@ pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetIpMulticastLoopback(context.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetIpMulticastTtl(context.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetIpPacketInfo(context.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetIpReceiveOriginalDestinationAddress(context.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetIpReceiveTtl(context.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetIpReceiveTypeOfService(context.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetIpTransparent(context.Context) (BaseNetworkSocketGetIpTransparentResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetIpTtl(context.Context) (BaseNetworkSocketGetIpTtlResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetIpTypeOfService(context.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetIpv6MulticastHops(context.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) @@ -8094,6 +9256,7 @@ pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetKeepAlive(context.Context) (BaseSocketGetKeepAliveResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetLinger(context.Context) (BaseSocketGetLingerResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetNoCheck(context.Context) (BaseSocketGetNoCheckResult, error) +pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetOriginalDestination(context.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetOutOfBandInline(context.Context) (BaseSocketGetOutOfBandInlineResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetPeerName(context.Context) (BaseNetworkSocketGetPeerNameResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, GetReceiveBuffer(context.Context) (BaseSocketGetReceiveBufferResult, error) @@ -8109,8 +9272,10 @@ pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, SetIpMulticastLoopback(context.Context, bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, SetIpMulticastTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, SetIpPacketInfo(context.Context, bool) (BaseNetworkSocketSetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, SetIpReceiveOriginalDestinationAddress(context.Context, bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, SetIpReceiveTtl(context.Context, bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, SetIpReceiveTypeOfService(context.Context, bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, SetIpTransparent(context.Context, bool) (BaseNetworkSocketSetIpTransparentResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, SetIpTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, SetIpTypeOfService(context.Context, uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtx interface, SetIpv6MulticastHops(context.Context, OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) @@ -8139,21 +9304,29 @@ pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtxStub struct pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtxStub struct, Impl BaseDatagramSocketWithCtx pkg syscall/zx/posix/socket, type BaseDatagramSocketWithCtxTransitionalBase struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpMembershipRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpMembershipRequest struct, Membership IpMulticastMembership pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpMembershipResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpMembershipResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpMembershipResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpMembershipResult struct, Response BaseNetworkSocketAddIpMembershipResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpMembershipResult struct, embedded I_baseNetworkSocketAddIpMembershipResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpv6MembershipRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpv6MembershipRequest struct, Membership Ipv6MulticastMembership pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpv6MembershipResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpv6MembershipResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpv6MembershipResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpv6MembershipResult struct, Response BaseNetworkSocketAddIpv6MembershipResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketAddIpv6MembershipResult struct, embedded I_baseNetworkSocketAddIpv6MembershipResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketBindRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketBindRequest struct, Addr net.SocketAddress pkg syscall/zx/posix/socket, type BaseNetworkSocketBindResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketBindResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketBindResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketBindResult struct, Response BaseNetworkSocketBindResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketBindResult struct, embedded I_baseNetworkSocketBindResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketConnectRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketConnectRequest struct, Addr net.SocketAddress pkg syscall/zx/posix/socket, type BaseNetworkSocketConnectResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketConnectResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketConnectResult struct, Err posix.Errno @@ -8164,11 +9337,15 @@ pkg syscall/zx/posix/socket, type BaseNetworkSocketDisconnectResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketDisconnectResult struct, Response BaseNetworkSocketDisconnectResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketDisconnectResult struct, embedded I_baseNetworkSocketDisconnectResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpMembershipRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpMembershipRequest struct, Membership IpMulticastMembership pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpMembershipResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpMembershipResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpMembershipResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpMembershipResult struct, Response BaseNetworkSocketDropIpMembershipResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpMembershipResult struct, embedded I_baseNetworkSocketDropIpMembershipResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpv6MembershipRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpv6MembershipRequest struct, Membership Ipv6MulticastMembership pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpv6MembershipResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpv6MembershipResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketDropIpv6MembershipResult struct, Err posix.Errno @@ -8200,6 +9377,12 @@ pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpPacketInfoResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpPacketInfoResult struct, Response BaseNetworkSocketGetIpPacketInfoResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpPacketInfoResult struct, embedded I_baseNetworkSocketGetIpPacketInfoResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse struct, Value bool +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult struct, Err posix.Errno +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult struct, Response BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult struct, embedded I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveTtlResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveTtlResponse struct, Value bool pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveTtlResult struct @@ -8212,6 +9395,12 @@ pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveTypeOfServiceResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveTypeOfServiceResult struct, Response BaseNetworkSocketGetIpReceiveTypeOfServiceResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpReceiveTypeOfServiceResult struct, embedded I_baseNetworkSocketGetIpReceiveTypeOfServiceResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpTransparentResponse struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpTransparentResponse struct, Value bool +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpTransparentResult struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpTransparentResult struct, Err posix.Errno +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpTransparentResult struct, Response BaseNetworkSocketGetIpTransparentResponse +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpTransparentResult struct, embedded I_baseNetworkSocketGetIpTransparentResultTag pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpTtlResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpTtlResponse struct, Value uint8 pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpTtlResult struct @@ -8278,6 +9467,12 @@ pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpv6UnicastHopsResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpv6UnicastHopsResult struct, Response BaseNetworkSocketGetIpv6UnicastHopsResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketGetIpv6UnicastHopsResult struct, embedded I_baseNetworkSocketGetIpv6UnicastHopsResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetOriginalDestinationResponse struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetOriginalDestinationResponse struct, Value net.SocketAddress +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetOriginalDestinationResult struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetOriginalDestinationResult struct, Err posix.Errno +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetOriginalDestinationResult struct, Response BaseNetworkSocketGetOriginalDestinationResponse +pkg syscall/zx/posix/socket, type BaseNetworkSocketGetOriginalDestinationResult struct, embedded I_baseNetworkSocketGetOriginalDestinationResultTag pkg syscall/zx/posix/socket, type BaseNetworkSocketGetPeerNameResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketGetPeerNameResponse struct, Addr net.SocketAddress pkg syscall/zx/posix/socket, type BaseNetworkSocketGetPeerNameResult struct @@ -8290,97 +9485,148 @@ pkg syscall/zx/posix/socket, type BaseNetworkSocketGetSockNameResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketGetSockNameResult struct, Response BaseNetworkSocketGetSockNameResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketGetSockNameResult struct, embedded I_baseNetworkSocketGetSockNameResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastInterfaceRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastInterfaceRequest struct, Address net.Ipv4Address +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastInterfaceRequest struct, Iface uint64 pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastInterfaceResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastInterfaceResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastInterfaceResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastInterfaceResult struct, Response BaseNetworkSocketSetIpMulticastInterfaceResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastInterfaceResult struct, embedded I_baseNetworkSocketSetIpMulticastInterfaceResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastLoopbackRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastLoopbackRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastLoopbackResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastLoopbackResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastLoopbackResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastLoopbackResult struct, Response BaseNetworkSocketSetIpMulticastLoopbackResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastLoopbackResult struct, embedded I_baseNetworkSocketSetIpMulticastLoopbackResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastTtlRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastTtlRequest struct, Value OptionalUint8 pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastTtlResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastTtlResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastTtlResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastTtlResult struct, Response BaseNetworkSocketSetIpMulticastTtlResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpMulticastTtlResult struct, embedded I_baseNetworkSocketSetIpMulticastTtlResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpPacketInfoRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpPacketInfoRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpPacketInfoResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpPacketInfoResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpPacketInfoResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpPacketInfoResult struct, Response BaseNetworkSocketSetIpPacketInfoResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpPacketInfoResult struct, embedded I_baseNetworkSocketSetIpPacketInfoResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest struct, Value bool +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult struct, Err posix.Errno +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult struct, Response BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult struct, embedded I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTtlRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTtlRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTtlResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTtlResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTtlResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTtlResult struct, Response BaseNetworkSocketSetIpReceiveTtlResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTtlResult struct, embedded I_baseNetworkSocketSetIpReceiveTtlResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTypeOfServiceRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTypeOfServiceRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTypeOfServiceResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTypeOfServiceResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTypeOfServiceResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTypeOfServiceResult struct, Response BaseNetworkSocketSetIpReceiveTypeOfServiceResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpReceiveTypeOfServiceResult struct, embedded I_baseNetworkSocketSetIpReceiveTypeOfServiceResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTransparentRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTransparentRequest struct, Value bool +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTransparentResponse struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTransparentResult struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTransparentResult struct, Err posix.Errno +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTransparentResult struct, Response BaseNetworkSocketSetIpTransparentResponse +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTransparentResult struct, embedded I_baseNetworkSocketSetIpTransparentResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTtlRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTtlRequest struct, Value OptionalUint8 pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTtlResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTtlResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTtlResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTtlResult struct, Response BaseNetworkSocketSetIpTtlResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTtlResult struct, embedded I_baseNetworkSocketSetIpTtlResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTypeOfServiceRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTypeOfServiceRequest struct, Value uint8 pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTypeOfServiceResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTypeOfServiceResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTypeOfServiceResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTypeOfServiceResult struct, Response BaseNetworkSocketSetIpTypeOfServiceResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpTypeOfServiceResult struct, embedded I_baseNetworkSocketSetIpTypeOfServiceResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastHopsRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastHopsRequest struct, Value OptionalUint8 pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastHopsResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastHopsResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastHopsResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastHopsResult struct, Response BaseNetworkSocketSetIpv6MulticastHopsResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastHopsResult struct, embedded I_baseNetworkSocketSetIpv6MulticastHopsResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastInterfaceRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastInterfaceRequest struct, Value uint64 pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastInterfaceResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastInterfaceResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastInterfaceResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastInterfaceResult struct, Response BaseNetworkSocketSetIpv6MulticastInterfaceResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastInterfaceResult struct, embedded I_baseNetworkSocketSetIpv6MulticastInterfaceResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastLoopbackRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastLoopbackRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastLoopbackResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastLoopbackResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastLoopbackResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastLoopbackResult struct, Response BaseNetworkSocketSetIpv6MulticastLoopbackResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6MulticastLoopbackResult struct, embedded I_baseNetworkSocketSetIpv6MulticastLoopbackResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6OnlyRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6OnlyRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6OnlyResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6OnlyResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6OnlyResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6OnlyResult struct, Response BaseNetworkSocketSetIpv6OnlyResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6OnlyResult struct, embedded I_baseNetworkSocketSetIpv6OnlyResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveHopLimitRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveHopLimitRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveHopLimitResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveHopLimitResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveHopLimitResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveHopLimitResult struct, Response BaseNetworkSocketSetIpv6ReceiveHopLimitResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveHopLimitResult struct, embedded I_baseNetworkSocketSetIpv6ReceiveHopLimitResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceivePacketInfoRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceivePacketInfoRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceivePacketInfoResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceivePacketInfoResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceivePacketInfoResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceivePacketInfoResult struct, Response BaseNetworkSocketSetIpv6ReceivePacketInfoResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceivePacketInfoResult struct, embedded I_baseNetworkSocketSetIpv6ReceivePacketInfoResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveTrafficClassResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveTrafficClassResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveTrafficClassResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveTrafficClassResult struct, Response BaseNetworkSocketSetIpv6ReceiveTrafficClassResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6ReceiveTrafficClassResult struct, embedded I_baseNetworkSocketSetIpv6ReceiveTrafficClassResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6TrafficClassRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6TrafficClassRequest struct, Value OptionalUint8 pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6TrafficClassResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6TrafficClassResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6TrafficClassResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6TrafficClassResult struct, Response BaseNetworkSocketSetIpv6TrafficClassResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6TrafficClassResult struct, embedded I_baseNetworkSocketSetIpv6TrafficClassResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6UnicastHopsRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6UnicastHopsRequest struct, Value OptionalUint8 pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6UnicastHopsResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6UnicastHopsResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6UnicastHopsResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6UnicastHopsResult struct, Response BaseNetworkSocketSetIpv6UnicastHopsResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketSetIpv6UnicastHopsResult struct, embedded I_baseNetworkSocketSetIpv6UnicastHopsResultTag +pkg syscall/zx/posix/socket, type BaseNetworkSocketShutdownRequest struct +pkg syscall/zx/posix/socket, type BaseNetworkSocketShutdownRequest struct, Mode ShutdownMode pkg syscall/zx/posix/socket, type BaseNetworkSocketShutdownResponse struct pkg syscall/zx/posix/socket, type BaseNetworkSocketShutdownResult struct pkg syscall/zx/posix/socket, type BaseNetworkSocketShutdownResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseNetworkSocketShutdownResult struct, Response BaseNetworkSocketShutdownResponse pkg syscall/zx/posix/socket, type BaseNetworkSocketShutdownResult struct, embedded I_baseNetworkSocketShutdownResultTag -pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface { AddIpMembership, AddIpv6Membership, Bind, Clone2, Close, Connect, Disconnect, DropIpMembership, DropIpv6Membership, GetAcceptConn, GetBindToDevice, GetBroadcast, GetError, GetIpMulticastInterface, GetIpMulticastLoopback, GetIpMulticastTtl, GetIpPacketInfo, GetIpReceiveTtl, GetIpReceiveTypeOfService, GetIpTtl, GetIpTypeOfService, GetIpv6MulticastHops, GetIpv6MulticastInterface, GetIpv6MulticastLoopback, GetIpv6Only, GetIpv6ReceiveHopLimit, GetIpv6ReceivePacketInfo, GetIpv6ReceiveTrafficClass, GetIpv6TrafficClass, GetIpv6UnicastHops, GetKeepAlive, GetLinger, GetNoCheck, GetOutOfBandInline, GetPeerName, GetReceiveBuffer, GetReuseAddress, GetReusePort, GetSendBuffer, GetSockName, GetTimestamp, Query, SetBindToDevice, SetBroadcast, SetIpMulticastInterface, SetIpMulticastLoopback, SetIpMulticastTtl, SetIpPacketInfo, SetIpReceiveTtl, SetIpReceiveTypeOfService, SetIpTtl, SetIpTypeOfService, SetIpv6MulticastHops, SetIpv6MulticastInterface, SetIpv6MulticastLoopback, SetIpv6Only, SetIpv6ReceiveHopLimit, SetIpv6ReceivePacketInfo, SetIpv6ReceiveTrafficClass, SetIpv6TrafficClass, SetIpv6UnicastHops, SetKeepAlive, SetLinger, SetNoCheck, SetOutOfBandInline, SetReceiveBuffer, SetReuseAddress, SetReusePort, SetSendBuffer, SetTimestamp, Shutdown } +pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface { AddIpMembership, AddIpv6Membership, Bind, Clone2, Close, Connect, Disconnect, DropIpMembership, DropIpv6Membership, GetAcceptConn, GetBindToDevice, GetBroadcast, GetError, GetIpMulticastInterface, GetIpMulticastLoopback, GetIpMulticastTtl, GetIpPacketInfo, GetIpReceiveOriginalDestinationAddress, GetIpReceiveTtl, GetIpReceiveTypeOfService, GetIpTransparent, GetIpTtl, GetIpTypeOfService, GetIpv6MulticastHops, GetIpv6MulticastInterface, GetIpv6MulticastLoopback, GetIpv6Only, GetIpv6ReceiveHopLimit, GetIpv6ReceivePacketInfo, GetIpv6ReceiveTrafficClass, GetIpv6TrafficClass, GetIpv6UnicastHops, GetKeepAlive, GetLinger, GetNoCheck, GetOriginalDestination, GetOutOfBandInline, GetPeerName, GetReceiveBuffer, GetReuseAddress, GetReusePort, GetSendBuffer, GetSockName, GetTimestamp, Query, SetBindToDevice, SetBroadcast, SetIpMulticastInterface, SetIpMulticastLoopback, SetIpMulticastTtl, SetIpPacketInfo, SetIpReceiveOriginalDestinationAddress, SetIpReceiveTtl, SetIpReceiveTypeOfService, SetIpTransparent, SetIpTtl, SetIpTypeOfService, SetIpv6MulticastHops, SetIpv6MulticastInterface, SetIpv6MulticastLoopback, SetIpv6Only, SetIpv6ReceiveHopLimit, SetIpv6ReceivePacketInfo, SetIpv6ReceiveTrafficClass, SetIpv6TrafficClass, SetIpv6UnicastHops, SetKeepAlive, SetLinger, SetNoCheck, SetOutOfBandInline, SetReceiveBuffer, SetReuseAddress, SetReusePort, SetSendBuffer, SetTimestamp, Shutdown } pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, AddIpMembership(context.Context, IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, AddIpv6Membership(context.Context, Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, Bind(context.Context, net.SocketAddress) (BaseNetworkSocketBindResult, error) @@ -8398,8 +9644,10 @@ pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetIpMulticastLoopback(context.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetIpMulticastTtl(context.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetIpPacketInfo(context.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetIpReceiveOriginalDestinationAddress(context.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetIpReceiveTtl(context.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetIpReceiveTypeOfService(context.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetIpTransparent(context.Context) (BaseNetworkSocketGetIpTransparentResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetIpTtl(context.Context) (BaseNetworkSocketGetIpTtlResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetIpTypeOfService(context.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetIpv6MulticastHops(context.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) @@ -8414,6 +9662,7 @@ pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetKeepAlive(context.Context) (BaseSocketGetKeepAliveResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetLinger(context.Context) (BaseSocketGetLingerResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetNoCheck(context.Context) (BaseSocketGetNoCheckResult, error) +pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetOriginalDestination(context.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetOutOfBandInline(context.Context) (BaseSocketGetOutOfBandInlineResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetPeerName(context.Context) (BaseNetworkSocketGetPeerNameResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, GetReceiveBuffer(context.Context) (BaseSocketGetReceiveBufferResult, error) @@ -8429,8 +9678,10 @@ pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, SetIpMulticastLoopback(context.Context, bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, SetIpMulticastTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, SetIpPacketInfo(context.Context, bool) (BaseNetworkSocketSetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, SetIpReceiveOriginalDestinationAddress(context.Context, bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, SetIpReceiveTtl(context.Context, bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, SetIpReceiveTypeOfService(context.Context, bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, SetIpTransparent(context.Context, bool) (BaseNetworkSocketSetIpTransparentResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, SetIpTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, SetIpTypeOfService(context.Context, uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, type BaseNetworkSocketWithCtx interface, SetIpv6MulticastHops(context.Context, OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) @@ -8539,56 +9790,79 @@ pkg syscall/zx/posix/socket, type BaseSocketGetTimestampResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketGetTimestampResult struct, Response BaseSocketGetTimestampResponse pkg syscall/zx/posix/socket, type BaseSocketGetTimestampResult struct, embedded I_baseSocketGetTimestampResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetBindToDeviceRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetBindToDeviceRequest struct, Value string pkg syscall/zx/posix/socket, type BaseSocketSetBindToDeviceResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetBindToDeviceResult struct pkg syscall/zx/posix/socket, type BaseSocketSetBindToDeviceResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketSetBindToDeviceResult struct, Response BaseSocketSetBindToDeviceResponse pkg syscall/zx/posix/socket, type BaseSocketSetBindToDeviceResult struct, embedded I_baseSocketSetBindToDeviceResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetBroadcastRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetBroadcastRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseSocketSetBroadcastResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetBroadcastResult struct pkg syscall/zx/posix/socket, type BaseSocketSetBroadcastResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketSetBroadcastResult struct, Response BaseSocketSetBroadcastResponse pkg syscall/zx/posix/socket, type BaseSocketSetBroadcastResult struct, embedded I_baseSocketSetBroadcastResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetKeepAliveRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetKeepAliveRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseSocketSetKeepAliveResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetKeepAliveResult struct pkg syscall/zx/posix/socket, type BaseSocketSetKeepAliveResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketSetKeepAliveResult struct, Response BaseSocketSetKeepAliveResponse pkg syscall/zx/posix/socket, type BaseSocketSetKeepAliveResult struct, embedded I_baseSocketSetKeepAliveResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetLingerRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetLingerRequest struct, LengthSecs uint32 +pkg syscall/zx/posix/socket, type BaseSocketSetLingerRequest struct, Linger bool pkg syscall/zx/posix/socket, type BaseSocketSetLingerResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetLingerResult struct pkg syscall/zx/posix/socket, type BaseSocketSetLingerResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketSetLingerResult struct, Response BaseSocketSetLingerResponse pkg syscall/zx/posix/socket, type BaseSocketSetLingerResult struct, embedded I_baseSocketSetLingerResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetNoCheckRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetNoCheckRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseSocketSetNoCheckResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetNoCheckResult struct pkg syscall/zx/posix/socket, type BaseSocketSetNoCheckResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketSetNoCheckResult struct, Response BaseSocketSetNoCheckResponse pkg syscall/zx/posix/socket, type BaseSocketSetNoCheckResult struct, embedded I_baseSocketSetNoCheckResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetOutOfBandInlineRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetOutOfBandInlineRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseSocketSetOutOfBandInlineResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetOutOfBandInlineResult struct pkg syscall/zx/posix/socket, type BaseSocketSetOutOfBandInlineResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketSetOutOfBandInlineResult struct, Response BaseSocketSetOutOfBandInlineResponse pkg syscall/zx/posix/socket, type BaseSocketSetOutOfBandInlineResult struct, embedded I_baseSocketSetOutOfBandInlineResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetReceiveBufferRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetReceiveBufferRequest struct, ValueBytes uint64 pkg syscall/zx/posix/socket, type BaseSocketSetReceiveBufferResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetReceiveBufferResult struct pkg syscall/zx/posix/socket, type BaseSocketSetReceiveBufferResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketSetReceiveBufferResult struct, Response BaseSocketSetReceiveBufferResponse pkg syscall/zx/posix/socket, type BaseSocketSetReceiveBufferResult struct, embedded I_baseSocketSetReceiveBufferResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetReuseAddressRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetReuseAddressRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseSocketSetReuseAddressResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetReuseAddressResult struct pkg syscall/zx/posix/socket, type BaseSocketSetReuseAddressResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketSetReuseAddressResult struct, Response BaseSocketSetReuseAddressResponse pkg syscall/zx/posix/socket, type BaseSocketSetReuseAddressResult struct, embedded I_baseSocketSetReuseAddressResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetReusePortRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetReusePortRequest struct, Value bool pkg syscall/zx/posix/socket, type BaseSocketSetReusePortResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetReusePortResult struct pkg syscall/zx/posix/socket, type BaseSocketSetReusePortResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketSetReusePortResult struct, Response BaseSocketSetReusePortResponse pkg syscall/zx/posix/socket, type BaseSocketSetReusePortResult struct, embedded I_baseSocketSetReusePortResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetSendBufferRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetSendBufferRequest struct, ValueBytes uint64 pkg syscall/zx/posix/socket, type BaseSocketSetSendBufferResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetSendBufferResult struct pkg syscall/zx/posix/socket, type BaseSocketSetSendBufferResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type BaseSocketSetSendBufferResult struct, Response BaseSocketSetSendBufferResponse pkg syscall/zx/posix/socket, type BaseSocketSetSendBufferResult struct, embedded I_baseSocketSetSendBufferResultTag +pkg syscall/zx/posix/socket, type BaseSocketSetTimestampRequest struct +pkg syscall/zx/posix/socket, type BaseSocketSetTimestampRequest struct, Value TimestampOption pkg syscall/zx/posix/socket, type BaseSocketSetTimestampResponse struct pkg syscall/zx/posix/socket, type BaseSocketSetTimestampResult struct pkg syscall/zx/posix/socket, type BaseSocketSetTimestampResult struct, Err posix.Errno @@ -8681,7 +9955,7 @@ pkg syscall/zx/posix/socket, type DatagramSocketSendMsgPreflightResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type DatagramSocketSendMsgPreflightResult struct, Response DatagramSocketSendMsgPreflightResponse pkg syscall/zx/posix/socket, type DatagramSocketSendMsgPreflightResult struct, embedded I_datagramSocketSendMsgPreflightResultTag -pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface { AddIpMembership, AddIpv6Membership, Bind, Clone2, Close, Connect, Describe, Disconnect, DropIpMembership, DropIpv6Membership, GetAcceptConn, GetBindToDevice, GetBroadcast, GetError, GetInfo, GetIpMulticastInterface, GetIpMulticastLoopback, GetIpMulticastTtl, GetIpPacketInfo, GetIpReceiveTtl, GetIpReceiveTypeOfService, GetIpTtl, GetIpTypeOfService, GetIpv6MulticastHops, GetIpv6MulticastInterface, GetIpv6MulticastLoopback, GetIpv6Only, GetIpv6ReceiveHopLimit, GetIpv6ReceivePacketInfo, GetIpv6ReceiveTrafficClass, GetIpv6TrafficClass, GetIpv6UnicastHops, GetKeepAlive, GetLinger, GetNoCheck, GetOutOfBandInline, GetPeerName, GetReceiveBuffer, GetReuseAddress, GetReusePort, GetSendBuffer, GetSockName, GetTimestamp, Query, RecvMsgPostflight, SendMsgPreflight, SetBindToDevice, SetBroadcast, SetIpMulticastInterface, SetIpMulticastLoopback, SetIpMulticastTtl, SetIpPacketInfo, SetIpReceiveTtl, SetIpReceiveTypeOfService, SetIpTtl, SetIpTypeOfService, SetIpv6MulticastHops, SetIpv6MulticastInterface, SetIpv6MulticastLoopback, SetIpv6Only, SetIpv6ReceiveHopLimit, SetIpv6ReceivePacketInfo, SetIpv6ReceiveTrafficClass, SetIpv6TrafficClass, SetIpv6UnicastHops, SetKeepAlive, SetLinger, SetNoCheck, SetOutOfBandInline, SetReceiveBuffer, SetReuseAddress, SetReusePort, SetSendBuffer, SetTimestamp, Shutdown } +pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface { AddIpMembership, AddIpv6Membership, Bind, Clone2, Close, Connect, Describe, Disconnect, DropIpMembership, DropIpv6Membership, GetAcceptConn, GetBindToDevice, GetBroadcast, GetError, GetInfo, GetIpMulticastInterface, GetIpMulticastLoopback, GetIpMulticastTtl, GetIpPacketInfo, GetIpReceiveOriginalDestinationAddress, GetIpReceiveTtl, GetIpReceiveTypeOfService, GetIpTransparent, GetIpTtl, GetIpTypeOfService, GetIpv6MulticastHops, GetIpv6MulticastInterface, GetIpv6MulticastLoopback, GetIpv6Only, GetIpv6ReceiveHopLimit, GetIpv6ReceivePacketInfo, GetIpv6ReceiveTrafficClass, GetIpv6TrafficClass, GetIpv6UnicastHops, GetKeepAlive, GetLinger, GetNoCheck, GetOriginalDestination, GetOutOfBandInline, GetPeerName, GetReceiveBuffer, GetReuseAddress, GetReusePort, GetSendBuffer, GetSockName, GetTimestamp, Query, RecvMsgPostflight, SendMsgPreflight, SetBindToDevice, SetBroadcast, SetIpMulticastInterface, SetIpMulticastLoopback, SetIpMulticastTtl, SetIpPacketInfo, SetIpReceiveOriginalDestinationAddress, SetIpReceiveTtl, SetIpReceiveTypeOfService, SetIpTransparent, SetIpTtl, SetIpTypeOfService, SetIpv6MulticastHops, SetIpv6MulticastInterface, SetIpv6MulticastLoopback, SetIpv6Only, SetIpv6ReceiveHopLimit, SetIpv6ReceivePacketInfo, SetIpv6ReceiveTrafficClass, SetIpv6TrafficClass, SetIpv6UnicastHops, SetKeepAlive, SetLinger, SetNoCheck, SetOutOfBandInline, SetReceiveBuffer, SetReuseAddress, SetReusePort, SetSendBuffer, SetTimestamp, Shutdown } pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, AddIpMembership(context.Context, IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, AddIpv6Membership(context.Context, Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, Bind(context.Context, net.SocketAddress) (BaseNetworkSocketBindResult, error) @@ -8701,8 +9975,10 @@ pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetIpMulticastLoopback(context.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetIpMulticastTtl(context.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetIpPacketInfo(context.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetIpReceiveOriginalDestinationAddress(context.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetIpReceiveTtl(context.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetIpReceiveTypeOfService(context.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetIpTransparent(context.Context) (BaseNetworkSocketGetIpTransparentResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetIpTtl(context.Context) (BaseNetworkSocketGetIpTtlResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetIpTypeOfService(context.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetIpv6MulticastHops(context.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) @@ -8717,6 +9993,7 @@ pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetKeepAlive(context.Context) (BaseSocketGetKeepAliveResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetLinger(context.Context) (BaseSocketGetLingerResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetNoCheck(context.Context) (BaseSocketGetNoCheckResult, error) +pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetOriginalDestination(context.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetOutOfBandInline(context.Context) (BaseSocketGetOutOfBandInlineResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetPeerName(context.Context) (BaseNetworkSocketGetPeerNameResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, GetReceiveBuffer(context.Context) (BaseSocketGetReceiveBufferResult, error) @@ -8734,8 +10011,10 @@ pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, SetIpMulticastLoopback(context.Context, bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, SetIpMulticastTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, SetIpPacketInfo(context.Context, bool) (BaseNetworkSocketSetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, SetIpReceiveOriginalDestinationAddress(context.Context, bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, SetIpReceiveTtl(context.Context, bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, SetIpReceiveTypeOfService(context.Context, bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, SetIpTransparent(context.Context, bool) (BaseNetworkSocketSetIpTransparentResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, SetIpTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, SetIpTypeOfService(context.Context, uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, type DatagramSocketWithCtx interface, SetIpv6MulticastHops(context.Context, OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) @@ -8778,8 +10057,10 @@ pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpMulticastLoopbackResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpMulticastTtlResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpPacketInfoResultTag uint64 +pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpReceiveTtlResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpReceiveTypeOfServiceResultTag uint64 +pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpTransparentResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpTtlResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpTypeOfServiceResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpv6MulticastHopsResultTag uint64 @@ -8791,14 +10072,17 @@ pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpv6ReceiveTrafficClassResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpv6TrafficClassResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetIpv6UnicastHopsResultTag uint64 +pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetOriginalDestinationResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetPeerNameResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketGetSockNameResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpMulticastInterfaceResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpMulticastLoopbackResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpMulticastTtlResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpPacketInfoResultTag uint64 +pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpReceiveTtlResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpReceiveTypeOfServiceResultTag uint64 +pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpTransparentResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpTtlResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpTypeOfServiceResultTag uint64 pkg syscall/zx/posix/socket, type I_baseNetworkSocketSetIpv6MulticastHopsResultTag uint64 @@ -8895,6 +10179,8 @@ pkg syscall/zx/posix/socket, type IpMulticastMembership struct, McastAddr net.Ipv4Address pkg syscall/zx/posix/socket, type IpRecvControlData struct pkg syscall/zx/posix/socket, type IpRecvControlData struct, I_unknownData interface{} +pkg syscall/zx/posix/socket, type IpRecvControlData struct, OriginalDestinationAddress net.SocketAddress +pkg syscall/zx/posix/socket, type IpRecvControlData struct, OriginalDestinationAddressPresent bool pkg syscall/zx/posix/socket, type IpRecvControlData struct, Tos uint8 pkg syscall/zx/posix/socket, type IpRecvControlData struct, TosPresent bool pkg syscall/zx/posix/socket, type IpRecvControlData struct, Ttl uint8 @@ -8950,12 +10236,18 @@ pkg syscall/zx/posix/socket, type OptionalUint8 struct, Unset Empty pkg syscall/zx/posix/socket, type OptionalUint8 struct, Value uint8 pkg syscall/zx/posix/socket, type OptionalUint8 struct, embedded I_optionalUint8Tag +pkg syscall/zx/posix/socket, type ProviderDatagramSocketDeprecatedRequest struct +pkg syscall/zx/posix/socket, type ProviderDatagramSocketDeprecatedRequest struct, Domain Domain +pkg syscall/zx/posix/socket, type ProviderDatagramSocketDeprecatedRequest struct, Proto DatagramSocketProtocol pkg syscall/zx/posix/socket, type ProviderDatagramSocketDeprecatedResponse struct pkg syscall/zx/posix/socket, type ProviderDatagramSocketDeprecatedResponse struct, S SynchronousDatagramSocketWithCtxInterface pkg syscall/zx/posix/socket, type ProviderDatagramSocketDeprecatedResult struct pkg syscall/zx/posix/socket, type ProviderDatagramSocketDeprecatedResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type ProviderDatagramSocketDeprecatedResult struct, Response ProviderDatagramSocketDeprecatedResponse pkg syscall/zx/posix/socket, type ProviderDatagramSocketDeprecatedResult struct, embedded I_providerDatagramSocketDeprecatedResultTag +pkg syscall/zx/posix/socket, type ProviderDatagramSocketRequest struct +pkg syscall/zx/posix/socket, type ProviderDatagramSocketRequest struct, Domain Domain +pkg syscall/zx/posix/socket, type ProviderDatagramSocketRequest struct, Proto DatagramSocketProtocol pkg syscall/zx/posix/socket, type ProviderDatagramSocketResponse struct pkg syscall/zx/posix/socket, type ProviderDatagramSocketResponse struct, DatagramSocket DatagramSocketWithCtxInterface pkg syscall/zx/posix/socket, type ProviderDatagramSocketResponse struct, SynchronousDatagramSocket SynchronousDatagramSocketWithCtxInterface @@ -8966,24 +10258,35 @@ pkg syscall/zx/posix/socket, type ProviderDatagramSocketResult struct, embedded I_providerDatagramSocketResultTag pkg syscall/zx/posix/socket, type ProviderEventProxy struct pkg syscall/zx/posix/socket, type ProviderEventProxy struct, embedded zx.Channel +pkg syscall/zx/posix/socket, type ProviderGetInterfaceAddressesResponse struct +pkg syscall/zx/posix/socket, type ProviderGetInterfaceAddressesResponse struct, Interfaces []InterfaceAddresses +pkg syscall/zx/posix/socket, type ProviderInterfaceIndexToNameRequest struct +pkg syscall/zx/posix/socket, type ProviderInterfaceIndexToNameRequest struct, Index uint64 pkg syscall/zx/posix/socket, type ProviderInterfaceIndexToNameResponse struct pkg syscall/zx/posix/socket, type ProviderInterfaceIndexToNameResponse struct, Name string pkg syscall/zx/posix/socket, type ProviderInterfaceIndexToNameResult struct pkg syscall/zx/posix/socket, type ProviderInterfaceIndexToNameResult struct, Err int32 pkg syscall/zx/posix/socket, type ProviderInterfaceIndexToNameResult struct, Response ProviderInterfaceIndexToNameResponse pkg syscall/zx/posix/socket, type ProviderInterfaceIndexToNameResult struct, embedded I_providerInterfaceIndexToNameResultTag +pkg syscall/zx/posix/socket, type ProviderInterfaceNameToFlagsRequest struct +pkg syscall/zx/posix/socket, type ProviderInterfaceNameToFlagsRequest struct, Name string pkg syscall/zx/posix/socket, type ProviderInterfaceNameToFlagsResponse struct pkg syscall/zx/posix/socket, type ProviderInterfaceNameToFlagsResponse struct, Flags InterfaceFlags pkg syscall/zx/posix/socket, type ProviderInterfaceNameToFlagsResult struct pkg syscall/zx/posix/socket, type ProviderInterfaceNameToFlagsResult struct, Err int32 pkg syscall/zx/posix/socket, type ProviderInterfaceNameToFlagsResult struct, Response ProviderInterfaceNameToFlagsResponse pkg syscall/zx/posix/socket, type ProviderInterfaceNameToFlagsResult struct, embedded I_providerInterfaceNameToFlagsResultTag +pkg syscall/zx/posix/socket, type ProviderInterfaceNameToIndexRequest struct +pkg syscall/zx/posix/socket, type ProviderInterfaceNameToIndexRequest struct, Name string pkg syscall/zx/posix/socket, type ProviderInterfaceNameToIndexResponse struct pkg syscall/zx/posix/socket, type ProviderInterfaceNameToIndexResponse struct, Index uint64 pkg syscall/zx/posix/socket, type ProviderInterfaceNameToIndexResult struct pkg syscall/zx/posix/socket, type ProviderInterfaceNameToIndexResult struct, Err int32 pkg syscall/zx/posix/socket, type ProviderInterfaceNameToIndexResult struct, Response ProviderInterfaceNameToIndexResponse pkg syscall/zx/posix/socket, type ProviderInterfaceNameToIndexResult struct, embedded I_providerInterfaceNameToIndexResultTag +pkg syscall/zx/posix/socket, type ProviderStreamSocketRequest struct +pkg syscall/zx/posix/socket, type ProviderStreamSocketRequest struct, Domain Domain +pkg syscall/zx/posix/socket, type ProviderStreamSocketRequest struct, Proto StreamSocketProtocol pkg syscall/zx/posix/socket, type ProviderStreamSocketResponse struct pkg syscall/zx/posix/socket, type ProviderStreamSocketResponse struct, S StreamSocketWithCtxInterface pkg syscall/zx/posix/socket, type ProviderStreamSocketResult struct @@ -9028,6 +10331,8 @@ pkg syscall/zx/posix/socket, type SocketRecvControlData struct, TimestampPresent bool pkg syscall/zx/posix/socket, type SocketSendControlData struct pkg syscall/zx/posix/socket, type SocketSendControlData struct, I_unknownData interface{} +pkg syscall/zx/posix/socket, type StreamSocketAcceptRequest struct +pkg syscall/zx/posix/socket, type StreamSocketAcceptRequest struct, WantAddr bool pkg syscall/zx/posix/socket, type StreamSocketAcceptResponse struct pkg syscall/zx/posix/socket, type StreamSocketAcceptResponse struct, Addr *net.SocketAddress pkg syscall/zx/posix/socket, type StreamSocketAcceptResponse struct, S StreamSocketWithCtxInterface @@ -9132,78 +10437,106 @@ pkg syscall/zx/posix/socket, type StreamSocketGetTcpWindowClampResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketGetTcpWindowClampResult struct, Response StreamSocketGetTcpWindowClampResponse pkg syscall/zx/posix/socket, type StreamSocketGetTcpWindowClampResult struct, embedded I_streamSocketGetTcpWindowClampResultTag +pkg syscall/zx/posix/socket, type StreamSocketListenRequest struct +pkg syscall/zx/posix/socket, type StreamSocketListenRequest struct, Backlog int16 pkg syscall/zx/posix/socket, type StreamSocketListenResponse struct pkg syscall/zx/posix/socket, type StreamSocketListenResult struct pkg syscall/zx/posix/socket, type StreamSocketListenResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketListenResult struct, Response StreamSocketListenResponse pkg syscall/zx/posix/socket, type StreamSocketListenResult struct, embedded I_streamSocketListenResultTag pkg syscall/zx/posix/socket, type StreamSocketProtocol uint32 +pkg syscall/zx/posix/socket, type StreamSocketSetTcpCongestionRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpCongestionRequest struct, Value TcpCongestionControl pkg syscall/zx/posix/socket, type StreamSocketSetTcpCongestionResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpCongestionResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpCongestionResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpCongestionResult struct, Response StreamSocketSetTcpCongestionResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpCongestionResult struct, embedded I_streamSocketSetTcpCongestionResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpCorkRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpCorkRequest struct, Value bool pkg syscall/zx/posix/socket, type StreamSocketSetTcpCorkResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpCorkResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpCorkResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpCorkResult struct, Response StreamSocketSetTcpCorkResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpCorkResult struct, embedded I_streamSocketSetTcpCorkResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpDeferAcceptRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpDeferAcceptRequest struct, ValueSecs uint32 pkg syscall/zx/posix/socket, type StreamSocketSetTcpDeferAcceptResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpDeferAcceptResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpDeferAcceptResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpDeferAcceptResult struct, Response StreamSocketSetTcpDeferAcceptResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpDeferAcceptResult struct, embedded I_streamSocketSetTcpDeferAcceptResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveCountRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveCountRequest struct, Value uint32 pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveCountResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveCountResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveCountResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveCountResult struct, Response StreamSocketSetTcpKeepAliveCountResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveCountResult struct, embedded I_streamSocketSetTcpKeepAliveCountResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIdleRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIdleRequest struct, ValueSecs uint32 pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIdleResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIdleResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIdleResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIdleResult struct, Response StreamSocketSetTcpKeepAliveIdleResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIdleResult struct, embedded I_streamSocketSetTcpKeepAliveIdleResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIntervalRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIntervalRequest struct, ValueSecs uint32 pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIntervalResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIntervalResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIntervalResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIntervalResult struct, Response StreamSocketSetTcpKeepAliveIntervalResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpKeepAliveIntervalResult struct, embedded I_streamSocketSetTcpKeepAliveIntervalResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpLingerRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpLingerRequest struct, ValueSecs OptionalUint32 pkg syscall/zx/posix/socket, type StreamSocketSetTcpLingerResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpLingerResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpLingerResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpLingerResult struct, Response StreamSocketSetTcpLingerResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpLingerResult struct, embedded I_streamSocketSetTcpLingerResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpMaxSegmentRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpMaxSegmentRequest struct, ValueBytes uint32 pkg syscall/zx/posix/socket, type StreamSocketSetTcpMaxSegmentResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpMaxSegmentResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpMaxSegmentResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpMaxSegmentResult struct, Response StreamSocketSetTcpMaxSegmentResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpMaxSegmentResult struct, embedded I_streamSocketSetTcpMaxSegmentResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpNoDelayRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpNoDelayRequest struct, Value bool pkg syscall/zx/posix/socket, type StreamSocketSetTcpNoDelayResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpNoDelayResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpNoDelayResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpNoDelayResult struct, Response StreamSocketSetTcpNoDelayResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpNoDelayResult struct, embedded I_streamSocketSetTcpNoDelayResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpQuickAckRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpQuickAckRequest struct, Value bool pkg syscall/zx/posix/socket, type StreamSocketSetTcpQuickAckResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpQuickAckResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpQuickAckResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpQuickAckResult struct, Response StreamSocketSetTcpQuickAckResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpQuickAckResult struct, embedded I_streamSocketSetTcpQuickAckResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpSynCountRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpSynCountRequest struct, Value uint32 pkg syscall/zx/posix/socket, type StreamSocketSetTcpSynCountResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpSynCountResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpSynCountResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpSynCountResult struct, Response StreamSocketSetTcpSynCountResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpSynCountResult struct, embedded I_streamSocketSetTcpSynCountResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpUserTimeoutRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpUserTimeoutRequest struct, ValueMillis uint32 pkg syscall/zx/posix/socket, type StreamSocketSetTcpUserTimeoutResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpUserTimeoutResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpUserTimeoutResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpUserTimeoutResult struct, Response StreamSocketSetTcpUserTimeoutResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpUserTimeoutResult struct, embedded I_streamSocketSetTcpUserTimeoutResultTag +pkg syscall/zx/posix/socket, type StreamSocketSetTcpWindowClampRequest struct +pkg syscall/zx/posix/socket, type StreamSocketSetTcpWindowClampRequest struct, Value uint32 pkg syscall/zx/posix/socket, type StreamSocketSetTcpWindowClampResponse struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpWindowClampResult struct pkg syscall/zx/posix/socket, type StreamSocketSetTcpWindowClampResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type StreamSocketSetTcpWindowClampResult struct, Response StreamSocketSetTcpWindowClampResponse pkg syscall/zx/posix/socket, type StreamSocketSetTcpWindowClampResult struct, embedded I_streamSocketSetTcpWindowClampResultTag -pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface { Accept, AddIpMembership, AddIpv6Membership, Bind, Clone2, Close, Connect, Describe, Disconnect, DropIpMembership, DropIpv6Membership, GetAcceptConn, GetBindToDevice, GetBroadcast, GetError, GetInfo, GetIpMulticastInterface, GetIpMulticastLoopback, GetIpMulticastTtl, GetIpPacketInfo, GetIpReceiveTtl, GetIpReceiveTypeOfService, GetIpTtl, GetIpTypeOfService, GetIpv6MulticastHops, GetIpv6MulticastInterface, GetIpv6MulticastLoopback, GetIpv6Only, GetIpv6ReceiveHopLimit, GetIpv6ReceivePacketInfo, GetIpv6ReceiveTrafficClass, GetIpv6TrafficClass, GetIpv6UnicastHops, GetKeepAlive, GetLinger, GetNoCheck, GetOutOfBandInline, GetPeerName, GetReceiveBuffer, GetReuseAddress, GetReusePort, GetSendBuffer, GetSockName, GetTcpCongestion, GetTcpCork, GetTcpDeferAccept, GetTcpInfo, GetTcpKeepAliveCount, GetTcpKeepAliveIdle, GetTcpKeepAliveInterval, GetTcpLinger, GetTcpMaxSegment, GetTcpNoDelay, GetTcpQuickAck, GetTcpSynCount, GetTcpUserTimeout, GetTcpWindowClamp, GetTimestamp, Listen, Query, SetBindToDevice, SetBroadcast, SetIpMulticastInterface, SetIpMulticastLoopback, SetIpMulticastTtl, SetIpPacketInfo, SetIpReceiveTtl, SetIpReceiveTypeOfService, SetIpTtl, SetIpTypeOfService, SetIpv6MulticastHops, SetIpv6MulticastInterface, SetIpv6MulticastLoopback, SetIpv6Only, SetIpv6ReceiveHopLimit, SetIpv6ReceivePacketInfo, SetIpv6ReceiveTrafficClass, SetIpv6TrafficClass, SetIpv6UnicastHops, SetKeepAlive, SetLinger, SetNoCheck, SetOutOfBandInline, SetReceiveBuffer, SetReuseAddress, SetReusePort, SetSendBuffer, SetTcpCongestion, SetTcpCork, SetTcpDeferAccept, SetTcpKeepAliveCount, SetTcpKeepAliveIdle, SetTcpKeepAliveInterval, SetTcpLinger, SetTcpMaxSegment, SetTcpNoDelay, SetTcpQuickAck, SetTcpSynCount, SetTcpUserTimeout, SetTcpWindowClamp, SetTimestamp, Shutdown } +pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface { Accept, AddIpMembership, AddIpv6Membership, Bind, Clone2, Close, Connect, Describe, Disconnect, DropIpMembership, DropIpv6Membership, GetAcceptConn, GetBindToDevice, GetBroadcast, GetError, GetInfo, GetIpMulticastInterface, GetIpMulticastLoopback, GetIpMulticastTtl, GetIpPacketInfo, GetIpReceiveOriginalDestinationAddress, GetIpReceiveTtl, GetIpReceiveTypeOfService, GetIpTransparent, GetIpTtl, GetIpTypeOfService, GetIpv6MulticastHops, GetIpv6MulticastInterface, GetIpv6MulticastLoopback, GetIpv6Only, GetIpv6ReceiveHopLimit, GetIpv6ReceivePacketInfo, GetIpv6ReceiveTrafficClass, GetIpv6TrafficClass, GetIpv6UnicastHops, GetKeepAlive, GetLinger, GetNoCheck, GetOriginalDestination, GetOutOfBandInline, GetPeerName, GetReceiveBuffer, GetReuseAddress, GetReusePort, GetSendBuffer, GetSockName, GetTcpCongestion, GetTcpCork, GetTcpDeferAccept, GetTcpInfo, GetTcpKeepAliveCount, GetTcpKeepAliveIdle, GetTcpKeepAliveInterval, GetTcpLinger, GetTcpMaxSegment, GetTcpNoDelay, GetTcpQuickAck, GetTcpSynCount, GetTcpUserTimeout, GetTcpWindowClamp, GetTimestamp, Listen, Query, SetBindToDevice, SetBroadcast, SetIpMulticastInterface, SetIpMulticastLoopback, SetIpMulticastTtl, SetIpPacketInfo, SetIpReceiveOriginalDestinationAddress, SetIpReceiveTtl, SetIpReceiveTypeOfService, SetIpTransparent, SetIpTtl, SetIpTypeOfService, SetIpv6MulticastHops, SetIpv6MulticastInterface, SetIpv6MulticastLoopback, SetIpv6Only, SetIpv6ReceiveHopLimit, SetIpv6ReceivePacketInfo, SetIpv6ReceiveTrafficClass, SetIpv6TrafficClass, SetIpv6UnicastHops, SetKeepAlive, SetLinger, SetNoCheck, SetOutOfBandInline, SetReceiveBuffer, SetReuseAddress, SetReusePort, SetSendBuffer, SetTcpCongestion, SetTcpCork, SetTcpDeferAccept, SetTcpKeepAliveCount, SetTcpKeepAliveIdle, SetTcpKeepAliveInterval, SetTcpLinger, SetTcpMaxSegment, SetTcpNoDelay, SetTcpQuickAck, SetTcpSynCount, SetTcpUserTimeout, SetTcpWindowClamp, SetTimestamp, Shutdown } pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, Accept(context.Context, bool) (StreamSocketAcceptResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, AddIpMembership(context.Context, IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, AddIpv6Membership(context.Context, Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) @@ -9224,8 +10557,10 @@ pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetIpMulticastLoopback(context.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetIpMulticastTtl(context.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetIpPacketInfo(context.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetIpReceiveOriginalDestinationAddress(context.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetIpReceiveTtl(context.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetIpReceiveTypeOfService(context.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetIpTransparent(context.Context) (BaseNetworkSocketGetIpTransparentResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetIpTtl(context.Context) (BaseNetworkSocketGetIpTtlResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetIpTypeOfService(context.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetIpv6MulticastHops(context.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) @@ -9240,6 +10575,7 @@ pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetKeepAlive(context.Context) (BaseSocketGetKeepAliveResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetLinger(context.Context) (BaseSocketGetLingerResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetNoCheck(context.Context) (BaseSocketGetNoCheckResult, error) +pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetOriginalDestination(context.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetOutOfBandInline(context.Context) (BaseSocketGetOutOfBandInlineResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetPeerName(context.Context) (BaseNetworkSocketGetPeerNameResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, GetReceiveBuffer(context.Context) (BaseSocketGetReceiveBufferResult, error) @@ -9270,8 +10606,10 @@ pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, SetIpMulticastLoopback(context.Context, bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, SetIpMulticastTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, SetIpPacketInfo(context.Context, bool) (BaseNetworkSocketSetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, SetIpReceiveOriginalDestinationAddress(context.Context, bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, SetIpReceiveTtl(context.Context, bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, SetIpReceiveTypeOfService(context.Context, bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, SetIpTransparent(context.Context, bool) (BaseNetworkSocketSetIpTransparentResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, SetIpTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, SetIpTypeOfService(context.Context, uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, type StreamSocketWithCtx interface, SetIpv6MulticastHops(context.Context, OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) @@ -9319,6 +10657,11 @@ pkg syscall/zx/posix/socket, type SynchronousDatagramSocketDescribeResponse struct, I_unknownData interface{} pkg syscall/zx/posix/socket, type SynchronousDatagramSocketEventProxy struct pkg syscall/zx/posix/socket, type SynchronousDatagramSocketEventProxy struct, embedded zx.Channel +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgRequest struct +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgRequest struct, DataLen uint32 +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgRequest struct, Flags RecvMsgFlags +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgRequest struct, WantAddr bool +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgRequest struct, WantControl bool pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgResponse struct pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgResponse struct, Addr *net.SocketAddress pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgResponse struct, Control DatagramSocketRecvControlData @@ -9328,13 +10671,18 @@ pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgResult struct, Response SynchronousDatagramSocketRecvMsgResponse pkg syscall/zx/posix/socket, type SynchronousDatagramSocketRecvMsgResult struct, embedded I_synchronousDatagramSocketRecvMsgResultTag +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgRequest struct +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgRequest struct, Addr *net.SocketAddress +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgRequest struct, Control DatagramSocketSendControlData +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgRequest struct, Data []uint8 +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgRequest struct, Flags SendMsgFlags pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgResponse struct pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgResponse struct, Len int64 pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgResult struct pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgResult struct, Err posix.Errno pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgResult struct, Response SynchronousDatagramSocketSendMsgResponse pkg syscall/zx/posix/socket, type SynchronousDatagramSocketSendMsgResult struct, embedded I_synchronousDatagramSocketSendMsgResultTag -pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface { AddIpMembership, AddIpv6Membership, Bind, Clone2, Close, Connect, Describe, Disconnect, DropIpMembership, DropIpv6Membership, GetAcceptConn, GetBindToDevice, GetBroadcast, GetError, GetInfo, GetIpMulticastInterface, GetIpMulticastLoopback, GetIpMulticastTtl, GetIpPacketInfo, GetIpReceiveTtl, GetIpReceiveTypeOfService, GetIpTtl, GetIpTypeOfService, GetIpv6MulticastHops, GetIpv6MulticastInterface, GetIpv6MulticastLoopback, GetIpv6Only, GetIpv6ReceiveHopLimit, GetIpv6ReceivePacketInfo, GetIpv6ReceiveTrafficClass, GetIpv6TrafficClass, GetIpv6UnicastHops, GetKeepAlive, GetLinger, GetNoCheck, GetOutOfBandInline, GetPeerName, GetReceiveBuffer, GetReuseAddress, GetReusePort, GetSendBuffer, GetSockName, GetTimestamp, Query, RecvMsg, SendMsg, SetBindToDevice, SetBroadcast, SetIpMulticastInterface, SetIpMulticastLoopback, SetIpMulticastTtl, SetIpPacketInfo, SetIpReceiveTtl, SetIpReceiveTypeOfService, SetIpTtl, SetIpTypeOfService, SetIpv6MulticastHops, SetIpv6MulticastInterface, SetIpv6MulticastLoopback, SetIpv6Only, SetIpv6ReceiveHopLimit, SetIpv6ReceivePacketInfo, SetIpv6ReceiveTrafficClass, SetIpv6TrafficClass, SetIpv6UnicastHops, SetKeepAlive, SetLinger, SetNoCheck, SetOutOfBandInline, SetReceiveBuffer, SetReuseAddress, SetReusePort, SetSendBuffer, SetTimestamp, Shutdown } +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface { AddIpMembership, AddIpv6Membership, Bind, Clone2, Close, Connect, Describe, Disconnect, DropIpMembership, DropIpv6Membership, GetAcceptConn, GetBindToDevice, GetBroadcast, GetError, GetInfo, GetIpMulticastInterface, GetIpMulticastLoopback, GetIpMulticastTtl, GetIpPacketInfo, GetIpReceiveOriginalDestinationAddress, GetIpReceiveTtl, GetIpReceiveTypeOfService, GetIpTransparent, GetIpTtl, GetIpTypeOfService, GetIpv6MulticastHops, GetIpv6MulticastInterface, GetIpv6MulticastLoopback, GetIpv6Only, GetIpv6ReceiveHopLimit, GetIpv6ReceivePacketInfo, GetIpv6ReceiveTrafficClass, GetIpv6TrafficClass, GetIpv6UnicastHops, GetKeepAlive, GetLinger, GetNoCheck, GetOriginalDestination, GetOutOfBandInline, GetPeerName, GetReceiveBuffer, GetReuseAddress, GetReusePort, GetSendBuffer, GetSockName, GetTimestamp, Query, RecvMsg, SendMsg, SetBindToDevice, SetBroadcast, SetIpMulticastInterface, SetIpMulticastLoopback, SetIpMulticastTtl, SetIpPacketInfo, SetIpReceiveOriginalDestinationAddress, SetIpReceiveTtl, SetIpReceiveTypeOfService, SetIpTransparent, SetIpTtl, SetIpTypeOfService, SetIpv6MulticastHops, SetIpv6MulticastInterface, SetIpv6MulticastLoopback, SetIpv6Only, SetIpv6ReceiveHopLimit, SetIpv6ReceivePacketInfo, SetIpv6ReceiveTrafficClass, SetIpv6TrafficClass, SetIpv6UnicastHops, SetKeepAlive, SetLinger, SetNoCheck, SetOutOfBandInline, SetReceiveBuffer, SetReuseAddress, SetReusePort, SetSendBuffer, SetTimestamp, Shutdown } pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, AddIpMembership(context.Context, IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, AddIpv6Membership(context.Context, Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, Bind(context.Context, net.SocketAddress) (BaseNetworkSocketBindResult, error) @@ -9354,8 +10702,10 @@ pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetIpMulticastLoopback(context.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetIpMulticastTtl(context.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetIpPacketInfo(context.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetIpReceiveOriginalDestinationAddress(context.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetIpReceiveTtl(context.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetIpReceiveTypeOfService(context.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetIpTransparent(context.Context) (BaseNetworkSocketGetIpTransparentResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetIpTtl(context.Context) (BaseNetworkSocketGetIpTtlResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetIpTypeOfService(context.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetIpv6MulticastHops(context.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) @@ -9370,6 +10720,7 @@ pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetKeepAlive(context.Context) (BaseSocketGetKeepAliveResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetLinger(context.Context) (BaseSocketGetLingerResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetNoCheck(context.Context) (BaseSocketGetNoCheckResult, error) +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetOriginalDestination(context.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetOutOfBandInline(context.Context) (BaseSocketGetOutOfBandInlineResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetPeerName(context.Context) (BaseNetworkSocketGetPeerNameResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, GetReceiveBuffer(context.Context) (BaseSocketGetReceiveBufferResult, error) @@ -9387,8 +10738,10 @@ pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, SetIpMulticastLoopback(context.Context, bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, SetIpMulticastTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, SetIpPacketInfo(context.Context, bool) (BaseNetworkSocketSetIpPacketInfoResult, error) +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, SetIpReceiveOriginalDestinationAddress(context.Context, bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, SetIpReceiveTtl(context.Context, bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, SetIpReceiveTypeOfService(context.Context, bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) +pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, SetIpTransparent(context.Context, bool) (BaseNetworkSocketSetIpTransparentResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, SetIpTtl(context.Context, OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, SetIpTypeOfService(context.Context, uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) pkg syscall/zx/posix/socket, type SynchronousDatagramSocketWithCtx interface, SetIpv6MulticastHops(context.Context, OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) @@ -9458,6 +10811,7 @@ pkg syscall/zx/unknown, func NewCloneableWithCtxInterfaceRequest() (CloneableWithCtxInterfaceRequest, *CloneableWithCtxInterface, error) pkg syscall/zx/unknown, func NewCloseableWithCtxInterfaceRequest() (CloseableWithCtxInterfaceRequest, *CloseableWithCtxInterface, error) pkg syscall/zx/unknown, func NewQueryableWithCtxInterfaceRequest() (QueryableWithCtxInterfaceRequest, *QueryableWithCtxInterface, error) +pkg syscall/zx/unknown, method (*CloneableClone2Request) Marshaler() fidl.Marshaler pkg syscall/zx/unknown, method (*CloneableEventProxy) Handle() *zx.Handle pkg syscall/zx/unknown, method (*CloneableWithCtxInterface) Clone2(context.Context, CloneableWithCtxInterfaceRequest) error pkg syscall/zx/unknown, method (*CloneableWithCtxInterface) Handle() *zx.Handle @@ -9475,10 +10829,13 @@ pkg syscall/zx/unknown, method (*CloseableWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/unknown, method (*CloseableWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) pkg syscall/zx/unknown, method (*QueryableEventProxy) Handle() *zx.Handle +pkg syscall/zx/unknown, method (*QueryableQueryResponse) Marshaler() fidl.Marshaler pkg syscall/zx/unknown, method (*QueryableWithCtxInterface) Handle() *zx.Handle pkg syscall/zx/unknown, method (*QueryableWithCtxInterface) Query(context.Context) ([]uint8, error) pkg syscall/zx/unknown, method (*QueryableWithCtxInterfaceRequest) Handle() *zx.Handle pkg syscall/zx/unknown, method (*QueryableWithCtxStub) Dispatch(fidl.DispatchArgs) (fidl.Message, bool, error) +pkg syscall/zx/unknown, type CloneableClone2Request struct +pkg syscall/zx/unknown, type CloneableClone2Request struct, Request CloneableWithCtxInterfaceRequest pkg syscall/zx/unknown, type CloneableEventProxy struct pkg syscall/zx/unknown, type CloneableEventProxy struct, embedded zx.Channel pkg syscall/zx/unknown, type CloneableWithCtx interface { Clone2 } @@ -9509,6 +10866,8 @@ pkg syscall/zx/unknown, type I_closeableCloseResultTag uint64 pkg syscall/zx/unknown, type QueryableEventProxy struct pkg syscall/zx/unknown, type QueryableEventProxy struct, embedded zx.Channel +pkg syscall/zx/unknown, type QueryableQueryResponse struct +pkg syscall/zx/unknown, type QueryableQueryResponse struct, Protocol []uint8 pkg syscall/zx/unknown, type QueryableWithCtx interface { Query } pkg syscall/zx/unknown, type QueryableWithCtx interface, Query(context.Context) ([]uint8, error) pkg syscall/zx/unknown, type QueryableWithCtxInterface struct
diff --git a/regen-fidl b/regen-fidl index c45b768..a808728 100755 --- a/regen-fidl +++ b/regen-fidl
@@ -45,6 +45,7 @@ declare -r copyright_line=$(git -C ${repo} show HEAD:"${file}" | grep -E "^// Copyright [0-9]+" || \ echo "// Copyright $(date +%Y) The Fuchsia Authors. All rights reserved.") "${FUCHSIA_BUILD_DIR}"/$FIDLC \ + --available fuchsia:HEAD \ --json "${ir_file}" \ "$@" \ --files "${source_dir}"/*.fidl
diff --git a/regen-syscalls b/regen-syscalls index bf8ddfb..98d6e97 100755 --- a/regen-syscalls +++ b/regen-syscalls
@@ -23,6 +23,7 @@ fx ninja -C "$FUCHSIA_BUILD_DIR" "$FIDLC" "$ZITHER" "$FUCHSIA_BUILD_DIR/$FIDLC" \ + --available fuchsia:HEAD \ --experimental zx_c_types \ --json "$ZX_IR" \ --files "$FUCHSIA_DIR/zircon/vdso/"*.fidl
diff --git a/src/cmd/api/main_test.go b/src/cmd/api/main_test.go index 2583913..954d6a1 100644 --- a/src/cmd/api/main_test.go +++ b/src/cmd/api/main_test.go
@@ -957,17 +957,17 @@ if w.isDeprecated(obj) { w.emitf("type %s //deprecated", name) } + typ := obj.Type() + if obj.IsAlias() { + w.emitf("type %s = %s", name, w.typeString(typ)) + return + } if tparams := obj.Type().(*types.Named).TypeParams(); tparams != nil { var buf bytes.Buffer buf.WriteString(name) w.writeTypeParams(&buf, tparams, true) name = buf.String() } - typ := obj.Type() - if obj.IsAlias() { - w.emitf("type %s = %s", name, w.typeString(typ)) - return - } switch typ := typ.Underlying().(type) { case *types.Struct: w.emitStructType(name, typ)
diff --git a/src/runtime/vdso_keys_fuchsia.go b/src/runtime/vdso_keys_fuchsia.go index 5da76a9..b3b9746 100644 --- a/src/runtime/vdso_keys_fuchsia.go +++ b/src/runtime/vdso_keys_fuchsia.go
@@ -75,6 +75,7 @@ {"_zx_interrupt_destroy", 0x2cb5724b, &vdso_zx_interrupt_destroy}, {"_zx_interrupt_trigger", 0x19f00875, &vdso_zx_interrupt_trigger}, {"_zx_interrupt_wait", 0xa266f916, &vdso_zx_interrupt_wait}, + {"_zx_iob_create", 0x67922a42, &vdso_zx_iob_create}, {"_zx_iommu_create", 0x297b6af, &vdso_zx_iommu_create}, {"_zx_ioports_release", 0xb88e6f05, &vdso_zx_ioports_release}, {"_zx_ioports_request", 0xb8f1c0ad, &vdso_zx_ioports_request}, @@ -131,9 +132,10 @@ {"_zx_process_write_memory", 0x18162116, &vdso_zx_process_write_memory}, {"_zx_profile_create", 0x28e1bf39, &vdso_zx_profile_create}, {"_zx_resource_create", 0x22a0d150, &vdso_zx_resource_create}, + {"_zx_restricted_bind_state", 0xbbb9b84a, &vdso_zx_restricted_bind_state}, {"_zx_restricted_enter", 0x3dfea9eb, &vdso_zx_restricted_enter}, - {"_zx_restricted_read_state", 0x2b1936e9, &vdso_zx_restricted_read_state}, - {"_zx_restricted_write_state", 0x64c81738, &vdso_zx_restricted_write_state}, + {"_zx_restricted_kick", 0x9a6112f, &vdso_zx_restricted_kick}, + {"_zx_restricted_unbind_state", 0x9531ecd, &vdso_zx_restricted_unbind_state}, {"_zx_smc_call", 0x63f0533, &vdso_zx_smc_call}, {"_zx_socket_create", 0xf536e851, &vdso_zx_socket_create}, {"_zx_socket_read", 0xb5443cd9, &vdso_zx_socket_read}, @@ -173,6 +175,7 @@ {"_zx_system_mexec_payload_get", 0x34bd22b3, &vdso_zx_system_mexec_payload_get}, {"_zx_system_powerctl", 0x43f6ae09, &vdso_zx_system_powerctl}, {"_zx_system_set_performance_info", 0x17cc1da1, &vdso_zx_system_set_performance_info}, + {"_zx_system_suspend_enter", 0xa51213b8, &vdso_zx_system_suspend_enter}, {"_zx_task_create_exception_channel", 0x5318f181, &vdso_zx_task_create_exception_channel}, {"_zx_task_kill", 0x1ae4e313, &vdso_zx_task_kill}, {"_zx_task_suspend", 0xe13ad509, &vdso_zx_task_suspend}, @@ -198,6 +201,7 @@ {"_zx_vmar_allocate", 0x4cac85ef, &vdso_zx_vmar_allocate}, {"_zx_vmar_destroy", 0xc2294134, &vdso_zx_vmar_destroy}, {"_zx_vmar_map", 0xc7b00448, &vdso_zx_vmar_map}, + {"_zx_vmar_map_iob", 0x6d5ecda1, &vdso_zx_vmar_map_iob}, {"_zx_vmar_op_range", 0x4e117375, &vdso_zx_vmar_op_range}, {"_zx_vmar_protect", 0x7bee8f8b, &vdso_zx_vmar_protect}, {"_zx_vmar_unmap", 0x745a1b6b, &vdso_zx_vmar_unmap}, @@ -274,6 +278,7 @@ //go:cgo_import_dynamic vdso_zx_interrupt_destroy zx_interrupt_destroy //go:cgo_import_dynamic vdso_zx_interrupt_trigger zx_interrupt_trigger //go:cgo_import_dynamic vdso_zx_interrupt_wait zx_interrupt_wait +//go:cgo_import_dynamic vdso_zx_iob_create zx_iob_create //go:cgo_import_dynamic vdso_zx_iommu_create zx_iommu_create //go:cgo_import_dynamic vdso_zx_ioports_release zx_ioports_release //go:cgo_import_dynamic vdso_zx_ioports_request zx_ioports_request @@ -330,9 +335,10 @@ //go:cgo_import_dynamic vdso_zx_process_write_memory zx_process_write_memory //go:cgo_import_dynamic vdso_zx_profile_create zx_profile_create //go:cgo_import_dynamic vdso_zx_resource_create zx_resource_create +//go:cgo_import_dynamic vdso_zx_restricted_bind_state zx_restricted_bind_state //go:cgo_import_dynamic vdso_zx_restricted_enter zx_restricted_enter -//go:cgo_import_dynamic vdso_zx_restricted_read_state zx_restricted_read_state -//go:cgo_import_dynamic vdso_zx_restricted_write_state zx_restricted_write_state +//go:cgo_import_dynamic vdso_zx_restricted_kick zx_restricted_kick +//go:cgo_import_dynamic vdso_zx_restricted_unbind_state zx_restricted_unbind_state //go:cgo_import_dynamic vdso_zx_smc_call zx_smc_call //go:cgo_import_dynamic vdso_zx_socket_create zx_socket_create //go:cgo_import_dynamic vdso_zx_socket_read zx_socket_read @@ -372,6 +378,7 @@ //go:cgo_import_dynamic vdso_zx_system_mexec_payload_get zx_system_mexec_payload_get //go:cgo_import_dynamic vdso_zx_system_powerctl zx_system_powerctl //go:cgo_import_dynamic vdso_zx_system_set_performance_info zx_system_set_performance_info +//go:cgo_import_dynamic vdso_zx_system_suspend_enter zx_system_suspend_enter //go:cgo_import_dynamic vdso_zx_task_create_exception_channel zx_task_create_exception_channel //go:cgo_import_dynamic vdso_zx_task_kill zx_task_kill //go:cgo_import_dynamic vdso_zx_task_suspend zx_task_suspend @@ -397,6 +404,7 @@ //go:cgo_import_dynamic vdso_zx_vmar_allocate zx_vmar_allocate //go:cgo_import_dynamic vdso_zx_vmar_destroy zx_vmar_destroy //go:cgo_import_dynamic vdso_zx_vmar_map zx_vmar_map +//go:cgo_import_dynamic vdso_zx_vmar_map_iob zx_vmar_map_iob //go:cgo_import_dynamic vdso_zx_vmar_op_range zx_vmar_op_range //go:cgo_import_dynamic vdso_zx_vmar_protect zx_vmar_protect //go:cgo_import_dynamic vdso_zx_vmar_unmap zx_vmar_unmap @@ -472,6 +480,7 @@ //go:linkname vdso_zx_interrupt_destroy vdso_zx_interrupt_destroy //go:linkname vdso_zx_interrupt_trigger vdso_zx_interrupt_trigger //go:linkname vdso_zx_interrupt_wait vdso_zx_interrupt_wait +//go:linkname vdso_zx_iob_create vdso_zx_iob_create //go:linkname vdso_zx_iommu_create vdso_zx_iommu_create //go:linkname vdso_zx_ioports_release vdso_zx_ioports_release //go:linkname vdso_zx_ioports_request vdso_zx_ioports_request @@ -528,9 +537,10 @@ //go:linkname vdso_zx_process_write_memory vdso_zx_process_write_memory //go:linkname vdso_zx_profile_create vdso_zx_profile_create //go:linkname vdso_zx_resource_create vdso_zx_resource_create +//go:linkname vdso_zx_restricted_bind_state vdso_zx_restricted_bind_state //go:linkname vdso_zx_restricted_enter vdso_zx_restricted_enter -//go:linkname vdso_zx_restricted_read_state vdso_zx_restricted_read_state -//go:linkname vdso_zx_restricted_write_state vdso_zx_restricted_write_state +//go:linkname vdso_zx_restricted_kick vdso_zx_restricted_kick +//go:linkname vdso_zx_restricted_unbind_state vdso_zx_restricted_unbind_state //go:linkname vdso_zx_smc_call vdso_zx_smc_call //go:linkname vdso_zx_socket_create vdso_zx_socket_create //go:linkname vdso_zx_socket_read vdso_zx_socket_read @@ -570,6 +580,7 @@ //go:linkname vdso_zx_system_mexec_payload_get vdso_zx_system_mexec_payload_get //go:linkname vdso_zx_system_powerctl vdso_zx_system_powerctl //go:linkname vdso_zx_system_set_performance_info vdso_zx_system_set_performance_info +//go:linkname vdso_zx_system_suspend_enter vdso_zx_system_suspend_enter //go:linkname vdso_zx_task_create_exception_channel vdso_zx_task_create_exception_channel //go:linkname vdso_zx_task_kill vdso_zx_task_kill //go:linkname vdso_zx_task_suspend vdso_zx_task_suspend @@ -595,6 +606,7 @@ //go:linkname vdso_zx_vmar_allocate vdso_zx_vmar_allocate //go:linkname vdso_zx_vmar_destroy vdso_zx_vmar_destroy //go:linkname vdso_zx_vmar_map vdso_zx_vmar_map +//go:linkname vdso_zx_vmar_map_iob vdso_zx_vmar_map_iob //go:linkname vdso_zx_vmar_op_range vdso_zx_vmar_op_range //go:linkname vdso_zx_vmar_protect vdso_zx_vmar_protect //go:linkname vdso_zx_vmar_unmap vdso_zx_vmar_unmap @@ -849,6 +861,10 @@ //go:noescape //go:nosplit +func vdsoCall_zx_iob_create(options uint64, regions unsafe.Pointer, num_regions uint, ep0_out unsafe.Pointer, ep1_out unsafe.Pointer) int32 + +//go:noescape +//go:nosplit func vdsoCall_zx_iommu_create(resource uint32, typ uint32, desc unsafe.Pointer, desc_size uint, out unsafe.Pointer) int32 //go:noescape @@ -1073,15 +1089,19 @@ //go:noescape //go:nosplit +func vdsoCall_zx_restricted_bind_state(options uint32, out unsafe.Pointer) int32 + +//go:noescape +//go:nosplit func vdsoCall_zx_restricted_enter(options uint32, vector_table_ptr uintptr, context uintptr) int32 //go:noescape //go:nosplit -func vdsoCall_zx_restricted_read_state(buffer unsafe.Pointer, buffer_size uint) int32 +func vdsoCall_zx_restricted_kick(thread uint32, options uint32) int32 //go:noescape //go:nosplit -func vdsoCall_zx_restricted_write_state(buffer unsafe.Pointer, buffer_size uint) int32 +func vdsoCall_zx_restricted_unbind_state(options uint32) int32 //go:noescape //go:nosplit @@ -1241,6 +1261,10 @@ //go:noescape //go:nosplit +func vdsoCall_zx_system_suspend_enter(resource uint32, resume_deadline int64) int32 + +//go:noescape +//go:nosplit func vdsoCall_zx_task_create_exception_channel(handle uint32, options uint32, out unsafe.Pointer) int32 //go:noescape @@ -1341,6 +1365,10 @@ //go:noescape //go:nosplit +func vdsoCall_zx_vmar_map_iob(handle uint32, options uint32, vmar_offset uint, ep uint32, region_index uint32, region_offset uint64, region_length uint, mapped_addr unsafe.Pointer) int32 + +//go:noescape +//go:nosplit func vdsoCall_zx_vmar_op_range(handle uint32, op uint32, address uintptr, size uint, buffer unsafe.Pointer, buffer_size uint) int32 //go:noescape @@ -1459,6 +1487,7 @@ vdso_zx_interrupt_destroy uintptr vdso_zx_interrupt_trigger uintptr vdso_zx_interrupt_wait uintptr + vdso_zx_iob_create uintptr vdso_zx_iommu_create uintptr vdso_zx_ioports_release uintptr vdso_zx_ioports_request uintptr @@ -1515,9 +1544,10 @@ vdso_zx_process_write_memory uintptr vdso_zx_profile_create uintptr vdso_zx_resource_create uintptr + vdso_zx_restricted_bind_state uintptr vdso_zx_restricted_enter uintptr - vdso_zx_restricted_read_state uintptr - vdso_zx_restricted_write_state uintptr + vdso_zx_restricted_kick uintptr + vdso_zx_restricted_unbind_state uintptr vdso_zx_smc_call uintptr vdso_zx_socket_create uintptr vdso_zx_socket_read uintptr @@ -1557,6 +1587,7 @@ vdso_zx_system_mexec_payload_get uintptr vdso_zx_system_powerctl uintptr vdso_zx_system_set_performance_info uintptr + vdso_zx_system_suspend_enter uintptr vdso_zx_task_create_exception_channel uintptr vdso_zx_task_kill uintptr vdso_zx_task_suspend uintptr @@ -1582,6 +1613,7 @@ vdso_zx_vmar_allocate uintptr vdso_zx_vmar_destroy uintptr vdso_zx_vmar_map uintptr + vdso_zx_vmar_map_iob uintptr vdso_zx_vmar_op_range uintptr vdso_zx_vmar_protect uintptr vdso_zx_vmar_unmap uintptr
diff --git a/src/runtime/vdsocalls_fuchsia_amd64.s b/src/runtime/vdsocalls_fuchsia_amd64.s index 9d32182..6459d14 100644 --- a/src/runtime/vdsocalls_fuchsia_amd64.s +++ b/src/runtime/vdsocalls_fuchsia_amd64.s
@@ -1373,6 +1373,30 @@ MOVQ $0, m_vdsoSP(R14) RET +// func vdsoCall_zx_iob_create(options uint64, regions unsafe.Pointer, num_regions uint, ep0_out unsafe.Pointer, ep1_out unsafe.Pointer) int32 +TEXT runtime·vdsoCall_zx_iob_create(SB),NOSPLIT,$8-44 + GO_ARGS + NO_LOCAL_POINTERS + get_tls(CX) + MOVQ g(CX), AX + MOVQ g_m(AX), R14 + PUSHQ R14 + LEAQ ret+0(FP), DX + MOVQ -8(DX), CX + MOVQ CX, m_vdsoPC(R14) + MOVQ DX, m_vdsoSP(R14) + MOVQ options+0(FP), DI + MOVQ regions+8(FP), SI + MOVQ num_regions+16(FP), DX + MOVQ ep0_out+24(FP), CX + MOVQ ep1_out+32(FP), R8 + MOVQ vdso_zx_iob_create(SB), AX + CALL AX + MOVL AX, ret+40(FP) + POPQ R14 + MOVQ $0, m_vdsoSP(R14) + RET + // func vdsoCall_zx_iommu_create(resource uint32, typ uint32, desc unsafe.Pointer, desc_size uint, out unsafe.Pointer) int32 TEXT runtime·vdsoCall_zx_iommu_create(SB),NOSPLIT,$8-36 GO_ARGS @@ -2684,6 +2708,27 @@ MOVQ $0, m_vdsoSP(R14) RET +// func vdsoCall_zx_restricted_bind_state(options uint32, out unsafe.Pointer) int32 +TEXT runtime·vdsoCall_zx_restricted_bind_state(SB),NOSPLIT,$8-20 + GO_ARGS + NO_LOCAL_POINTERS + get_tls(CX) + MOVQ g(CX), AX + MOVQ g_m(AX), R14 + PUSHQ R14 + LEAQ ret+0(FP), DX + MOVQ -8(DX), CX + MOVQ CX, m_vdsoPC(R14) + MOVQ DX, m_vdsoSP(R14) + MOVL options+0(FP), DI + MOVQ out+8(FP), SI + MOVQ vdso_zx_restricted_bind_state(SB), AX + CALL AX + MOVL AX, ret+16(FP) + POPQ R14 + MOVQ $0, m_vdsoSP(R14) + RET + // func vdsoCall_zx_restricted_enter(options uint32, vector_table_ptr uintptr, context uintptr) int32 TEXT runtime·vdsoCall_zx_restricted_enter(SB),NOSPLIT,$8-28 GO_ARGS @@ -2696,18 +2741,20 @@ MOVQ -8(DX), CX MOVQ CX, m_vdsoPC(R14) MOVQ DX, m_vdsoSP(R14) + CALL runtime·entersyscall(SB) MOVL options+0(FP), DI MOVQ vector_table_ptr+8(FP), SI MOVQ context+16(FP), DX MOVQ vdso_zx_restricted_enter(SB), AX CALL AX MOVL AX, ret+24(FP) + CALL runtime·exitsyscall(SB) POPQ R14 MOVQ $0, m_vdsoSP(R14) RET -// func vdsoCall_zx_restricted_read_state(buffer unsafe.Pointer, buffer_size uint) int32 -TEXT runtime·vdsoCall_zx_restricted_read_state(SB),NOSPLIT,$8-20 +// func vdsoCall_zx_restricted_kick(thread uint32, options uint32) int32 +TEXT runtime·vdsoCall_zx_restricted_kick(SB),NOSPLIT,$8-12 GO_ARGS NO_LOCAL_POINTERS get_tls(CX) @@ -2718,17 +2765,17 @@ MOVQ -8(DX), CX MOVQ CX, m_vdsoPC(R14) MOVQ DX, m_vdsoSP(R14) - MOVQ buffer+0(FP), DI - MOVQ buffer_size+8(FP), SI - MOVQ vdso_zx_restricted_read_state(SB), AX + MOVL thread+0(FP), DI + MOVL options+4(FP), SI + MOVQ vdso_zx_restricted_kick(SB), AX CALL AX - MOVL AX, ret+16(FP) + MOVL AX, ret+8(FP) POPQ R14 MOVQ $0, m_vdsoSP(R14) RET -// func vdsoCall_zx_restricted_write_state(buffer unsafe.Pointer, buffer_size uint) int32 -TEXT runtime·vdsoCall_zx_restricted_write_state(SB),NOSPLIT,$8-20 +// func vdsoCall_zx_restricted_unbind_state(options uint32) int32 +TEXT runtime·vdsoCall_zx_restricted_unbind_state(SB),NOSPLIT,$8-12 GO_ARGS NO_LOCAL_POINTERS get_tls(CX) @@ -2739,11 +2786,10 @@ MOVQ -8(DX), CX MOVQ CX, m_vdsoPC(R14) MOVQ DX, m_vdsoSP(R14) - MOVQ buffer+0(FP), DI - MOVQ buffer_size+8(FP), SI - MOVQ vdso_zx_restricted_write_state(SB), AX + MOVL options+0(FP), DI + MOVQ vdso_zx_restricted_unbind_state(SB), AX CALL AX - MOVL AX, ret+16(FP) + MOVL AX, ret+8(FP) POPQ R14 MOVQ $0, m_vdsoSP(R14) RET @@ -3639,6 +3685,27 @@ MOVQ $0, m_vdsoSP(R14) RET +// func vdsoCall_zx_system_suspend_enter(resource uint32, resume_deadline int64) int32 +TEXT runtime·vdsoCall_zx_system_suspend_enter(SB),NOSPLIT,$8-20 + GO_ARGS + NO_LOCAL_POINTERS + get_tls(CX) + MOVQ g(CX), AX + MOVQ g_m(AX), R14 + PUSHQ R14 + LEAQ ret+0(FP), DX + MOVQ -8(DX), CX + MOVQ CX, m_vdsoPC(R14) + MOVQ DX, m_vdsoSP(R14) + MOVL resource+0(FP), DI + MOVQ resume_deadline+8(FP), SI + MOVQ vdso_zx_system_suspend_enter(SB), AX + CALL AX + MOVL AX, ret+16(FP) + POPQ R14 + MOVQ $0, m_vdsoSP(R14) + RET + // func vdsoCall_zx_task_create_exception_channel(handle uint32, options uint32, out unsafe.Pointer) int32 TEXT runtime·vdsoCall_zx_task_create_exception_channel(SB),NOSPLIT,$8-20 GO_ARGS @@ -4185,6 +4252,40 @@ MOVQ $0, m_vdsoSP(R14) RET +// func vdsoCall_zx_vmar_map_iob(handle uint32, options uint32, vmar_offset uint, ep uint32, region_index uint32, region_offset uint64, region_length uint, mapped_addr unsafe.Pointer) int32 +TEXT runtime·vdsoCall_zx_vmar_map_iob(SB),NOSPLIT,$40-52 + GO_ARGS + NO_LOCAL_POINTERS + get_tls(CX) + MOVQ g(CX), AX + MOVQ g_m(AX), R14 + PUSHQ R14 + LEAQ ret+0(FP), DX + MOVQ -8(DX), CX + MOVQ CX, m_vdsoPC(R14) + MOVQ DX, m_vdsoSP(R14) + MOVL handle+0(FP), DI + MOVL options+4(FP), SI + MOVQ vmar_offset+8(FP), DX + MOVL ep+16(FP), CX + MOVL region_index+20(FP), R8 + MOVQ region_offset+24(FP), R9 + MOVQ region_length+32(FP), R12 + MOVQ mapped_addr+40(FP), R13 + MOVQ SP, BP // BP is preserved across vsdo call by the x86-64 ABI + ANDQ $~15, SP // stack alignment for x86-64 ABI + PUSHQ R13 + PUSHQ R12 + MOVQ vdso_zx_vmar_map_iob(SB), AX + CALL AX + POPQ R12 + POPQ R13 + MOVQ BP, SP + MOVL AX, ret+48(FP) + POPQ R14 + MOVQ $0, m_vdsoSP(R14) + RET + // func vdsoCall_zx_vmar_op_range(handle uint32, op uint32, address uintptr, size uint, buffer unsafe.Pointer, buffer_size uint) int32 TEXT runtime·vdsoCall_zx_vmar_op_range(SB),NOSPLIT,$8-44 GO_ARGS
diff --git a/src/runtime/vdsocalls_fuchsia_arm64.s b/src/runtime/vdsocalls_fuchsia_arm64.s index 3d5d047..4dabb2f 100644 --- a/src/runtime/vdsocalls_fuchsia_arm64.s +++ b/src/runtime/vdsocalls_fuchsia_arm64.s
@@ -1111,6 +1111,26 @@ MOVD $0, m_vdsoSP(R21) RET +// func vdsoCall_zx_iob_create(options uint64, regions unsafe.Pointer, num_regions uint, ep0_out unsafe.Pointer, ep1_out unsafe.Pointer) int32 +TEXT runtime·vdsoCall_zx_iob_create(SB),NOSPLIT,$0-44 + GO_ARGS + NO_LOCAL_POINTERS + MOVD g_m(g), R21 + MOVD LR, m_vdsoPC(R21) + DMB $0xe + MOVD $ret-8(FP), R20 // caller's SP + MOVD R20, m_vdsoSP(R21) + MOVD options+0(FP), R0 + MOVD regions+8(FP), R1 + MOVD num_regions+16(FP), R2 + MOVD ep0_out+24(FP), R3 + MOVD ep1_out+32(FP), R4 + BL vdso_zx_iob_create(SB) + MOVW R0, ret+40(FP) + MOVD g_m(g), R21 + MOVD $0, m_vdsoSP(R21) + RET + // func vdsoCall_zx_iommu_create(resource uint32, typ uint32, desc unsafe.Pointer, desc_size uint, out unsafe.Pointer) int32 TEXT runtime·vdsoCall_zx_iommu_create(SB),NOSPLIT,$0-36 GO_ARGS @@ -2179,6 +2199,23 @@ MOVD $0, m_vdsoSP(R21) RET +// func vdsoCall_zx_restricted_bind_state(options uint32, out unsafe.Pointer) int32 +TEXT runtime·vdsoCall_zx_restricted_bind_state(SB),NOSPLIT,$0-20 + GO_ARGS + NO_LOCAL_POINTERS + MOVD g_m(g), R21 + MOVD LR, m_vdsoPC(R21) + DMB $0xe + MOVD $ret-8(FP), R20 // caller's SP + MOVD R20, m_vdsoSP(R21) + MOVW options+0(FP), R0 + MOVD out+8(FP), R1 + BL vdso_zx_restricted_bind_state(SB) + MOVW R0, ret+16(FP) + MOVD g_m(g), R21 + MOVD $0, m_vdsoSP(R21) + RET + // func vdsoCall_zx_restricted_enter(options uint32, vector_table_ptr uintptr, context uintptr) int32 TEXT runtime·vdsoCall_zx_restricted_enter(SB),NOSPLIT,$0-28 GO_ARGS @@ -2188,17 +2225,19 @@ DMB $0xe MOVD $ret-8(FP), R20 // caller's SP MOVD R20, m_vdsoSP(R21) + CALL runtime·entersyscall(SB) MOVW options+0(FP), R0 MOVD vector_table_ptr+8(FP), R1 MOVD context+16(FP), R2 BL vdso_zx_restricted_enter(SB) MOVW R0, ret+24(FP) + BL runtime·exitsyscall(SB) MOVD g_m(g), R21 MOVD $0, m_vdsoSP(R21) RET -// func vdsoCall_zx_restricted_read_state(buffer unsafe.Pointer, buffer_size uint) int32 -TEXT runtime·vdsoCall_zx_restricted_read_state(SB),NOSPLIT,$0-20 +// func vdsoCall_zx_restricted_kick(thread uint32, options uint32) int32 +TEXT runtime·vdsoCall_zx_restricted_kick(SB),NOSPLIT,$0-12 GO_ARGS NO_LOCAL_POINTERS MOVD g_m(g), R21 @@ -2206,16 +2245,16 @@ DMB $0xe MOVD $ret-8(FP), R20 // caller's SP MOVD R20, m_vdsoSP(R21) - MOVD buffer+0(FP), R0 - MOVD buffer_size+8(FP), R1 - BL vdso_zx_restricted_read_state(SB) - MOVW R0, ret+16(FP) + MOVW thread+0(FP), R0 + MOVW options+4(FP), R1 + BL vdso_zx_restricted_kick(SB) + MOVW R0, ret+8(FP) MOVD g_m(g), R21 MOVD $0, m_vdsoSP(R21) RET -// func vdsoCall_zx_restricted_write_state(buffer unsafe.Pointer, buffer_size uint) int32 -TEXT runtime·vdsoCall_zx_restricted_write_state(SB),NOSPLIT,$0-20 +// func vdsoCall_zx_restricted_unbind_state(options uint32) int32 +TEXT runtime·vdsoCall_zx_restricted_unbind_state(SB),NOSPLIT,$0-12 GO_ARGS NO_LOCAL_POINTERS MOVD g_m(g), R21 @@ -2223,10 +2262,9 @@ DMB $0xe MOVD $ret-8(FP), R20 // caller's SP MOVD R20, m_vdsoSP(R21) - MOVD buffer+0(FP), R0 - MOVD buffer_size+8(FP), R1 - BL vdso_zx_restricted_write_state(SB) - MOVW R0, ret+16(FP) + MOVW options+0(FP), R0 + BL vdso_zx_restricted_unbind_state(SB) + MOVW R0, ret+8(FP) MOVD g_m(g), R21 MOVD $0, m_vdsoSP(R21) RET @@ -2954,6 +2992,23 @@ MOVD $0, m_vdsoSP(R21) RET +// func vdsoCall_zx_system_suspend_enter(resource uint32, resume_deadline int64) int32 +TEXT runtime·vdsoCall_zx_system_suspend_enter(SB),NOSPLIT,$0-20 + GO_ARGS + NO_LOCAL_POINTERS + MOVD g_m(g), R21 + MOVD LR, m_vdsoPC(R21) + DMB $0xe + MOVD $ret-8(FP), R20 // caller's SP + MOVD R20, m_vdsoSP(R21) + MOVW resource+0(FP), R0 + MOVD resume_deadline+8(FP), R1 + BL vdso_zx_system_suspend_enter(SB) + MOVW R0, ret+16(FP) + MOVD g_m(g), R21 + MOVD $0, m_vdsoSP(R21) + RET + // func vdsoCall_zx_task_create_exception_channel(handle uint32, options uint32, out unsafe.Pointer) int32 TEXT runtime·vdsoCall_zx_task_create_exception_channel(SB),NOSPLIT,$0-20 GO_ARGS @@ -3395,6 +3450,29 @@ MOVD $0, m_vdsoSP(R21) RET +// func vdsoCall_zx_vmar_map_iob(handle uint32, options uint32, vmar_offset uint, ep uint32, region_index uint32, region_offset uint64, region_length uint, mapped_addr unsafe.Pointer) int32 +TEXT runtime·vdsoCall_zx_vmar_map_iob(SB),NOSPLIT,$0-52 + GO_ARGS + NO_LOCAL_POINTERS + MOVD g_m(g), R21 + MOVD LR, m_vdsoPC(R21) + DMB $0xe + MOVD $ret-8(FP), R20 // caller's SP + MOVD R20, m_vdsoSP(R21) + MOVW handle+0(FP), R0 + MOVW options+4(FP), R1 + MOVD vmar_offset+8(FP), R2 + MOVW ep+16(FP), R3 + MOVW region_index+20(FP), R4 + MOVD region_offset+24(FP), R5 + MOVD region_length+32(FP), R6 + MOVD mapped_addr+40(FP), R7 + BL vdso_zx_vmar_map_iob(SB) + MOVW R0, ret+48(FP) + MOVD g_m(g), R21 + MOVD $0, m_vdsoSP(R21) + RET + // func vdsoCall_zx_vmar_op_range(handle uint32, op uint32, address uintptr, size uint, buffer unsafe.Pointer, buffer_size uint) int32 TEXT runtime·vdsoCall_zx_vmar_op_range(SB),NOSPLIT,$0-44 GO_ARGS
diff --git a/src/syscall/zx/diagnostics/impl.go b/src/syscall/zx/diagnostics/impl.go index 72d2543..ac72f6f 100644 --- a/src/syscall/zx/diagnostics/impl.go +++ b/src/syscall/zx/diagnostics/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package diagnostics import ( @@ -88,12 +86,17 @@ // Dump read results per the Iquery text specifications. FormatText Format = 2 + + // Dump read results per the Diagnostics CBOR + // Schema specifications. + FormatCbor Format = 3 ) func (_ Format) I_EnumValues() []Format { return []Format{ FormatJson, FormatText, + FormatCbor, } } @@ -107,6 +110,8 @@ return false case 2: return false + case 3: + return false } return true } @@ -117,6 +122,8 @@ return "Json" case 2: return "Text" + case 3: + return "Cbor" } return "Unknown" } @@ -291,6 +298,18 @@ return "Unknown" } +type ArchiveAccessorStreamDiagnosticsRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + StreamParameters StreamParameters `fidl_offset_v2:"0"` + ResultStream BatchIteratorWithCtxInterfaceRequest `fidl_offset_v2:"16" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mArchiveAccessorStreamDiagnosticsRequest = _bindings.CreateLazyMarshaler(ArchiveAccessorStreamDiagnosticsRequest{}) + +func (msg *ArchiveAccessorStreamDiagnosticsRequest) Marshaler() _bindings.Marshaler { + return _mArchiveAccessorStreamDiagnosticsRequest +} + type BatchIteratorGetNextResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` Batch []FormattedContent `fidl_offset_v2:"0" fidl_bounds:"64"` @@ -317,6 +336,28 @@ return _mLogInterestSelector } +type LogSettingsRegisterInterestRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Selectors []LogInterestSelector `fidl_offset_v2:"0" fidl_bounds:"64"` +} + +var _mLogSettingsRegisterInterestRequest = _bindings.CreateLazyMarshaler(LogSettingsRegisterInterestRequest{}) + +func (msg *LogSettingsRegisterInterestRequest) Marshaler() _bindings.Marshaler { + return _mLogSettingsRegisterInterestRequest +} + +type LogSettingsSetInterestRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Selectors []LogInterestSelector `fidl_offset_v2:"0" fidl_bounds:"64"` +} + +var _mLogSettingsSetInterestRequest = _bindings.CreateLazyMarshaler(LogSettingsSetInterestRequest{}) + +func (msg *LogSettingsSetInterestRequest) Marshaler() _bindings.Marshaler { + return _mLogSettingsSetInterestRequest +} + // A selector defining a set of nodes to match, and on those matched nodes a set of named // properties to match. type PropertySelector struct { @@ -373,40 +414,6 @@ return _mSubtreeSelector } -type archiveAccessorWithCtxStreamDiagnosticsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - StreamParameters StreamParameters `fidl_offset_v2:"0"` - ResultStream BatchIteratorWithCtxInterfaceRequest `fidl_offset_v2:"16" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _marchiveAccessorWithCtxStreamDiagnosticsRequest = _bindings.CreateLazyMarshaler(archiveAccessorWithCtxStreamDiagnosticsRequest{}) - -func (msg *archiveAccessorWithCtxStreamDiagnosticsRequest) Marshaler() _bindings.Marshaler { - return _marchiveAccessorWithCtxStreamDiagnosticsRequest -} - -type batchIteratorWithCtxGetNextResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BatchIteratorGetNextResult `fidl_offset_v2:"0"` -} - -var _mbatchIteratorWithCtxGetNextResponse = _bindings.CreateLazyMarshaler(batchIteratorWithCtxGetNextResponse{}) - -func (msg *batchIteratorWithCtxGetNextResponse) Marshaler() _bindings.Marshaler { - return _mbatchIteratorWithCtxGetNextResponse -} - -type logSettingsWithCtxRegisterInterestRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Selectors []LogInterestSelector `fidl_offset_v2:"0" fidl_bounds:"64"` -} - -var _mlogSettingsWithCtxRegisterInterestRequest = _bindings.CreateLazyMarshaler(logSettingsWithCtxRegisterInterestRequest{}) - -func (msg *logSettingsWithCtxRegisterInterestRequest) Marshaler() _bindings.Marshaler { - return _mlogSettingsWithCtxRegisterInterestRequest -} - type I_batchIteratorGetNextResultTag uint64 const ( @@ -557,6 +564,7 @@ FormattedContent_unknownData = 0 // 0x00000000 FormattedContentJson = 1 // 0x00000001 FormattedContentText = 2 // 0x00000002 + FormattedContentCbor = 3 // 0x00000003 ) // A fidl union containing a complete hierarchy of structured diagnostics @@ -570,6 +578,10 @@ // A diagnostics schema encoded as text. // The VMO will contain up to 1mb of diagnostics data. Text fuchsiamem.Buffer `fidl_ordinal:"2"` + // A diagnostics schema encoded as cbor. + // The VMO will contain up to 1mb of diagnostics data. + // The size will be in ZX_PROP_VMO_CONTENT_SIZE. + Cbor _zx.VMO `fidl_handle_subtype:"3" fidl_handle_rights:"2147483648" fidl_bounds:"0" fidl_ordinal:"3"` } var _mFormattedContent = _bindings.CreateLazyMarshaler(FormattedContent{}) @@ -586,6 +598,9 @@ case 2: var _zeroed fuchsiamem.Buffer _m.Text = _zeroed + case 3: + var _zeroed _zx.VMO + _m.Cbor = _zeroed default: var _zeroed interface{} _m.I_unknownData = _zeroed @@ -598,6 +613,8 @@ return FormattedContentJson case 2: return FormattedContentText + case 3: + return FormattedContentCbor default: return FormattedContent_unknownData } @@ -630,6 +647,18 @@ _u.SetText(text) return _u } + +func (_m *FormattedContent) SetCbor(cbor _zx.VMO) { + _m.reset() + _m.I_formattedContentTag = FormattedContentCbor + _m.Cbor = cbor +} + +func FormattedContentWithCbor(cbor _zx.VMO) FormattedContent { + var _u FormattedContent + _u.SetCbor(cbor) + return _u +} func (_m *FormattedContent) GetUnknownData() _bindings.UnknownData { return _m.I_unknownData.(_bindings.UnknownData) } @@ -904,7 +933,7 @@ return _m.I_unknownData.(_bindings.UnknownData) } -// Specifies a pattern of component relative monikers which +// Specifies a pattern of component monikers which // identify components being selected for. // // Component selectors support wildcarding, which will glob a single "level" of a @@ -1128,10 +1157,10 @@ // Examples: // // Property selection: -// realm1/realm2/echo.cmx:root/active_users:user_count +// realm1/realm2/echo:root/active_users:user_count // // Subtree selection: -// realm1/realm2/echo.cmx:root/active_users +// realm1/realm2/echo:root/active_users type Selector struct { _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` I_unknownData interface{} @@ -1436,7 +1465,7 @@ // - request `stream_parameters` is a [fuchsia.diagnostics/StreamParameter] which // specifies how to configure the stream. func (p *ArchiveAccessorWithCtxInterface) StreamDiagnostics(ctx_ _bindings.Context, streamParameters StreamParameters, resultStream BatchIteratorWithCtxInterfaceRequest) error { - req_ := &archiveAccessorWithCtxStreamDiagnosticsRequest{StreamParameters: streamParameters, ResultStream: resultStream} + req_ := &ArchiveAccessorStreamDiagnosticsRequest{StreamParameters: streamParameters, ResultStream: resultStream} err_ := ((*_bindings.ChannelProxy)(p)).Send(ArchiveAccessorStreamDiagnosticsOrdinal, req_) return err_ } @@ -1489,7 +1518,7 @@ func (s_ *ArchiveAccessorWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case ArchiveAccessorStreamDiagnosticsOrdinal: - in_ := &archiveAccessorWithCtxStreamDiagnosticsRequest{} + in_ := &ArchiveAccessorStreamDiagnosticsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -1536,9 +1565,9 @@ // FormattedDataHierarchies. func (p *BatchIteratorWithCtxInterface) GetNext(ctx_ _bindings.Context) (BatchIteratorGetNextResult, error) { var req_ _bindings.Message - resp_ := &batchIteratorWithCtxGetNextResponse{} + resp_ := &BatchIteratorGetNextResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BatchIteratorGetNextOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Conceptually, a directory iterator, where each element in the iterator is a single @@ -1586,8 +1615,8 @@ func (s_ *BatchIteratorWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case BatchIteratorGetNextOrdinal: - result, err_ := s_.Impl.GetNext(args_.Ctx) - out_ := &batchIteratorWithCtxGetNextResponse{Result: result} + payload, err_ := s_.Impl.GetNext(args_.Ctx) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -1597,50 +1626,59 @@ const ( LogSettingsRegisterInterestOrdinal uint64 = 0x49d7c14eec975fb + LogSettingsSetInterestOrdinal uint64 = 0x71beced9d2411f90 ) type LogSettingsWithCtxInterface _bindings.ChannelProxy +func (p *LogSettingsWithCtxInterface) RegisterInterest(ctx_ _bindings.Context, selectors []LogInterestSelector) error { + req_ := &LogSettingsRegisterInterestRequest{Selectors: selectors} + err_ := ((*_bindings.ChannelProxy)(p)).Send(LogSettingsRegisterInterestOrdinal, req_) + return err_ +} + // Requests a change in interest for the matched components. // // Each component holds a set of requested interests. // -// When a new request on LogSettings#RegisterInterest is received, +// When a new request on LogSettings#SetInterest is received, // the sets for matched components receive the new minimum interest. // If the interest is less than the previous minimum interest, then a -// `RegisterInterest` request is sent with the new minimum interest. +// `SetInterest` request is sent with the new minimum interest. // -// If a connection to `LogSettings` sends another `RegisterInterest` +// If a connection to `LogSettings` sends another `SetInterest` // request, its previous interest request will be undone. // // When the connection to `LogSettings` is finished, the interests are // undone. Each matched component minimum interest is updated with the // new minimum interest in the set. -func (p *LogSettingsWithCtxInterface) RegisterInterest(ctx_ _bindings.Context, selectors []LogInterestSelector) error { - req_ := &logSettingsWithCtxRegisterInterestRequest{Selectors: selectors} - err_ := ((*_bindings.ChannelProxy)(p)).Send(LogSettingsRegisterInterestOrdinal, req_) +func (p *LogSettingsWithCtxInterface) SetInterest(ctx_ _bindings.Context, selectors []LogInterestSelector) error { + req_ := &LogSettingsSetInterestRequest{Selectors: selectors} + var resp_ _bindings.Message + err_ := ((*_bindings.ChannelProxy)(p)).Call(LogSettingsSetInterestOrdinal, req_, resp_) return err_ } // This protocol allows clients to modify the logging behavior of components // in the system. type LogSettingsWithCtx interface { + RegisterInterest(ctx_ _bindings.Context, selectors []LogInterestSelector) error // Requests a change in interest for the matched components. // // Each component holds a set of requested interests. // - // When a new request on LogSettings#RegisterInterest is received, + // When a new request on LogSettings#SetInterest is received, // the sets for matched components receive the new minimum interest. // If the interest is less than the previous minimum interest, then a - // `RegisterInterest` request is sent with the new minimum interest. + // `SetInterest` request is sent with the new minimum interest. // - // If a connection to `LogSettings` sends another `RegisterInterest` + // If a connection to `LogSettings` sends another `SetInterest` // request, its previous interest request will be undone. // // When the connection to `LogSettings` is finished, the interests are // undone. Each matched component minimum interest is updated with the // new minimum interest in the set. - RegisterInterest(ctx_ _bindings.Context, selectors []LogInterestSelector) error + SetInterest(ctx_ _bindings.Context, selectors []LogInterestSelector) error } type LogSettingsWithCtxTransitionalBase struct{} @@ -1669,7 +1707,7 @@ func (s_ *LogSettingsWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case LogSettingsRegisterInterestOrdinal: - in_ := &logSettingsWithCtxRegisterInterestRequest{} + in_ := &LogSettingsRegisterInterestRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -1679,6 +1717,17 @@ } err_ := s_.Impl.RegisterInterest(args_.Ctx, (*in_).Selectors) return nil, false, err_ + case LogSettingsSetInterestOrdinal: + in_ := &LogSettingsSetInterestRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + err_ := s_.Impl.SetInterest(args_.Ctx, (*in_).Selectors) + return nil, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal }
diff --git a/src/syscall/zx/fidl/internal/bindingstest/impl.go b/src/syscall/zx/fidl/internal/bindingstest/impl.go index e0fb363..0533896 100644 --- a/src/syscall/zx/fidl/internal/bindingstest/impl.go +++ b/src/syscall/zx/fidl/internal/bindingstest/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package bindingstest import ( @@ -37,6 +35,71 @@ return _mHasServerEnd } +type Test1EchoHandleRightsRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + H _zx.Port `fidl_offset_v2:"0" fidl_handle_subtype:"6" fidl_handle_rights:"7" fidl_bounds:"0"` +} + +var _mTest1EchoHandleRightsRequest = _bindings.CreateLazyMarshaler(Test1EchoHandleRightsRequest{}) + +func (msg *Test1EchoHandleRightsRequest) Marshaler() _bindings.Marshaler { + return _mTest1EchoHandleRightsRequest +} + +type Test1EchoRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + In *string `fidl_offset_v2:"0" fidl_bounds:""` +} + +var _mTest1EchoRequest = _bindings.CreateLazyMarshaler(Test1EchoRequest{}) + +func (msg *Test1EchoRequest) Marshaler() _bindings.Marshaler { + return _mTest1EchoRequest +} + +type Test1SurpriseRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Foo string `fidl_offset_v2:"0" fidl_bounds:""` +} + +var _mTest1SurpriseRequest = _bindings.CreateLazyMarshaler(Test1SurpriseRequest{}) + +func (msg *Test1SurpriseRequest) Marshaler() _bindings.Marshaler { + return _mTest1SurpriseRequest +} + +type Test1EchoHandleRightsResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Rights uint32 `fidl_offset_v2:"0"` +} + +var _mTest1EchoHandleRightsResponse = _bindings.CreateLazyMarshaler(Test1EchoHandleRightsResponse{}) + +func (msg *Test1EchoHandleRightsResponse) Marshaler() _bindings.Marshaler { + return _mTest1EchoHandleRightsResponse +} + +type Test1EchoResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Out *string `fidl_offset_v2:"0" fidl_bounds:""` +} + +var _mTest1EchoResponse = _bindings.CreateLazyMarshaler(Test1EchoResponse{}) + +func (msg *Test1EchoResponse) Marshaler() _bindings.Marshaler { + return _mTest1EchoResponse +} + +type Test1EmptyResponseResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` +} + +var _mTest1EmptyResponseResponse = _bindings.CreateLazyMarshaler(Test1EmptyResponseResponse{}) + +func (msg *Test1EmptyResponseResponse) Marshaler() _bindings.Marshaler { + return _mTest1EmptyResponseResponse +} + type TestInterface1 struct { _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"4"` A Test1WithCtxInterface `fidl_offset_v2:"0" fidl_handle_subtype:"4"` @@ -51,59 +114,190 @@ return _mTestInterface1 } -type test1WithCtxEchoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - In *string `fidl_offset_v2:"0" fidl_bounds:""` +type I_test1EchoHandleRightsResultTag uint64 + +const ( + Test1EchoHandleRightsResultResponse = 1 // 0x00000001 + Test1EchoHandleRightsResultFrameworkErr = 3 // 0x00000003 +) + +type Test1EchoHandleRightsResult struct { + I_test1EchoHandleRightsResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response Test1EchoHandleRightsResponse `fidl_ordinal:"1"` + FrameworkErr int32 `fidl_ordinal:"3"` } -var _mtest1WithCtxEchoRequest = _bindings.CreateLazyMarshaler(test1WithCtxEchoRequest{}) +var _mTest1EchoHandleRightsResult = _bindings.CreateLazyMarshaler(Test1EchoHandleRightsResult{}) -func (msg *test1WithCtxEchoRequest) Marshaler() _bindings.Marshaler { - return _mtest1WithCtxEchoRequest +func (msg *Test1EchoHandleRightsResult) Marshaler() _bindings.Marshaler { + return _mTest1EchoHandleRightsResult } -type test1WithCtxEchoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Out *string `fidl_offset_v2:"0" fidl_bounds:""` +func (_m *Test1EchoHandleRightsResult) reset() { + switch _m.I_test1EchoHandleRightsResultTag { + case 1: + var _zeroed Test1EchoHandleRightsResponse + _m.Response = _zeroed + case 3: + var _zeroed int32 + _m.FrameworkErr = _zeroed + } } -var _mtest1WithCtxEchoResponse = _bindings.CreateLazyMarshaler(test1WithCtxEchoResponse{}) - -func (msg *test1WithCtxEchoResponse) Marshaler() _bindings.Marshaler { - return _mtest1WithCtxEchoResponse +func (_m *Test1EchoHandleRightsResult) Which() I_test1EchoHandleRightsResultTag { + return _m.I_test1EchoHandleRightsResultTag } -type test1WithCtxSurpriseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Foo string `fidl_offset_v2:"0" fidl_bounds:""` +func (_m *Test1EchoHandleRightsResult) Ordinal() uint64 { + return uint64(_m.I_test1EchoHandleRightsResultTag) } -var _mtest1WithCtxSurpriseResponse = _bindings.CreateLazyMarshaler(test1WithCtxSurpriseResponse{}) - -func (msg *test1WithCtxSurpriseResponse) Marshaler() _bindings.Marshaler { - return _mtest1WithCtxSurpriseResponse +func (_m *Test1EchoHandleRightsResult) SetResponse(response Test1EchoHandleRightsResponse) { + _m.reset() + _m.I_test1EchoHandleRightsResultTag = Test1EchoHandleRightsResultResponse + _m.Response = response } -type test1WithCtxEchoHandleRightsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - H _zx.Port `fidl_offset_v2:"0" fidl_handle_subtype:"6" fidl_handle_rights:"7" fidl_bounds:"0"` +func Test1EchoHandleRightsResultWithResponse(response Test1EchoHandleRightsResponse) Test1EchoHandleRightsResult { + var _u Test1EchoHandleRightsResult + _u.SetResponse(response) + return _u } -var _mtest1WithCtxEchoHandleRightsRequest = _bindings.CreateLazyMarshaler(test1WithCtxEchoHandleRightsRequest{}) - -func (msg *test1WithCtxEchoHandleRightsRequest) Marshaler() _bindings.Marshaler { - return _mtest1WithCtxEchoHandleRightsRequest +func (_m *Test1EchoHandleRightsResult) SetFrameworkErr(frameworkErr int32) { + _m.reset() + _m.I_test1EchoHandleRightsResultTag = Test1EchoHandleRightsResultFrameworkErr + _m.FrameworkErr = frameworkErr } -type test1WithCtxEchoHandleRightsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Rights uint32 `fidl_offset_v2:"0"` +func Test1EchoHandleRightsResultWithFrameworkErr(frameworkErr int32) Test1EchoHandleRightsResult { + var _u Test1EchoHandleRightsResult + _u.SetFrameworkErr(frameworkErr) + return _u } -var _mtest1WithCtxEchoHandleRightsResponse = _bindings.CreateLazyMarshaler(test1WithCtxEchoHandleRightsResponse{}) +type I_test1EchoResultTag uint64 -func (msg *test1WithCtxEchoHandleRightsResponse) Marshaler() _bindings.Marshaler { - return _mtest1WithCtxEchoHandleRightsResponse +const ( + Test1EchoResultResponse = 1 // 0x00000001 + Test1EchoResultFrameworkErr = 3 // 0x00000003 +) + +type Test1EchoResult struct { + I_test1EchoResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response Test1EchoResponse `fidl_ordinal:"1"` + FrameworkErr int32 `fidl_ordinal:"3"` +} + +var _mTest1EchoResult = _bindings.CreateLazyMarshaler(Test1EchoResult{}) + +func (msg *Test1EchoResult) Marshaler() _bindings.Marshaler { + return _mTest1EchoResult +} + +func (_m *Test1EchoResult) reset() { + switch _m.I_test1EchoResultTag { + case 1: + var _zeroed Test1EchoResponse + _m.Response = _zeroed + case 3: + var _zeroed int32 + _m.FrameworkErr = _zeroed + } +} + +func (_m *Test1EchoResult) Which() I_test1EchoResultTag { + return _m.I_test1EchoResultTag +} + +func (_m *Test1EchoResult) Ordinal() uint64 { + return uint64(_m.I_test1EchoResultTag) +} + +func (_m *Test1EchoResult) SetResponse(response Test1EchoResponse) { + _m.reset() + _m.I_test1EchoResultTag = Test1EchoResultResponse + _m.Response = response +} + +func Test1EchoResultWithResponse(response Test1EchoResponse) Test1EchoResult { + var _u Test1EchoResult + _u.SetResponse(response) + return _u +} + +func (_m *Test1EchoResult) SetFrameworkErr(frameworkErr int32) { + _m.reset() + _m.I_test1EchoResultTag = Test1EchoResultFrameworkErr + _m.FrameworkErr = frameworkErr +} + +func Test1EchoResultWithFrameworkErr(frameworkErr int32) Test1EchoResult { + var _u Test1EchoResult + _u.SetFrameworkErr(frameworkErr) + return _u +} + +type I_test1EmptyResponseResultTag uint64 + +const ( + Test1EmptyResponseResultResponse = 1 // 0x00000001 + Test1EmptyResponseResultFrameworkErr = 3 // 0x00000003 +) + +type Test1EmptyResponseResult struct { + I_test1EmptyResponseResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response Test1EmptyResponseResponse `fidl_ordinal:"1"` + FrameworkErr int32 `fidl_ordinal:"3"` +} + +var _mTest1EmptyResponseResult = _bindings.CreateLazyMarshaler(Test1EmptyResponseResult{}) + +func (msg *Test1EmptyResponseResult) Marshaler() _bindings.Marshaler { + return _mTest1EmptyResponseResult +} + +func (_m *Test1EmptyResponseResult) reset() { + switch _m.I_test1EmptyResponseResultTag { + case 1: + var _zeroed Test1EmptyResponseResponse + _m.Response = _zeroed + case 3: + var _zeroed int32 + _m.FrameworkErr = _zeroed + } +} + +func (_m *Test1EmptyResponseResult) Which() I_test1EmptyResponseResultTag { + return _m.I_test1EmptyResponseResultTag +} + +func (_m *Test1EmptyResponseResult) Ordinal() uint64 { + return uint64(_m.I_test1EmptyResponseResultTag) +} + +func (_m *Test1EmptyResponseResult) SetResponse(response Test1EmptyResponseResponse) { + _m.reset() + _m.I_test1EmptyResponseResultTag = Test1EmptyResponseResultResponse + _m.Response = response +} + +func Test1EmptyResponseResultWithResponse(response Test1EmptyResponseResponse) Test1EmptyResponseResult { + var _u Test1EmptyResponseResult + _u.SetResponse(response) + return _u +} + +func (_m *Test1EmptyResponseResult) SetFrameworkErr(frameworkErr int32) { + _m.reset() + _m.I_test1EmptyResponseResultTag = Test1EmptyResponseResultFrameworkErr + _m.FrameworkErr = frameworkErr +} + +func Test1EmptyResponseResultWithFrameworkErr(frameworkErr int32) Test1EmptyResponseResult { + var _u Test1EmptyResponseResult + _u.SetFrameworkErr(frameworkErr) + return _u } type SimpleTable struct { @@ -177,13 +371,15 @@ return u.I_unknownData.(map[uint64]_bindings.UnknownData) } +// Bindings for this protocol have not been generated because it is an +// open protocol. If bindings for open protocols are +// needed in Go, please contact the FIDL team: fidl-dev@fuchsia.dev. type ExampleProtocolWithCtxInterface _bindings.ChannelProxy -type ExampleProtocolWithCtx interface { -} - -type ExampleProtocolWithCtxTransitionalBase struct{} - +// Bindings for this protocol have not been generated because it is an +// open protocol. If bindings for open protocols are +// needed in Go, please contact the FIDL team: fidl-dev@fuchsia.dev. +type ExampleProtocolWithCtx interface{} type ExampleProtocolWithCtxInterfaceRequest _bindings.InterfaceRequest func NewExampleProtocolWithCtxInterfaceRequest() (ExampleProtocolWithCtxInterfaceRequest, *ExampleProtocolWithCtxInterface, error) { @@ -191,17 +387,15 @@ return ExampleProtocolWithCtxInterfaceRequest(req), (*ExampleProtocolWithCtxInterface)(cli), err } -type ExampleProtocolWithCtxStub struct { - Impl ExampleProtocolWithCtx -} +// Bindings for this protocol have not been generated because it is an +// open protocol. If bindings for open protocols are +// needed in Go, please contact the FIDL team: fidl-dev@fuchsia.dev. +type ExampleProtocolWithCtxStub struct{} -func (s_ *ExampleProtocolWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { - switch args_.Ordinal { - } - return nil, false, _bindings.ErrUnknownOrdinal -} - -type ExampleProtocolEventProxy _bindings.ChannelProxy +// Bindings for this protocol have not been generated because it is an +// open protocol. If bindings for open protocols are +// needed in Go, please contact the FIDL team: fidl-dev@fuchsia.dev. +type ExampleProtocolEventProxy struct{} const ( Test1EchoOrdinal uint64 = 0x4adc92c9e871ae62 @@ -211,50 +405,15 @@ Test1EchoHandleRightsOrdinal uint64 = 0x53b1df24e93e434e ) +// Bindings for this protocol have not been generated because it is an +// open protocol. If bindings for open protocols are +// needed in Go, please contact the FIDL team: fidl-dev@fuchsia.dev. type Test1WithCtxInterface _bindings.ChannelProxy -func (p *Test1WithCtxInterface) Echo(ctx_ _bindings.Context, in *string) (*string, error) { - req_ := &test1WithCtxEchoRequest{In: in} - resp_ := &test1WithCtxEchoResponse{} - err_ := ((*_bindings.ChannelProxy)(p)).Call(Test1EchoOrdinal, req_, resp_) - return (*resp_).Out, err_ -} - -func (p *Test1WithCtxInterface) NoResponse(ctx_ _bindings.Context) error { - var req_ _bindings.Message - err_ := ((*_bindings.ChannelProxy)(p)).Send(Test1NoResponseOrdinal, req_) - return err_ -} - -func (p *Test1WithCtxInterface) EmptyResponse(ctx_ _bindings.Context) error { - var req_ _bindings.Message - var resp_ _bindings.Message - err_ := ((*_bindings.ChannelProxy)(p)).Call(Test1EmptyResponseOrdinal, req_, resp_) - return err_ -} - -func (p *Test1WithCtxInterface) ExpectSurprise(ctx_ _bindings.Context) (string, error) { - resp_ := &test1WithCtxSurpriseResponse{} - err_ := ((*_bindings.ChannelProxy)(p)).Recv(Test1SurpriseOrdinal, resp_) - return (*resp_).Foo, err_ -} - -func (p *Test1WithCtxInterface) EchoHandleRights(ctx_ _bindings.Context, h _zx.Port) (uint32, error) { - req_ := &test1WithCtxEchoHandleRightsRequest{H: h} - resp_ := &test1WithCtxEchoHandleRightsResponse{} - err_ := ((*_bindings.ChannelProxy)(p)).Call(Test1EchoHandleRightsOrdinal, req_, resp_) - return (*resp_).Rights, err_ -} - -type Test1WithCtx interface { - Echo(ctx_ _bindings.Context, in *string) (*string, error) - NoResponse(ctx_ _bindings.Context) error - EmptyResponse(ctx_ _bindings.Context) error - EchoHandleRights(ctx_ _bindings.Context, h _zx.Port) (uint32, error) -} - -type Test1WithCtxTransitionalBase struct{} - +// Bindings for this protocol have not been generated because it is an +// open protocol. If bindings for open protocols are +// needed in Go, please contact the FIDL team: fidl-dev@fuchsia.dev. +type Test1WithCtx interface{} type Test1WithCtxInterfaceRequest _bindings.InterfaceRequest func NewTest1WithCtxInterfaceRequest() (Test1WithCtxInterfaceRequest, *Test1WithCtxInterface, error) { @@ -262,49 +421,12 @@ return Test1WithCtxInterfaceRequest(req), (*Test1WithCtxInterface)(cli), err } -type Test1WithCtxStub struct { - Impl Test1WithCtx -} +// Bindings for this protocol have not been generated because it is an +// open protocol. If bindings for open protocols are +// needed in Go, please contact the FIDL team: fidl-dev@fuchsia.dev. +type Test1WithCtxStub struct{} -func (s_ *Test1WithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { - switch args_.Ordinal { - case Test1EchoOrdinal: - in_ := &test1WithCtxEchoRequest{} - marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) - if !ok { - return nil, false, _bindings.ErrMissingMarshalerContext - } - if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { - return nil, false, err_ - } - out, err_ := s_.Impl.Echo(args_.Ctx, (*in_).In) - out_ := &test1WithCtxEchoResponse{Out: out} - return out_, true, err_ - case Test1NoResponseOrdinal: - err_ := s_.Impl.NoResponse(args_.Ctx) - return nil, false, err_ - case Test1EmptyResponseOrdinal: - err_ := s_.Impl.EmptyResponse(args_.Ctx) - return nil, true, err_ - case Test1EchoHandleRightsOrdinal: - in_ := &test1WithCtxEchoHandleRightsRequest{} - marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) - if !ok { - return nil, false, _bindings.ErrMissingMarshalerContext - } - if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { - return nil, false, err_ - } - rights, err_ := s_.Impl.EchoHandleRights(args_.Ctx, (*in_).H) - out_ := &test1WithCtxEchoHandleRightsResponse{Rights: rights} - return out_, true, err_ - } - return nil, false, _bindings.ErrUnknownOrdinal -} - -type Test1EventProxy _bindings.ChannelProxy - -func (p *Test1EventProxy) Surprise(foo string) error { - event_ := &test1WithCtxSurpriseResponse{Foo: foo} - return ((*_bindings.ChannelProxy)(p)).Send(Test1SurpriseOrdinal, event_) -} +// Bindings for this protocol have not been generated because it is an +// open protocol. If bindings for open protocols are +// needed in Go, please contact the FIDL team: fidl-dev@fuchsia.dev. +type Test1EventProxy struct{}
diff --git a/src/syscall/zx/hardware/network/impl.go b/src/syscall/zx/hardware/network/impl.go index 3117f1f..24a253d 100644 --- a/src/syscall/zx/hardware/network/impl.go +++ b/src/syscall/zx/hardware/network/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package network import ( @@ -39,12 +37,15 @@ // The maximum number of ports attached to a device at a given time. MaxPorts uint8 = 32 // Maximum length of session label. - MaxSessionName uint32 = 64 + MaxSessionName_ uint32 = 64 // The maximum number of status samples that can be buffered by a // [`StatusWatcher`]. MaxStatusBuffer uint32 = 50 ) +type BasePortId = uint8 +type PortClass = DeviceClass + var _ _bindings.Enum = DeviceClass(0) // Network device class. @@ -1009,6 +1010,74 @@ return buf.String() } +type DeviceCloneRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Device DeviceWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mDeviceCloneRequest = _bindings.CreateLazyMarshaler(DeviceCloneRequest{}) + +func (msg *DeviceCloneRequest) Marshaler() _bindings.Marshaler { + return _mDeviceCloneRequest +} + +type DeviceGetInfoResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Info DeviceInfo `fidl_offset_v2:"0"` +} + +var _mDeviceGetInfoResponse = _bindings.CreateLazyMarshaler(DeviceGetInfoResponse{}) + +func (msg *DeviceGetInfoResponse) Marshaler() _bindings.Marshaler { + return _mDeviceGetInfoResponse +} + +type DeviceGetPortRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` + Id PortId `fidl_offset_v2:"0"` + Port PortWithCtxInterfaceRequest `fidl_offset_v2:"4" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mDeviceGetPortRequest = _bindings.CreateLazyMarshaler(DeviceGetPortRequest{}) + +func (msg *DeviceGetPortRequest) Marshaler() _bindings.Marshaler { + return _mDeviceGetPortRequest +} + +type DeviceGetPortWatcherRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Watcher PortWatcherWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mDeviceGetPortWatcherRequest = _bindings.CreateLazyMarshaler(DeviceGetPortWatcherRequest{}) + +func (msg *DeviceGetPortWatcherRequest) Marshaler() _bindings.Marshaler { + return _mDeviceGetPortWatcherRequest +} + +type DeviceInstanceGetDeviceRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Device DeviceWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mDeviceInstanceGetDeviceRequest = _bindings.CreateLazyMarshaler(DeviceInstanceGetDeviceRequest{}) + +func (msg *DeviceInstanceGetDeviceRequest) Marshaler() _bindings.Marshaler { + return _mDeviceInstanceGetDeviceRequest +} + +type DeviceOpenSessionRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` + SessionName string `fidl_offset_v2:"0" fidl_bounds:"64"` + SessionInfo SessionInfo `fidl_offset_v2:"16"` +} + +var _mDeviceOpenSessionRequest = _bindings.CreateLazyMarshaler(DeviceOpenSessionRequest{}) + +func (msg *DeviceOpenSessionRequest) Marshaler() _bindings.Marshaler { + return _mDeviceOpenSessionRequest +} + type DeviceOpenSessionResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"12" fidl_alignment_v2:"4"` Session SessionWithCtxInterface `fidl_offset_v2:"0" fidl_handle_subtype:"4"` @@ -1081,6 +1150,161 @@ return _mFrameTypeSupport } +type MacAddressingAddMulticastAddressRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"6" fidl_alignment_v2:"1"` + Address fuchsianet.MacAddress `fidl_offset_v2:"0"` +} + +var _mMacAddressingAddMulticastAddressRequest = _bindings.CreateLazyMarshaler(MacAddressingAddMulticastAddressRequest{}) + +func (msg *MacAddressingAddMulticastAddressRequest) Marshaler() _bindings.Marshaler { + return _mMacAddressingAddMulticastAddressRequest +} + +type MacAddressingAddMulticastAddressResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Status int32 `fidl_offset_v2:"0"` +} + +var _mMacAddressingAddMulticastAddressResponse = _bindings.CreateLazyMarshaler(MacAddressingAddMulticastAddressResponse{}) + +func (msg *MacAddressingAddMulticastAddressResponse) Marshaler() _bindings.Marshaler { + return _mMacAddressingAddMulticastAddressResponse +} + +type MacAddressingGetUnicastAddressResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"6" fidl_alignment_v2:"1"` + Address fuchsianet.MacAddress `fidl_offset_v2:"0"` +} + +var _mMacAddressingGetUnicastAddressResponse = _bindings.CreateLazyMarshaler(MacAddressingGetUnicastAddressResponse{}) + +func (msg *MacAddressingGetUnicastAddressResponse) Marshaler() _bindings.Marshaler { + return _mMacAddressingGetUnicastAddressResponse +} + +type MacAddressingRemoveMulticastAddressRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"6" fidl_alignment_v2:"1"` + Address fuchsianet.MacAddress `fidl_offset_v2:"0"` +} + +var _mMacAddressingRemoveMulticastAddressRequest = _bindings.CreateLazyMarshaler(MacAddressingRemoveMulticastAddressRequest{}) + +func (msg *MacAddressingRemoveMulticastAddressRequest) Marshaler() _bindings.Marshaler { + return _mMacAddressingRemoveMulticastAddressRequest +} + +type MacAddressingRemoveMulticastAddressResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Status int32 `fidl_offset_v2:"0"` +} + +var _mMacAddressingRemoveMulticastAddressResponse = _bindings.CreateLazyMarshaler(MacAddressingRemoveMulticastAddressResponse{}) + +func (msg *MacAddressingRemoveMulticastAddressResponse) Marshaler() _bindings.Marshaler { + return _mMacAddressingRemoveMulticastAddressResponse +} + +type MacAddressingSetModeRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Mode MacFilterMode `fidl_offset_v2:"0"` +} + +var _mMacAddressingSetModeRequest = _bindings.CreateLazyMarshaler(MacAddressingSetModeRequest{}) + +func (msg *MacAddressingSetModeRequest) Marshaler() _bindings.Marshaler { + return _mMacAddressingSetModeRequest +} + +type MacAddressingSetModeResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Status int32 `fidl_offset_v2:"0"` +} + +var _mMacAddressingSetModeResponse = _bindings.CreateLazyMarshaler(MacAddressingSetModeResponse{}) + +func (msg *MacAddressingSetModeResponse) Marshaler() _bindings.Marshaler { + return _mMacAddressingSetModeResponse +} + +type PortCloneRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Port PortWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mPortCloneRequest = _bindings.CreateLazyMarshaler(PortCloneRequest{}) + +func (msg *PortCloneRequest) Marshaler() _bindings.Marshaler { + return _mPortCloneRequest +} + +type PortGetDeviceRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Device DeviceWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mPortGetDeviceRequest = _bindings.CreateLazyMarshaler(PortGetDeviceRequest{}) + +func (msg *PortGetDeviceRequest) Marshaler() _bindings.Marshaler { + return _mPortGetDeviceRequest +} + +type PortGetDiagnosticsRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Diagnostics DiagnosticsWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mPortGetDiagnosticsRequest = _bindings.CreateLazyMarshaler(PortGetDiagnosticsRequest{}) + +func (msg *PortGetDiagnosticsRequest) Marshaler() _bindings.Marshaler { + return _mPortGetDiagnosticsRequest +} + +type PortGetInfoResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Info PortInfo `fidl_offset_v2:"0"` +} + +var _mPortGetInfoResponse = _bindings.CreateLazyMarshaler(PortGetInfoResponse{}) + +func (msg *PortGetInfoResponse) Marshaler() _bindings.Marshaler { + return _mPortGetInfoResponse +} + +type PortGetMacRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Mac MacAddressingWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mPortGetMacRequest = _bindings.CreateLazyMarshaler(PortGetMacRequest{}) + +func (msg *PortGetMacRequest) Marshaler() _bindings.Marshaler { + return _mPortGetMacRequest +} + +type PortGetStatusResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Status PortStatus `fidl_offset_v2:"0"` +} + +var _mPortGetStatusResponse = _bindings.CreateLazyMarshaler(PortGetStatusResponse{}) + +func (msg *PortGetStatusResponse) Marshaler() _bindings.Marshaler { + return _mPortGetStatusResponse +} + +type PortGetStatusWatcherRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` + Watcher StatusWatcherWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` + Buffer uint32 `fidl_offset_v2:"4"` +} + +var _mPortGetStatusWatcherRequest = _bindings.CreateLazyMarshaler(PortGetStatusWatcherRequest{}) + +func (msg *PortGetStatusWatcherRequest) Marshaler() _bindings.Marshaler { + return _mPortGetStatusWatcherRequest +} + // A device port identifier. type PortId struct { _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"1"` @@ -1099,6 +1323,40 @@ return _mPortId } +type PortWatcherWatchResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Event DevicePortEvent `fidl_offset_v2:"0"` +} + +var _mPortWatcherWatchResponse = _bindings.CreateLazyMarshaler(PortWatcherWatchResponse{}) + +func (msg *PortWatcherWatchResponse) Marshaler() _bindings.Marshaler { + return _mPortWatcherWatchResponse +} + +type SessionAttachRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + Port PortId `fidl_offset_v2:"0"` + RxFrames []FrameType `fidl_offset_v2:"8" fidl_bounds:"4"` +} + +var _mSessionAttachRequest = _bindings.CreateLazyMarshaler(SessionAttachRequest{}) + +func (msg *SessionAttachRequest) Marshaler() _bindings.Marshaler { + return _mSessionAttachRequest +} + +type SessionDetachRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"1"` + Port PortId `fidl_offset_v2:"0"` +} + +var _mSessionDetachRequest = _bindings.CreateLazyMarshaler(SessionDetachRequest{}) + +func (msg *SessionDetachRequest) Marshaler() _bindings.Marshaler { + return _mSessionDetachRequest +} + type SessionAttachResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` } @@ -1119,305 +1377,15 @@ return _mSessionDetachResponse } -type deviceWithCtxGetInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Info DeviceInfo `fidl_offset_v2:"0"` -} - -var _mdeviceWithCtxGetInfoResponse = _bindings.CreateLazyMarshaler(deviceWithCtxGetInfoResponse{}) - -func (msg *deviceWithCtxGetInfoResponse) Marshaler() _bindings.Marshaler { - return _mdeviceWithCtxGetInfoResponse -} - -type deviceWithCtxOpenSessionRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - SessionName string `fidl_offset_v2:"0" fidl_bounds:"64"` - SessionInfo SessionInfo `fidl_offset_v2:"16"` -} - -var _mdeviceWithCtxOpenSessionRequest = _bindings.CreateLazyMarshaler(deviceWithCtxOpenSessionRequest{}) - -func (msg *deviceWithCtxOpenSessionRequest) Marshaler() _bindings.Marshaler { - return _mdeviceWithCtxOpenSessionRequest -} - -type deviceWithCtxOpenSessionResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result DeviceOpenSessionResult `fidl_offset_v2:"0"` -} - -var _mdeviceWithCtxOpenSessionResponse = _bindings.CreateLazyMarshaler(deviceWithCtxOpenSessionResponse{}) - -func (msg *deviceWithCtxOpenSessionResponse) Marshaler() _bindings.Marshaler { - return _mdeviceWithCtxOpenSessionResponse -} - -type deviceWithCtxGetPortRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Id PortId `fidl_offset_v2:"0"` - Port PortWithCtxInterfaceRequest `fidl_offset_v2:"4" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdeviceWithCtxGetPortRequest = _bindings.CreateLazyMarshaler(deviceWithCtxGetPortRequest{}) - -func (msg *deviceWithCtxGetPortRequest) Marshaler() _bindings.Marshaler { - return _mdeviceWithCtxGetPortRequest -} - -type deviceWithCtxGetPortWatcherRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Watcher PortWatcherWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdeviceWithCtxGetPortWatcherRequest = _bindings.CreateLazyMarshaler(deviceWithCtxGetPortWatcherRequest{}) - -func (msg *deviceWithCtxGetPortWatcherRequest) Marshaler() _bindings.Marshaler { - return _mdeviceWithCtxGetPortWatcherRequest -} - -type deviceWithCtxCloneRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Device DeviceWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdeviceWithCtxCloneRequest = _bindings.CreateLazyMarshaler(deviceWithCtxCloneRequest{}) - -func (msg *deviceWithCtxCloneRequest) Marshaler() _bindings.Marshaler { - return _mdeviceWithCtxCloneRequest -} - -type deviceInstanceWithCtxGetDeviceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Device DeviceWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdeviceInstanceWithCtxGetDeviceRequest = _bindings.CreateLazyMarshaler(deviceInstanceWithCtxGetDeviceRequest{}) - -func (msg *deviceInstanceWithCtxGetDeviceRequest) Marshaler() _bindings.Marshaler { - return _mdeviceInstanceWithCtxGetDeviceRequest -} - -type macAddressingWithCtxGetUnicastAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"6" fidl_alignment_v2:"1"` - Address fuchsianet.MacAddress `fidl_offset_v2:"0"` -} - -var _mmacAddressingWithCtxGetUnicastAddressResponse = _bindings.CreateLazyMarshaler(macAddressingWithCtxGetUnicastAddressResponse{}) - -func (msg *macAddressingWithCtxGetUnicastAddressResponse) Marshaler() _bindings.Marshaler { - return _mmacAddressingWithCtxGetUnicastAddressResponse -} - -type macAddressingWithCtxSetModeRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Mode MacFilterMode `fidl_offset_v2:"0"` -} - -var _mmacAddressingWithCtxSetModeRequest = _bindings.CreateLazyMarshaler(macAddressingWithCtxSetModeRequest{}) - -func (msg *macAddressingWithCtxSetModeRequest) Marshaler() _bindings.Marshaler { - return _mmacAddressingWithCtxSetModeRequest -} - -type macAddressingWithCtxSetModeResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Status int32 `fidl_offset_v2:"0"` -} - -var _mmacAddressingWithCtxSetModeResponse = _bindings.CreateLazyMarshaler(macAddressingWithCtxSetModeResponse{}) - -func (msg *macAddressingWithCtxSetModeResponse) Marshaler() _bindings.Marshaler { - return _mmacAddressingWithCtxSetModeResponse -} - -type macAddressingWithCtxAddMulticastAddressRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"6" fidl_alignment_v2:"1"` - Address fuchsianet.MacAddress `fidl_offset_v2:"0"` -} - -var _mmacAddressingWithCtxAddMulticastAddressRequest = _bindings.CreateLazyMarshaler(macAddressingWithCtxAddMulticastAddressRequest{}) - -func (msg *macAddressingWithCtxAddMulticastAddressRequest) Marshaler() _bindings.Marshaler { - return _mmacAddressingWithCtxAddMulticastAddressRequest -} - -type macAddressingWithCtxAddMulticastAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Status int32 `fidl_offset_v2:"0"` -} - -var _mmacAddressingWithCtxAddMulticastAddressResponse = _bindings.CreateLazyMarshaler(macAddressingWithCtxAddMulticastAddressResponse{}) - -func (msg *macAddressingWithCtxAddMulticastAddressResponse) Marshaler() _bindings.Marshaler { - return _mmacAddressingWithCtxAddMulticastAddressResponse -} - -type macAddressingWithCtxRemoveMulticastAddressRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"6" fidl_alignment_v2:"1"` - Address fuchsianet.MacAddress `fidl_offset_v2:"0"` -} - -var _mmacAddressingWithCtxRemoveMulticastAddressRequest = _bindings.CreateLazyMarshaler(macAddressingWithCtxRemoveMulticastAddressRequest{}) - -func (msg *macAddressingWithCtxRemoveMulticastAddressRequest) Marshaler() _bindings.Marshaler { - return _mmacAddressingWithCtxRemoveMulticastAddressRequest -} - -type macAddressingWithCtxRemoveMulticastAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Status int32 `fidl_offset_v2:"0"` -} - -var _mmacAddressingWithCtxRemoveMulticastAddressResponse = _bindings.CreateLazyMarshaler(macAddressingWithCtxRemoveMulticastAddressResponse{}) - -func (msg *macAddressingWithCtxRemoveMulticastAddressResponse) Marshaler() _bindings.Marshaler { - return _mmacAddressingWithCtxRemoveMulticastAddressResponse -} - -type portWithCtxGetInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Info PortInfo `fidl_offset_v2:"0"` -} - -var _mportWithCtxGetInfoResponse = _bindings.CreateLazyMarshaler(portWithCtxGetInfoResponse{}) - -func (msg *portWithCtxGetInfoResponse) Marshaler() _bindings.Marshaler { - return _mportWithCtxGetInfoResponse -} - -type portWithCtxGetStatusResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Status PortStatus `fidl_offset_v2:"0"` -} - -var _mportWithCtxGetStatusResponse = _bindings.CreateLazyMarshaler(portWithCtxGetStatusResponse{}) - -func (msg *portWithCtxGetStatusResponse) Marshaler() _bindings.Marshaler { - return _mportWithCtxGetStatusResponse -} - -type portWithCtxGetStatusWatcherRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Watcher StatusWatcherWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` - Buffer uint32 `fidl_offset_v2:"4"` -} - -var _mportWithCtxGetStatusWatcherRequest = _bindings.CreateLazyMarshaler(portWithCtxGetStatusWatcherRequest{}) - -func (msg *portWithCtxGetStatusWatcherRequest) Marshaler() _bindings.Marshaler { - return _mportWithCtxGetStatusWatcherRequest -} - -type portWithCtxGetMacRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Mac MacAddressingWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mportWithCtxGetMacRequest = _bindings.CreateLazyMarshaler(portWithCtxGetMacRequest{}) - -func (msg *portWithCtxGetMacRequest) Marshaler() _bindings.Marshaler { - return _mportWithCtxGetMacRequest -} - -type portWithCtxGetDeviceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Device DeviceWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mportWithCtxGetDeviceRequest = _bindings.CreateLazyMarshaler(portWithCtxGetDeviceRequest{}) - -func (msg *portWithCtxGetDeviceRequest) Marshaler() _bindings.Marshaler { - return _mportWithCtxGetDeviceRequest -} - -type portWithCtxCloneRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Port PortWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mportWithCtxCloneRequest = _bindings.CreateLazyMarshaler(portWithCtxCloneRequest{}) - -func (msg *portWithCtxCloneRequest) Marshaler() _bindings.Marshaler { - return _mportWithCtxCloneRequest -} - -type portWithCtxGetDiagnosticsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Diagnostics DiagnosticsWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mportWithCtxGetDiagnosticsRequest = _bindings.CreateLazyMarshaler(portWithCtxGetDiagnosticsRequest{}) - -func (msg *portWithCtxGetDiagnosticsRequest) Marshaler() _bindings.Marshaler { - return _mportWithCtxGetDiagnosticsRequest -} - -type portWatcherWithCtxWatchResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Event DevicePortEvent `fidl_offset_v2:"0"` -} - -var _mportWatcherWithCtxWatchResponse = _bindings.CreateLazyMarshaler(portWatcherWithCtxWatchResponse{}) - -func (msg *portWatcherWithCtxWatchResponse) Marshaler() _bindings.Marshaler { - return _mportWatcherWithCtxWatchResponse -} - -type sessionWithCtxAttachRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Port PortId `fidl_offset_v2:"0"` - RxFrames []FrameType `fidl_offset_v2:"8" fidl_bounds:"4"` -} - -var _msessionWithCtxAttachRequest = _bindings.CreateLazyMarshaler(sessionWithCtxAttachRequest{}) - -func (msg *sessionWithCtxAttachRequest) Marshaler() _bindings.Marshaler { - return _msessionWithCtxAttachRequest -} - -type sessionWithCtxAttachResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result SessionAttachResult `fidl_offset_v2:"0"` -} - -var _msessionWithCtxAttachResponse = _bindings.CreateLazyMarshaler(sessionWithCtxAttachResponse{}) - -func (msg *sessionWithCtxAttachResponse) Marshaler() _bindings.Marshaler { - return _msessionWithCtxAttachResponse -} - -type sessionWithCtxDetachRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"1"` - Port PortId `fidl_offset_v2:"0"` -} - -var _msessionWithCtxDetachRequest = _bindings.CreateLazyMarshaler(sessionWithCtxDetachRequest{}) - -func (msg *sessionWithCtxDetachRequest) Marshaler() _bindings.Marshaler { - return _msessionWithCtxDetachRequest -} - -type sessionWithCtxDetachResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result SessionDetachResult `fidl_offset_v2:"0"` -} - -var _msessionWithCtxDetachResponse = _bindings.CreateLazyMarshaler(sessionWithCtxDetachResponse{}) - -func (msg *sessionWithCtxDetachResponse) Marshaler() _bindings.Marshaler { - return _msessionWithCtxDetachResponse -} - -type statusWatcherWithCtxWatchStatusResponse struct { +type StatusWatcherWatchStatusResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` PortStatus PortStatus `fidl_offset_v2:"0"` } -var _mstatusWatcherWithCtxWatchStatusResponse = _bindings.CreateLazyMarshaler(statusWatcherWithCtxWatchStatusResponse{}) +var _mStatusWatcherWatchStatusResponse = _bindings.CreateLazyMarshaler(StatusWatcherWatchStatusResponse{}) -func (msg *statusWatcherWithCtxWatchStatusResponse) Marshaler() _bindings.Marshaler { - return _mstatusWatcherWithCtxWatchStatusResponse +func (msg *StatusWatcherWatchStatusResponse) Marshaler() _bindings.Marshaler { + return _mStatusWatcherWatchStatusResponse } type I_devicePortEventTag uint64 @@ -2162,21 +2130,18 @@ return u.I_unknownData.(map[uint64]_bindings.UnknownData) } -// Logical port information. -type PortInfo struct { +// Port base info. +type PortBaseInfo struct { _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` I_unknownData interface{} - // Port's identifier. Required. - Id PortId `fidl_ordinal:"1"` - IdPresent bool // Port's class. Required. - Class DeviceClass `fidl_ordinal:"2"` - ClassPresent bool + PortClass DeviceClass `fidl_ordinal:"1"` + PortClassPresent bool // Supported rx frame types on this port. Required. // // Clients may open sessions subscribing to a subset of `rx_types` frame // types on this port. - RxTypes []FrameType `fidl_bounds:"4" fidl_ordinal:"3"` + RxTypes []FrameType `fidl_bounds:"4" fidl_ordinal:"2"` RxTypesPresent bool // Supported tx frame types on this port. Required. // @@ -2189,10 +2154,234 @@ // For example, a device that supports Ethernet frames but needs to convert // the Ethernet header may only support standard Ethernet II frames, and // not any "raw" Ethernet frame. - TxTypes []FrameTypeSupport `fidl_bounds:"4" fidl_ordinal:"4"` + TxTypes []FrameTypeSupport `fidl_bounds:"4" fidl_ordinal:"3"` TxTypesPresent bool } +var _mPortBaseInfo = _bindings.CreateLazyMarshaler(PortBaseInfo{}) + +func (msg *PortBaseInfo) Marshaler() _bindings.Marshaler { + return _mPortBaseInfo +} + +func (u *PortBaseInfo) SetPortClass(portClass DeviceClass) { + u.PortClass = portClass + u.PortClassPresent = true +} + +func (u *PortBaseInfo) GetPortClass() DeviceClass { + return u.PortClass +} + +func (u *PortBaseInfo) GetPortClassWithDefault(_default DeviceClass) DeviceClass { + if !u.HasPortClass() { + return _default + } + return u.PortClass +} + +func (u *PortBaseInfo) HasPortClass() bool { + return u.PortClassPresent +} + +func (u *PortBaseInfo) ClearPortClass() { + u.PortClassPresent = false +} + +func (u *PortBaseInfo) SetRxTypes(rxTypes []FrameType) { + u.RxTypes = rxTypes + u.RxTypesPresent = true +} + +func (u *PortBaseInfo) GetRxTypes() []FrameType { + return u.RxTypes +} + +func (u *PortBaseInfo) GetRxTypesWithDefault(_default []FrameType) []FrameType { + if !u.HasRxTypes() { + return _default + } + return u.RxTypes +} + +func (u *PortBaseInfo) HasRxTypes() bool { + return u.RxTypesPresent +} + +func (u *PortBaseInfo) ClearRxTypes() { + u.RxTypesPresent = false +} + +func (u *PortBaseInfo) SetTxTypes(txTypes []FrameTypeSupport) { + u.TxTypes = txTypes + u.TxTypesPresent = true +} + +func (u *PortBaseInfo) GetTxTypes() []FrameTypeSupport { + return u.TxTypes +} + +func (u *PortBaseInfo) GetTxTypesWithDefault(_default []FrameTypeSupport) []FrameTypeSupport { + if !u.HasTxTypes() { + return _default + } + return u.TxTypes +} + +func (u *PortBaseInfo) HasTxTypes() bool { + return u.TxTypesPresent +} + +func (u *PortBaseInfo) ClearTxTypes() { + u.TxTypesPresent = false +} + +func (u *PortBaseInfo) HasUnknownData() bool { + return u.I_unknownData != nil +} + +func (u *PortBaseInfo) GetUnknownData() map[uint64]_bindings.UnknownData { + return u.I_unknownData.(map[uint64]_bindings.UnknownData) +} + +type PortGetCountersResponse struct { + _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + I_unknownData interface{} + // The total number of ingress frames on this port. + RxFrames uint64 `fidl_ordinal:"1"` + RxFramesPresent bool + // The total number of ingress bytes on this port. + RxBytes uint64 `fidl_ordinal:"2"` + RxBytesPresent bool + // The total number of egress frames on this port. + TxFrames uint64 `fidl_ordinal:"3"` + TxFramesPresent bool + // The total number of egress bytes on this port. + TxBytes uint64 `fidl_ordinal:"4"` + TxBytesPresent bool +} + +var _mPortGetCountersResponse = _bindings.CreateLazyMarshaler(PortGetCountersResponse{}) + +func (msg *PortGetCountersResponse) Marshaler() _bindings.Marshaler { + return _mPortGetCountersResponse +} + +func (u *PortGetCountersResponse) SetRxFrames(rxFrames uint64) { + u.RxFrames = rxFrames + u.RxFramesPresent = true +} + +func (u *PortGetCountersResponse) GetRxFrames() uint64 { + return u.RxFrames +} + +func (u *PortGetCountersResponse) GetRxFramesWithDefault(_default uint64) uint64 { + if !u.HasRxFrames() { + return _default + } + return u.RxFrames +} + +func (u *PortGetCountersResponse) HasRxFrames() bool { + return u.RxFramesPresent +} + +func (u *PortGetCountersResponse) ClearRxFrames() { + u.RxFramesPresent = false +} + +func (u *PortGetCountersResponse) SetRxBytes(rxBytes uint64) { + u.RxBytes = rxBytes + u.RxBytesPresent = true +} + +func (u *PortGetCountersResponse) GetRxBytes() uint64 { + return u.RxBytes +} + +func (u *PortGetCountersResponse) GetRxBytesWithDefault(_default uint64) uint64 { + if !u.HasRxBytes() { + return _default + } + return u.RxBytes +} + +func (u *PortGetCountersResponse) HasRxBytes() bool { + return u.RxBytesPresent +} + +func (u *PortGetCountersResponse) ClearRxBytes() { + u.RxBytesPresent = false +} + +func (u *PortGetCountersResponse) SetTxFrames(txFrames uint64) { + u.TxFrames = txFrames + u.TxFramesPresent = true +} + +func (u *PortGetCountersResponse) GetTxFrames() uint64 { + return u.TxFrames +} + +func (u *PortGetCountersResponse) GetTxFramesWithDefault(_default uint64) uint64 { + if !u.HasTxFrames() { + return _default + } + return u.TxFrames +} + +func (u *PortGetCountersResponse) HasTxFrames() bool { + return u.TxFramesPresent +} + +func (u *PortGetCountersResponse) ClearTxFrames() { + u.TxFramesPresent = false +} + +func (u *PortGetCountersResponse) SetTxBytes(txBytes uint64) { + u.TxBytes = txBytes + u.TxBytesPresent = true +} + +func (u *PortGetCountersResponse) GetTxBytes() uint64 { + return u.TxBytes +} + +func (u *PortGetCountersResponse) GetTxBytesWithDefault(_default uint64) uint64 { + if !u.HasTxBytes() { + return _default + } + return u.TxBytes +} + +func (u *PortGetCountersResponse) HasTxBytes() bool { + return u.TxBytesPresent +} + +func (u *PortGetCountersResponse) ClearTxBytes() { + u.TxBytesPresent = false +} + +func (u *PortGetCountersResponse) HasUnknownData() bool { + return u.I_unknownData != nil +} + +func (u *PortGetCountersResponse) GetUnknownData() map[uint64]_bindings.UnknownData { + return u.I_unknownData.(map[uint64]_bindings.UnknownData) +} + +// Logical port information. +type PortInfo struct { + _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + I_unknownData interface{} + // Port's identifier. Required. + Id PortId `fidl_ordinal:"1"` + IdPresent bool + BaseInfo PortBaseInfo `fidl_ordinal:"2"` + BaseInfoPresent bool +} + var _mPortInfo = _bindings.CreateLazyMarshaler(PortInfo{}) func (msg *PortInfo) Marshaler() _bindings.Marshaler { @@ -2223,76 +2412,28 @@ u.IdPresent = false } -func (u *PortInfo) SetClass(class DeviceClass) { - u.Class = class - u.ClassPresent = true +func (u *PortInfo) SetBaseInfo(baseInfo PortBaseInfo) { + u.BaseInfo = baseInfo + u.BaseInfoPresent = true } -func (u *PortInfo) GetClass() DeviceClass { - return u.Class +func (u *PortInfo) GetBaseInfo() PortBaseInfo { + return u.BaseInfo } -func (u *PortInfo) GetClassWithDefault(_default DeviceClass) DeviceClass { - if !u.HasClass() { +func (u *PortInfo) GetBaseInfoWithDefault(_default PortBaseInfo) PortBaseInfo { + if !u.HasBaseInfo() { return _default } - return u.Class + return u.BaseInfo } -func (u *PortInfo) HasClass() bool { - return u.ClassPresent +func (u *PortInfo) HasBaseInfo() bool { + return u.BaseInfoPresent } -func (u *PortInfo) ClearClass() { - u.ClassPresent = false -} - -func (u *PortInfo) SetRxTypes(rxTypes []FrameType) { - u.RxTypes = rxTypes - u.RxTypesPresent = true -} - -func (u *PortInfo) GetRxTypes() []FrameType { - return u.RxTypes -} - -func (u *PortInfo) GetRxTypesWithDefault(_default []FrameType) []FrameType { - if !u.HasRxTypes() { - return _default - } - return u.RxTypes -} - -func (u *PortInfo) HasRxTypes() bool { - return u.RxTypesPresent -} - -func (u *PortInfo) ClearRxTypes() { - u.RxTypesPresent = false -} - -func (u *PortInfo) SetTxTypes(txTypes []FrameTypeSupport) { - u.TxTypes = txTypes - u.TxTypesPresent = true -} - -func (u *PortInfo) GetTxTypes() []FrameTypeSupport { - return u.TxTypes -} - -func (u *PortInfo) GetTxTypesWithDefault(_default []FrameTypeSupport) []FrameTypeSupport { - if !u.HasTxTypes() { - return _default - } - return u.TxTypes -} - -func (u *PortInfo) HasTxTypes() bool { - return u.TxTypesPresent -} - -func (u *PortInfo) ClearTxTypes() { - u.TxTypesPresent = false +func (u *PortInfo) ClearBaseInfo() { + u.BaseInfoPresent = false } func (u *PortInfo) HasUnknownData() bool { @@ -2578,133 +2719,6 @@ return u.I_unknownData.(map[uint64]_bindings.UnknownData) } -type PortGetCountersResponse struct { - _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` - I_unknownData interface{} - // The total number of ingress frames on this port. - RxFrames uint64 `fidl_ordinal:"1"` - RxFramesPresent bool - // The total number of ingress bytes on this port. - RxBytes uint64 `fidl_ordinal:"2"` - RxBytesPresent bool - // The total number of egress frames on this port. - TxFrames uint64 `fidl_ordinal:"3"` - TxFramesPresent bool - // The total number of egress bytes on this port. - TxBytes uint64 `fidl_ordinal:"4"` - TxBytesPresent bool -} - -var _mPortGetCountersResponse = _bindings.CreateLazyMarshaler(PortGetCountersResponse{}) - -func (msg *PortGetCountersResponse) Marshaler() _bindings.Marshaler { - return _mPortGetCountersResponse -} - -func (u *PortGetCountersResponse) SetRxFrames(rxFrames uint64) { - u.RxFrames = rxFrames - u.RxFramesPresent = true -} - -func (u *PortGetCountersResponse) GetRxFrames() uint64 { - return u.RxFrames -} - -func (u *PortGetCountersResponse) GetRxFramesWithDefault(_default uint64) uint64 { - if !u.HasRxFrames() { - return _default - } - return u.RxFrames -} - -func (u *PortGetCountersResponse) HasRxFrames() bool { - return u.RxFramesPresent -} - -func (u *PortGetCountersResponse) ClearRxFrames() { - u.RxFramesPresent = false -} - -func (u *PortGetCountersResponse) SetRxBytes(rxBytes uint64) { - u.RxBytes = rxBytes - u.RxBytesPresent = true -} - -func (u *PortGetCountersResponse) GetRxBytes() uint64 { - return u.RxBytes -} - -func (u *PortGetCountersResponse) GetRxBytesWithDefault(_default uint64) uint64 { - if !u.HasRxBytes() { - return _default - } - return u.RxBytes -} - -func (u *PortGetCountersResponse) HasRxBytes() bool { - return u.RxBytesPresent -} - -func (u *PortGetCountersResponse) ClearRxBytes() { - u.RxBytesPresent = false -} - -func (u *PortGetCountersResponse) SetTxFrames(txFrames uint64) { - u.TxFrames = txFrames - u.TxFramesPresent = true -} - -func (u *PortGetCountersResponse) GetTxFrames() uint64 { - return u.TxFrames -} - -func (u *PortGetCountersResponse) GetTxFramesWithDefault(_default uint64) uint64 { - if !u.HasTxFrames() { - return _default - } - return u.TxFrames -} - -func (u *PortGetCountersResponse) HasTxFrames() bool { - return u.TxFramesPresent -} - -func (u *PortGetCountersResponse) ClearTxFrames() { - u.TxFramesPresent = false -} - -func (u *PortGetCountersResponse) SetTxBytes(txBytes uint64) { - u.TxBytes = txBytes - u.TxBytesPresent = true -} - -func (u *PortGetCountersResponse) GetTxBytes() uint64 { - return u.TxBytes -} - -func (u *PortGetCountersResponse) GetTxBytesWithDefault(_default uint64) uint64 { - if !u.HasTxBytes() { - return _default - } - return u.TxBytes -} - -func (u *PortGetCountersResponse) HasTxBytes() bool { - return u.TxBytesPresent -} - -func (u *PortGetCountersResponse) ClearTxBytes() { - u.TxBytesPresent = false -} - -func (u *PortGetCountersResponse) HasUnknownData() bool { - return u.I_unknownData != nil -} - -func (u *PortGetCountersResponse) GetUnknownData() map[uint64]_bindings.UnknownData { - return u.I_unknownData.(map[uint64]_bindings.UnknownData) -} - const ( DeviceGetInfoOrdinal uint64 = 0x3c500ca9341e8f56 DeviceOpenSessionOrdinal uint64 = 0x25940b82146dcf67 @@ -2720,7 +2734,7 @@ // - response `info` device information. func (p *DeviceWithCtxInterface) GetInfo(ctx_ _bindings.Context) (DeviceInfo, error) { var req_ _bindings.Message - resp_ := &deviceWithCtxGetInfoResponse{} + resp_ := &DeviceGetInfoResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DeviceGetInfoOrdinal, req_, resp_) return (*resp_).Info, err_ } @@ -2740,10 +2754,10 @@ // * error `ZX_ERR_INTERNAL` if the data VMO is rejected by the underlying // device. func (p *DeviceWithCtxInterface) OpenSession(ctx_ _bindings.Context, sessionName string, sessionInfo SessionInfo) (DeviceOpenSessionResult, error) { - req_ := &deviceWithCtxOpenSessionRequest{SessionName: sessionName, SessionInfo: sessionInfo} - resp_ := &deviceWithCtxOpenSessionResponse{} + req_ := &DeviceOpenSessionRequest{SessionName: sessionName, SessionInfo: sessionInfo} + resp_ := &DeviceOpenSessionResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DeviceOpenSessionOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Connects to a port the given `id`. @@ -2754,7 +2768,7 @@ // `port` is closed with a `ZX_ERR_NOT_FOUND` epitaph if no port with `id` // exists. func (p *DeviceWithCtxInterface) GetPort(ctx_ _bindings.Context, id PortId, port PortWithCtxInterfaceRequest) error { - req_ := &deviceWithCtxGetPortRequest{Id: id, Port: port} + req_ := &DeviceGetPortRequest{Id: id, Port: port} err_ := ((*_bindings.ChannelProxy)(p)).Send(DeviceGetPortOrdinal, req_) return err_ } @@ -2763,7 +2777,7 @@ // // + request `watcher` server end of watcher channel. func (p *DeviceWithCtxInterface) GetPortWatcher(ctx_ _bindings.Context, watcher PortWatcherWithCtxInterfaceRequest) error { - req_ := &deviceWithCtxGetPortWatcherRequest{Watcher: watcher} + req_ := &DeviceGetPortWatcherRequest{Watcher: watcher} err_ := ((*_bindings.ChannelProxy)(p)).Send(DeviceGetPortWatcherOrdinal, req_) return err_ } @@ -2772,7 +2786,7 @@ // // + request `device` the server end for the new connection. func (p *DeviceWithCtxInterface) Clone(ctx_ _bindings.Context, device DeviceWithCtxInterfaceRequest) error { - req_ := &deviceWithCtxCloneRequest{Device: device} + req_ := &DeviceCloneRequest{Device: device} err_ := ((*_bindings.ChannelProxy)(p)).Send(DeviceCloneOrdinal, req_) return err_ } @@ -2833,10 +2847,10 @@ switch args_.Ordinal { case DeviceGetInfoOrdinal: info, err_ := s_.Impl.GetInfo(args_.Ctx) - out_ := &deviceWithCtxGetInfoResponse{Info: info} + out_ := &DeviceGetInfoResponse{Info: info} return out_, true, err_ case DeviceOpenSessionOrdinal: - in_ := &deviceWithCtxOpenSessionRequest{} + in_ := &DeviceOpenSessionRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -2844,11 +2858,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.OpenSession(args_.Ctx, (*in_).SessionName, (*in_).SessionInfo) - out_ := &deviceWithCtxOpenSessionResponse{Result: result} + payload, err_ := s_.Impl.OpenSession(args_.Ctx, (*in_).SessionName, (*in_).SessionInfo) + out_ := &payload return out_, true, err_ case DeviceGetPortOrdinal: - in_ := &deviceWithCtxGetPortRequest{} + in_ := &DeviceGetPortRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -2859,7 +2873,7 @@ err_ := s_.Impl.GetPort(args_.Ctx, (*in_).Id, (*in_).Port) return nil, false, err_ case DeviceGetPortWatcherOrdinal: - in_ := &deviceWithCtxGetPortWatcherRequest{} + in_ := &DeviceGetPortWatcherRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -2870,7 +2884,7 @@ err_ := s_.Impl.GetPortWatcher(args_.Ctx, (*in_).Watcher) return nil, false, err_ case DeviceCloneOrdinal: - in_ := &deviceWithCtxCloneRequest{} + in_ := &DeviceCloneRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -2896,7 +2910,7 @@ // // + request `device` device handle. func (p *DeviceInstanceWithCtxInterface) GetDevice(ctx_ _bindings.Context, device DeviceWithCtxInterfaceRequest) error { - req_ := &deviceInstanceWithCtxGetDeviceRequest{Device: device} + req_ := &DeviceInstanceGetDeviceRequest{Device: device} err_ := ((*_bindings.ChannelProxy)(p)).Send(DeviceInstanceGetDeviceOrdinal, req_) return err_ } @@ -2925,7 +2939,7 @@ func (s_ *DeviceInstanceWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case DeviceInstanceGetDeviceOrdinal: - in_ := &deviceInstanceWithCtxGetDeviceRequest{} + in_ := &DeviceInstanceGetDeviceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3013,7 +3027,7 @@ // - response `address` device's unicast MAC address. func (p *MacAddressingWithCtxInterface) GetUnicastAddress(ctx_ _bindings.Context) (fuchsianet.MacAddress, error) { var req_ _bindings.Message - resp_ := &macAddressingWithCtxGetUnicastAddressResponse{} + resp_ := &MacAddressingGetUnicastAddressResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(MacAddressingGetUnicastAddressOrdinal, req_, resp_) return (*resp_).Address, err_ } @@ -3038,8 +3052,8 @@ // - response `status` `ZX_ERR_NOT_SUPPORTED` it the device only supports // mode more restrictive than the one requested. func (p *MacAddressingWithCtxInterface) SetMode(ctx_ _bindings.Context, mode MacFilterMode) (int32, error) { - req_ := &macAddressingWithCtxSetModeRequest{Mode: mode} - resp_ := &macAddressingWithCtxSetModeResponse{} + req_ := &MacAddressingSetModeRequest{Mode: mode} + resp_ := &MacAddressingSetModeResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(MacAddressingSetModeOrdinal, req_, resp_) return (*resp_).Status, err_ } @@ -3054,8 +3068,8 @@ // - response `status` `ZX_ERR_INVALID_ARGS` if `address` is not a // multicast address. func (p *MacAddressingWithCtxInterface) AddMulticastAddress(ctx_ _bindings.Context, address fuchsianet.MacAddress) (int32, error) { - req_ := &macAddressingWithCtxAddMulticastAddressRequest{Address: address} - resp_ := &macAddressingWithCtxAddMulticastAddressResponse{} + req_ := &MacAddressingAddMulticastAddressRequest{Address: address} + resp_ := &MacAddressingAddMulticastAddressResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(MacAddressingAddMulticastAddressOrdinal, req_, resp_) return (*resp_).Status, err_ } @@ -3066,8 +3080,8 @@ // - response `status` `ZX_ERR_INVALID_ARGS` if `address` is not a // multicast address. func (p *MacAddressingWithCtxInterface) RemoveMulticastAddress(ctx_ _bindings.Context, address fuchsianet.MacAddress) (int32, error) { - req_ := &macAddressingWithCtxRemoveMulticastAddressRequest{Address: address} - resp_ := &macAddressingWithCtxRemoveMulticastAddressResponse{} + req_ := &MacAddressingRemoveMulticastAddressRequest{Address: address} + resp_ := &MacAddressingRemoveMulticastAddressResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(MacAddressingRemoveMulticastAddressOrdinal, req_, resp_) return (*resp_).Status, err_ } @@ -3139,10 +3153,10 @@ switch args_.Ordinal { case MacAddressingGetUnicastAddressOrdinal: address, err_ := s_.Impl.GetUnicastAddress(args_.Ctx) - out_ := &macAddressingWithCtxGetUnicastAddressResponse{Address: address} + out_ := &MacAddressingGetUnicastAddressResponse{Address: address} return out_, true, err_ case MacAddressingSetModeOrdinal: - in_ := &macAddressingWithCtxSetModeRequest{} + in_ := &MacAddressingSetModeRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3151,10 +3165,10 @@ return nil, false, err_ } status, err_ := s_.Impl.SetMode(args_.Ctx, (*in_).Mode) - out_ := &macAddressingWithCtxSetModeResponse{Status: status} + out_ := &MacAddressingSetModeResponse{Status: status} return out_, true, err_ case MacAddressingAddMulticastAddressOrdinal: - in_ := &macAddressingWithCtxAddMulticastAddressRequest{} + in_ := &MacAddressingAddMulticastAddressRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3163,10 +3177,10 @@ return nil, false, err_ } status, err_ := s_.Impl.AddMulticastAddress(args_.Ctx, (*in_).Address) - out_ := &macAddressingWithCtxAddMulticastAddressResponse{Status: status} + out_ := &MacAddressingAddMulticastAddressResponse{Status: status} return out_, true, err_ case MacAddressingRemoveMulticastAddressOrdinal: - in_ := &macAddressingWithCtxRemoveMulticastAddressRequest{} + in_ := &MacAddressingRemoveMulticastAddressRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3175,7 +3189,7 @@ return nil, false, err_ } status, err_ := s_.Impl.RemoveMulticastAddress(args_.Ctx, (*in_).Address) - out_ := &macAddressingWithCtxRemoveMulticastAddressResponse{Status: status} + out_ := &MacAddressingRemoveMulticastAddressResponse{Status: status} return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -3201,7 +3215,7 @@ // - response `info` port information. func (p *PortWithCtxInterface) GetInfo(ctx_ _bindings.Context) (PortInfo, error) { var req_ _bindings.Message - resp_ := &portWithCtxGetInfoResponse{} + resp_ := &PortGetInfoResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(PortGetInfoOrdinal, req_, resp_) return (*resp_).Info, err_ } @@ -3211,7 +3225,7 @@ // - response `status` snapshot of port's current status. func (p *PortWithCtxInterface) GetStatus(ctx_ _bindings.Context) (PortStatus, error) { var req_ _bindings.Message - resp_ := &portWithCtxGetStatusResponse{} + resp_ := &PortGetStatusResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(PortGetStatusOrdinal, req_, resp_) return (*resp_).Status, err_ } @@ -3228,7 +3242,7 @@ // If `StatusWatcher`'s internal queue is filled and new status changes // occur, the oldest samples will be dropped to make room for new ones. func (p *PortWithCtxInterface) GetStatusWatcher(ctx_ _bindings.Context, watcher StatusWatcherWithCtxInterfaceRequest, buffer uint32) error { - req_ := &portWithCtxGetStatusWatcherRequest{Watcher: watcher, Buffer: buffer} + req_ := &PortGetStatusWatcherRequest{Watcher: watcher, Buffer: buffer} err_ := ((*_bindings.ChannelProxy)(p)).Send(PortGetStatusWatcherOrdinal, req_) return err_ } @@ -3238,7 +3252,7 @@ // + request `mac` mac handle. Closed with `ZX_ERR_NOT_SUPPORTED` if this // port does not support mac addressing. func (p *PortWithCtxInterface) GetMac(ctx_ _bindings.Context, mac MacAddressingWithCtxInterfaceRequest) error { - req_ := &portWithCtxGetMacRequest{Mac: mac} + req_ := &PortGetMacRequest{Mac: mac} err_ := ((*_bindings.ChannelProxy)(p)).Send(PortGetMacOrdinal, req_) return err_ } @@ -3247,7 +3261,7 @@ // // + request `device` grants access to the parent device. func (p *PortWithCtxInterface) GetDevice(ctx_ _bindings.Context, device DeviceWithCtxInterfaceRequest) error { - req_ := &portWithCtxGetDeviceRequest{Device: device} + req_ := &PortGetDeviceRequest{Device: device} err_ := ((*_bindings.ChannelProxy)(p)).Send(PortGetDeviceOrdinal, req_) return err_ } @@ -3256,7 +3270,7 @@ // // + request `port` the server end for the new connection. func (p *PortWithCtxInterface) Clone(ctx_ _bindings.Context, port PortWithCtxInterfaceRequest) error { - req_ := &portWithCtxCloneRequest{Port: port} + req_ := &PortCloneRequest{Port: port} err_ := ((*_bindings.ChannelProxy)(p)).Send(PortCloneOrdinal, req_) return err_ } @@ -3273,7 +3287,7 @@ // // + request `diagnostics` grants access to diagnostics information. func (p *PortWithCtxInterface) GetDiagnostics(ctx_ _bindings.Context, diagnostics DiagnosticsWithCtxInterfaceRequest) error { - req_ := &portWithCtxGetDiagnosticsRequest{Diagnostics: diagnostics} + req_ := &PortGetDiagnosticsRequest{Diagnostics: diagnostics} err_ := ((*_bindings.ChannelProxy)(p)).Send(PortGetDiagnosticsOrdinal, req_) return err_ } @@ -3338,14 +3352,14 @@ switch args_.Ordinal { case PortGetInfoOrdinal: info, err_ := s_.Impl.GetInfo(args_.Ctx) - out_ := &portWithCtxGetInfoResponse{Info: info} + out_ := &PortGetInfoResponse{Info: info} return out_, true, err_ case PortGetStatusOrdinal: status, err_ := s_.Impl.GetStatus(args_.Ctx) - out_ := &portWithCtxGetStatusResponse{Status: status} + out_ := &PortGetStatusResponse{Status: status} return out_, true, err_ case PortGetStatusWatcherOrdinal: - in_ := &portWithCtxGetStatusWatcherRequest{} + in_ := &PortGetStatusWatcherRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3356,7 +3370,7 @@ err_ := s_.Impl.GetStatusWatcher(args_.Ctx, (*in_).Watcher, (*in_).Buffer) return nil, false, err_ case PortGetMacOrdinal: - in_ := &portWithCtxGetMacRequest{} + in_ := &PortGetMacRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3367,7 +3381,7 @@ err_ := s_.Impl.GetMac(args_.Ctx, (*in_).Mac) return nil, false, err_ case PortGetDeviceOrdinal: - in_ := &portWithCtxGetDeviceRequest{} + in_ := &PortGetDeviceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3378,7 +3392,7 @@ err_ := s_.Impl.GetDevice(args_.Ctx, (*in_).Device) return nil, false, err_ case PortCloneOrdinal: - in_ := &portWithCtxCloneRequest{} + in_ := &PortCloneRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3393,7 +3407,7 @@ out_ := &payload return out_, true, err_ case PortGetDiagnosticsOrdinal: - in_ := &portWithCtxGetDiagnosticsRequest{} + in_ := &PortGetDiagnosticsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3431,7 +3445,7 @@ // - response `event` next port event. func (p *PortWatcherWithCtxInterface) Watch(ctx_ _bindings.Context) (DevicePortEvent, error) { var req_ _bindings.Message - resp_ := &portWatcherWithCtxWatchResponse{} + resp_ := &PortWatcherWatchResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(PortWatcherWatchOrdinal, req_, resp_) return (*resp_).Event, err_ } @@ -3472,7 +3486,7 @@ switch args_.Ordinal { case PortWatcherWatchOrdinal: event, err_ := s_.Impl.Watch(args_.Ctx) - out_ := &portWatcherWithCtxWatchResponse{Event: event} + out_ := &PortWatcherWatchResponse{Event: event} return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -3500,10 +3514,10 @@ // port's supported frames. // * error `ZX_ERR_ALREADY_BOUND` if `port` is already attached. func (p *SessionWithCtxInterface) Attach(ctx_ _bindings.Context, port PortId, rxFrames []FrameType) (SessionAttachResult, error) { - req_ := &sessionWithCtxAttachRequest{Port: port, RxFrames: rxFrames} - resp_ := &sessionWithCtxAttachResponse{} + req_ := &SessionAttachRequest{Port: port, RxFrames: rxFrames} + resp_ := &SessionAttachResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SessionAttachOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Detaches the session from `port`. @@ -3517,10 +3531,10 @@ // * error `ZX_ERR_NOT_FOUND` if the session is not currently attached to // the port. func (p *SessionWithCtxInterface) Detach(ctx_ _bindings.Context, port PortId) (SessionDetachResult, error) { - req_ := &sessionWithCtxDetachRequest{Port: port} - resp_ := &sessionWithCtxDetachResponse{} + req_ := &SessionDetachRequest{Port: port} + resp_ := &SessionDetachResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SessionDetachOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Cleanly closes a session. @@ -3612,7 +3626,7 @@ func (s_ *SessionWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case SessionAttachOrdinal: - in_ := &sessionWithCtxAttachRequest{} + in_ := &SessionAttachRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3620,11 +3634,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Attach(args_.Ctx, (*in_).Port, (*in_).RxFrames) - out_ := &sessionWithCtxAttachResponse{Result: result} + payload, err_ := s_.Impl.Attach(args_.Ctx, (*in_).Port, (*in_).RxFrames) + out_ := &payload return out_, true, err_ case SessionDetachOrdinal: - in_ := &sessionWithCtxDetachRequest{} + in_ := &SessionDetachRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -3632,8 +3646,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Detach(args_.Ctx, (*in_).Port) - out_ := &sessionWithCtxDetachResponse{Result: result} + payload, err_ := s_.Impl.Detach(args_.Ctx, (*in_).Port) + out_ := &payload return out_, true, err_ case SessionCloseOrdinal: err_ := s_.Impl.Close(args_.Ctx) @@ -3663,7 +3677,7 @@ // - response `device_status` the most recent port status. func (p *StatusWatcherWithCtxInterface) WatchStatus(ctx_ _bindings.Context) (PortStatus, error) { var req_ _bindings.Message - resp_ := &statusWatcherWithCtxWatchStatusResponse{} + resp_ := &StatusWatcherWatchStatusResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StatusWatcherWatchStatusOrdinal, req_, resp_) return (*resp_).PortStatus, err_ } @@ -3701,7 +3715,7 @@ switch args_.Ordinal { case StatusWatcherWatchStatusOrdinal: portStatus, err_ := s_.Impl.WatchStatus(args_.Ctx) - out_ := &statusWatcherWithCtxWatchStatusResponse{PortStatus: portStatus} + out_ := &StatusWatcherWatchStatusResponse{PortStatus: portStatus} return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal
diff --git a/src/syscall/zx/io/impl.go b/src/syscall/zx/io/impl.go index 86ca657..c1cd98e 100644 --- a/src/syscall/zx/io/impl.go +++ b/src/syscall/zx/io/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package io import ( @@ -18,22 +16,26 @@ ) const ( - CloseAll InotifyWatchMask = 24 - DirectoryProtocolName string = "fuchsia.io/Directory" - FileProtocolName string = "fuchsia.io/File" + DirectoryProtocolName_ string = "fuchsia.io/Directory" + FileProtocolName_ string = "fuchsia.io/File" // Nodes which do not have ino values should return this value // from Readdir and GetAttr. InoUnknown uint64 = 18446744073709551615 + // The maximum size for an extended attribute name. + MaxAttributeName_ uint64 = 255 // The maximal buffer size which can be transmitted for buffered operations. // This capacity is currently set somewhat arbitrarily. MaxBuf uint64 = 8192 // The maximum length, in bytes, of a single filesystem component. MaxFilename uint64 = 255 MaxFsNameBuffer uint64 = 32 + // The maximum size for an extended attribute value to be included inline. + // Values larger than this size are passed in a vmo. + MaxInlineAttributeValue uint64 = 32768 + // The maximum size of a chunk in the ListExtendedAttributes iterator. + MaxListAttributesChunk uint64 = 128 // The maximum length, in bytes, of a single filesystem component. MaxNameLength uint64 = 255 - // The maximum length, in bytes, of a filesystem string. - MaxPath uint64 = 4096 // The maximum length, in bytes, of a filesystem path. MaxPathLength uint64 = 4095 // The maximum I/O size that is allowed for read/write operations using @@ -50,10 +52,10 @@ // Bits indicating node type. The canonical mechanism to check // for a node type is to take 'mode', bitwise AND it with the // `MODE_TYPE_MASK`, and check exact equality against a mode type. - ModeTypeMask uint32 = 1044480 - ModeTypeService uint32 = 65536 - Move InotifyWatchMask = 192 - NodeProtocolName string = "fuchsia.io/Node" + ModeTypeMask uint32 = 1044480 + ModeTypeService uint32 = 65536 + ModeTypeSymlink uint32 = 40960 + NodeProtocolName_ string = "fuchsia.io/Node" // Flags used when opening a node reference must fall within this mask. OpenFlagsAllowedWithNodeReference OpenFlags = 46661632 // All known rights. @@ -63,13 +65,24 @@ // Alias for directory permission alias rx* RxStarDir Operations = 219 // Alias for directory permission alias r* - RStarDir Operations = 211 + RStarDir Operations = 211 + SymlinkProtocolName_ string = "fuchsia.io/Symlink" // Alias for directory permission alias w* WStarDir Operations = 485 // Alias for directory permission alias x* XStarDir Operations = 201 ) +type Abilities = Operations +type ExtendedAttributeName_ = []uint8 +type Id = uint64 +type Name_ = string +type Path = string +type Rights = Operations +type SymlinkTarget = []uint8 +type Token = _zx.Event +type Transfer = []uint8 + var _ _bindings.Enum = AdvisoryLockType(0) type AdvisoryLockType uint32 @@ -142,6 +155,9 @@ // A dirent representing a file object. DirentTypeFile DirentType = 8 + // A symbolic link. + DirentTypeSymlink DirentType = 10 + // A dirent representing a service object. DirentTypeService DirentType = 16 ) @@ -152,6 +168,7 @@ DirentTypeDirectory, DirentTypeBlockDevice, DirentTypeFile, + DirentTypeSymlink, DirentTypeService, } } @@ -170,6 +187,8 @@ return false case 8: return false + case 10: + return false case 16: return false } @@ -186,12 +205,59 @@ return "BlockDevice" case 8: return "File" + case 10: + return "Symlink" case 16: return "Service" } return "Unknown" } +var _ _bindings.Enum = HashAlgorithm(0) + +// Denotes which hash algorithm is used to build the merkle tree for +// fsverity-enabled files. +type HashAlgorithm uint8 + +const ( + HashAlgorithmSha256 HashAlgorithm = 1 + HashAlgorithmSha512 HashAlgorithm = 2 + + // HashAlgorithm_Unknown is the default unknown placeholder. + HashAlgorithm_Unknown HashAlgorithm = 0xff +) + +func (_ HashAlgorithm) I_EnumValues() []HashAlgorithm { + return []HashAlgorithm{ + HashAlgorithmSha256, + HashAlgorithmSha512, + } +} + +func (_ HashAlgorithm) I_EnumIsStrict() bool { + return false +} + +func (x HashAlgorithm) IsUnknown() bool { + switch x { + case 1: + return false + case 2: + return false + } + return true +} + +func (x HashAlgorithm) String() string { + switch x { + case 1: + return "Sha256" + case 2: + return "Sha512" + } + return "Unknown" +} + var _ _bindings.Enum = OpenMode(0) type OpenMode uint32 @@ -248,66 +314,6 @@ return "Unknown" } -var _ _bindings.Enum = RightsResolution(0) - -type RightsResolution uint32 - -const ( - - // The rights will be the intersection between [`RightsRequest.at_most`] - // and the connection where the `Open`/`Reopen` request was received, - // closing `object_request` with `ZX_ERR_ACCESS_DENIED` if it is empty. - RightsResolutionMaximize RightsResolution = 1 - - // The rights will be determined by the following rules: - // - // * If the negotiated protocol on the new connection is - // [`Directory`], the rules from the `MAXIMIZE` case applies. - // * Otherwise, the rights will be [`RightsRequest.at_least`] if it - // does not exceed rights on the current connection. - // * Otherwise, `object_request` should be closed with - // `ZX_ERR_ACCESS_DENIED`. - // - // The motivation for this enum is to facilitate implementing POSIX - // compatibility layers. The POSIX file permission model relies on ambient - // authority: access control on files are resolved based on the `mode` of - // the file, and the current user. There is no concept of hierarchical - // permissions. Fuchsia, on the other hand, restricts rights on file - // connections to never exceed that of its containing directory connection. - RightsResolutionPosix RightsResolution = 2 -) - -func (_ RightsResolution) I_EnumValues() []RightsResolution { - return []RightsResolution{ - RightsResolutionMaximize, - RightsResolutionPosix, - } -} - -func (_ RightsResolution) I_EnumIsStrict() bool { - return true -} - -func (x RightsResolution) IsUnknown() bool { - switch x { - case 1: - return false - case 2: - return false - } - return true -} - -func (x RightsResolution) String() string { - switch x { - case 1: - return "Maximize" - case 2: - return "Posix" - } - return "Unknown" -} - var _ _bindings.Enum = SeekOrigin(0) // The reference point for updating the seek offset. See [`File.Seek`]. @@ -367,6 +373,60 @@ return "Unknown" } +var _ _bindings.Enum = SetExtendedAttributeMode(0) + +type SetExtendedAttributeMode uint32 + +const ( + + // Set the value of the extended attribute regardless of whether it + // already exists. + SetExtendedAttributeModeSet SetExtendedAttributeMode = 1 + + // Create a new extended attribute. Fail if it already exists. + SetExtendedAttributeModeCreate SetExtendedAttributeMode = 2 + + // Replace the value of an existing extended attribute. Fail if it + // doesn't already exist. + SetExtendedAttributeModeReplace SetExtendedAttributeMode = 3 +) + +func (_ SetExtendedAttributeMode) I_EnumValues() []SetExtendedAttributeMode { + return []SetExtendedAttributeMode{ + SetExtendedAttributeModeSet, + SetExtendedAttributeModeCreate, + SetExtendedAttributeModeReplace, + } +} + +func (_ SetExtendedAttributeMode) I_EnumIsStrict() bool { + return true +} + +func (x SetExtendedAttributeMode) IsUnknown() bool { + switch x { + case 1: + return false + case 2: + return false + case 3: + return false + } + return true +} + +func (x SetExtendedAttributeMode) String() string { + switch x { + case 1: + return "Set" + case 2: + return "Create" + case 3: + return "Replace" + } + return "Unknown" +} + var _ _bindings.Enum = WatchEvent(0) type WatchEvent uint8 @@ -437,6 +497,94 @@ return "Unknown" } +var _ _bindings.Bits = AllocateMode(0) + +type AllocateMode uint32 + +const ( + AllocateModeKeepSize AllocateMode = 1 + AllocateModeUnshareRange AllocateMode = 2 + AllocateModePunchHole AllocateMode = 4 + AllocateModeCollapseRange AllocateMode = 8 + AllocateModeZeroRange AllocateMode = 16 + AllocateModeInsertRange AllocateMode = 32 + AllocateMode_Mask AllocateMode = 63 +) + +func (_ AllocateMode) I_BitsMask() AllocateMode { + return AllocateMode_Mask +} + +func (_ AllocateMode) I_BitsIsStrict() bool { + return false +} + +func (x AllocateMode) HasUnknownBits() bool { + return x.GetUnknownBits() != 0 +} + +func (x AllocateMode) GetUnknownBits() uint64 { + return uint64(^AllocateMode_Mask & x) +} + +func (x AllocateMode) InvertBits() AllocateMode { + return AllocateMode_Mask & ^x +} + +// HasBits validates that all flipped bits in the mask are set. +func (x AllocateMode) HasBits(mask AllocateMode) bool { + return mask|x == x +} + +// ClearBits ensures all flipped bits in the mask are unset. +func (x AllocateMode) ClearBits(mask AllocateMode) AllocateMode { + return ^mask & x +} + +func (x AllocateMode) String() string { + var buf _strings.Builder + if 1&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("KeepSize") + } + if 2&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("UnshareRange") + } + if 4&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("PunchHole") + } + if 8&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("CollapseRange") + } + if 16&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("ZeroRange") + } + if 32&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("InsertRange") + } + if buf.Len() == 0 { + buf.WriteString("<empty bits>") + } + return buf.String() +} + var _ _bindings.Bits = ConnectorFlags(0) type ConnectorFlags uint64 @@ -483,52 +631,6 @@ return buf.String() } -var _ _bindings.Bits = DirectoryProtocolFlags(0) - -type DirectoryProtocolFlags uint64 - -const ( - DirectoryProtocolFlags_Mask DirectoryProtocolFlags = 0 -) - -func (_ DirectoryProtocolFlags) I_BitsMask() DirectoryProtocolFlags { - return DirectoryProtocolFlags_Mask -} - -func (_ DirectoryProtocolFlags) I_BitsIsStrict() bool { - return false -} - -func (x DirectoryProtocolFlags) HasUnknownBits() bool { - return x.GetUnknownBits() != 0 -} - -func (x DirectoryProtocolFlags) GetUnknownBits() uint64 { - return uint64(^DirectoryProtocolFlags_Mask & x) -} - -func (x DirectoryProtocolFlags) InvertBits() DirectoryProtocolFlags { - return DirectoryProtocolFlags_Mask & ^x -} - -// HasBits validates that all flipped bits in the mask are set. -func (x DirectoryProtocolFlags) HasBits(mask DirectoryProtocolFlags) bool { - return mask|x == x -} - -// ClearBits ensures all flipped bits in the mask are unset. -func (x DirectoryProtocolFlags) ClearBits(mask DirectoryProtocolFlags) DirectoryProtocolFlags { - return ^mask & x -} - -func (x DirectoryProtocolFlags) String() string { - var buf _strings.Builder - if buf.Len() == 0 { - buf.WriteString("<empty bits>") - } - return buf.String() -} - var _ _bindings.Bits = FileProtocolFlags(0) type FileProtocolFlags uint64 @@ -649,215 +751,13 @@ return buf.String() } -var _ _bindings.Bits = InotifyWatchMask(0) - -// Used by InotifyAddWatch to indicate the server the events to be watched on. -// Also used by [`Node.Inotify`] to indicate the types of events -// that occurred on server side, to be notified to clients. See InotifyEvent. -type InotifyWatchMask uint32 - -const ( - InotifyWatchMaskAccess InotifyWatchMask = 1 - InotifyWatchMaskModify InotifyWatchMask = 2 - InotifyWatchMaskAttrib InotifyWatchMask = 4 - InotifyWatchMaskCloseWrite InotifyWatchMask = 8 - InotifyWatchMaskCloseNowrite InotifyWatchMask = 16 - InotifyWatchMaskOpen InotifyWatchMask = 32 - InotifyWatchMaskMovedFrom InotifyWatchMask = 64 - InotifyWatchMaskMovedTo InotifyWatchMask = 128 - InotifyWatchMaskCreate InotifyWatchMask = 256 - InotifyWatchMaskDelete InotifyWatchMask = 512 - InotifyWatchMaskDeleteSelf InotifyWatchMask = 1024 - InotifyWatchMaskMoveSelf InotifyWatchMask = 2048 - InotifyWatchMaskUnmount InotifyWatchMask = 8192 - InotifyWatchMaskQOverflow InotifyWatchMask = 16384 - InotifyWatchMaskIgnored InotifyWatchMask = 32768 - InotifyWatchMaskOnlydir InotifyWatchMask = 16777216 - InotifyWatchMaskDontFollow InotifyWatchMask = 33554432 - InotifyWatchMaskExclUnlink InotifyWatchMask = 67108864 - InotifyWatchMaskMaskCreate InotifyWatchMask = 268435456 - InotifyWatchMaskMaskAdd InotifyWatchMask = 536870912 - InotifyWatchMaskIsdirectory InotifyWatchMask = 1073741824 - InotifyWatchMaskOneshot InotifyWatchMask = 2147483648 - InotifyWatchMask_Mask InotifyWatchMask = 4144033791 -) - -func (_ InotifyWatchMask) I_BitsMask() InotifyWatchMask { - return InotifyWatchMask_Mask -} - -func (_ InotifyWatchMask) I_BitsIsStrict() bool { - return true -} - -func (x InotifyWatchMask) HasUnknownBits() bool { - return x.GetUnknownBits() != 0 -} - -func (x InotifyWatchMask) GetUnknownBits() uint64 { - return uint64(^InotifyWatchMask_Mask & x) -} - -func (x InotifyWatchMask) InvertBits() InotifyWatchMask { - return InotifyWatchMask_Mask & ^x -} - -// HasBits validates that all flipped bits in the mask are set. -func (x InotifyWatchMask) HasBits(mask InotifyWatchMask) bool { - return mask|x == x -} - -// ClearBits ensures all flipped bits in the mask are unset. -func (x InotifyWatchMask) ClearBits(mask InotifyWatchMask) InotifyWatchMask { - return ^mask & x -} - -func (x InotifyWatchMask) String() string { - var buf _strings.Builder - if 1&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Access") - } - if 2&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Modify") - } - if 4&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Attrib") - } - if 8&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("CloseWrite") - } - if 16&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("CloseNowrite") - } - if 32&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Open") - } - if 64&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("MovedFrom") - } - if 128&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("MovedTo") - } - if 256&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Create") - } - if 512&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Delete") - } - if 1024&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("DeleteSelf") - } - if 2048&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("MoveSelf") - } - if 8192&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Unmount") - } - if 16384&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("QOverflow") - } - if 32768&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Ignored") - } - if 16777216&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Onlydir") - } - if 33554432&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("DontFollow") - } - if 67108864&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("ExclUnlink") - } - if 268435456&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("MaskCreate") - } - if 536870912&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("MaskAdd") - } - if 1073741824&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Isdirectory") - } - if 2147483648&x != 0 { - if buf.Len() != 0 { - buf.WriteRune('|') - } - buf.WriteString("Oneshot") - } - if buf.Len() == 0 { - buf.WriteString("<empty bits>") - } - return buf.String() -} - var _ _bindings.Bits = ModeType(0) type ModeType uint32 const ( - ModeType_Mask ModeType = 0 + ModeTypeDoNotUse ModeType = 2147483648 + ModeType_Mask ModeType = 2147483648 ) func (_ ModeType) I_BitsMask() ModeType { @@ -865,7 +765,7 @@ } func (_ ModeType) I_BitsIsStrict() bool { - return false + return true } func (x ModeType) HasUnknownBits() bool { @@ -892,6 +792,12 @@ func (x ModeType) String() string { var buf _strings.Builder + if 2147483648&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("DoNotUse") + } if buf.Len() == 0 { buf.WriteString("<empty bits>") } @@ -973,7 +879,15 @@ NodeAttributesQueryId NodeAttributesQuery = 32 NodeAttributesQueryCreationTime NodeAttributesQuery = 64 NodeAttributesQueryModificationTime NodeAttributesQuery = 128 - NodeAttributesQuery_Mask NodeAttributesQuery = 255 + NodeAttributesQueryMode NodeAttributesQuery = 256 + NodeAttributesQueryUid NodeAttributesQuery = 512 + NodeAttributesQueryGid NodeAttributesQuery = 1024 + NodeAttributesQueryRdev NodeAttributesQuery = 2048 + NodeAttributesQueryAccessTime NodeAttributesQuery = 4096 + NodeAttributesQueryChangeTime NodeAttributesQuery = 8192 + NodeAttributesQueryOptions NodeAttributesQuery = 16384 + NodeAttributesQueryRootHash NodeAttributesQuery = 32768 + NodeAttributesQuery_Mask NodeAttributesQuery = 65535 ) func (_ NodeAttributesQuery) I_BitsMask() NodeAttributesQuery { @@ -1056,6 +970,54 @@ } buf.WriteString("ModificationTime") } + if 256&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("Mode") + } + if 512&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("Uid") + } + if 1024&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("Gid") + } + if 2048&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("Rdev") + } + if 4096&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("AccessTime") + } + if 8192&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("ChangeTime") + } + if 16384&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("Options") + } + if 32768&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("RootHash") + } if buf.Len() == 0 { buf.WriteString("<empty bits>") } @@ -1115,6 +1077,59 @@ return buf.String() } +var _ _bindings.Bits = NodeProtocolFlags(0) + +type NodeProtocolFlags uint64 + +const ( + NodeProtocolFlagsMustBeDirectory NodeProtocolFlags = 1 + NodeProtocolFlags_Mask NodeProtocolFlags = 1 +) + +func (_ NodeProtocolFlags) I_BitsMask() NodeProtocolFlags { + return NodeProtocolFlags_Mask +} + +func (_ NodeProtocolFlags) I_BitsIsStrict() bool { + return false +} + +func (x NodeProtocolFlags) HasUnknownBits() bool { + return x.GetUnknownBits() != 0 +} + +func (x NodeProtocolFlags) GetUnknownBits() uint64 { + return uint64(^NodeProtocolFlags_Mask & x) +} + +func (x NodeProtocolFlags) InvertBits() NodeProtocolFlags { + return NodeProtocolFlags_Mask & ^x +} + +// HasBits validates that all flipped bits in the mask are set. +func (x NodeProtocolFlags) HasBits(mask NodeProtocolFlags) bool { + return mask|x == x +} + +// ClearBits ensures all flipped bits in the mask are unset. +func (x NodeProtocolFlags) ClearBits(mask NodeProtocolFlags) NodeProtocolFlags { + return ^mask & x +} + +func (x NodeProtocolFlags) String() string { + var buf _strings.Builder + if 1&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("MustBeDirectory") + } + if buf.Len() == 0 { + buf.WriteString("<empty bits>") + } + return buf.String() +} + var _ _bindings.Bits = NodeProtocolKinds(0) // A node may have multiple supported representations when opening, even though @@ -1139,7 +1154,8 @@ NodeProtocolKindsConnector NodeProtocolKinds = 1 NodeProtocolKindsDirectory NodeProtocolKinds = 2 NodeProtocolKindsFile NodeProtocolKinds = 4 - NodeProtocolKinds_Mask NodeProtocolKinds = 7 + NodeProtocolKindsSymlink NodeProtocolKinds = 8 + NodeProtocolKinds_Mask NodeProtocolKinds = 15 ) func (_ NodeProtocolKinds) I_BitsMask() NodeProtocolKinds { @@ -1192,6 +1208,12 @@ } buf.WriteString("File") } + if 8&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("Symlink") + } if buf.Len() == 0 { buf.WriteString("<empty bits>") } @@ -1462,6 +1484,52 @@ return buf.String() } +var _ _bindings.Bits = SymlinkProtocolFlags(0) + +type SymlinkProtocolFlags uint64 + +const ( + SymlinkProtocolFlags_Mask SymlinkProtocolFlags = 0 +) + +func (_ SymlinkProtocolFlags) I_BitsMask() SymlinkProtocolFlags { + return SymlinkProtocolFlags_Mask +} + +func (_ SymlinkProtocolFlags) I_BitsIsStrict() bool { + return false +} + +func (x SymlinkProtocolFlags) HasUnknownBits() bool { + return x.GetUnknownBits() != 0 +} + +func (x SymlinkProtocolFlags) GetUnknownBits() uint64 { + return uint64(^SymlinkProtocolFlags_Mask & x) +} + +func (x SymlinkProtocolFlags) InvertBits() SymlinkProtocolFlags { + return SymlinkProtocolFlags_Mask & ^x +} + +// HasBits validates that all flipped bits in the mask are set. +func (x SymlinkProtocolFlags) HasBits(mask SymlinkProtocolFlags) bool { + return mask|x == x +} + +// ClearBits ensures all flipped bits in the mask are unset. +func (x SymlinkProtocolFlags) ClearBits(mask SymlinkProtocolFlags) SymlinkProtocolFlags { + return ^mask & x +} + +func (x SymlinkProtocolFlags) String() string { + var buf _strings.Builder + if buf.Len() == 0 { + buf.WriteString("<empty bits>") + } + return buf.String() +} + var _ _bindings.Bits = UnlinkFlags(0) type UnlinkFlags uint64 @@ -1701,6 +1769,17 @@ return _mAdvisoryLockRange } +type AdvisoryLockingAdvisoryLockRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Request AdvisoryLockRequest `fidl_offset_v2:"0"` +} + +var _mAdvisoryLockingAdvisoryLockRequest = _bindings.CreateLazyMarshaler(AdvisoryLockingAdvisoryLockRequest{}) + +func (msg *AdvisoryLockingAdvisoryLockRequest) Marshaler() _bindings.Marshaler { + return _mAdvisoryLockingAdvisoryLockRequest +} + type AdvisoryLockingAdvisoryLockResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` } @@ -1711,6 +1790,183 @@ return _mAdvisoryLockingAdvisoryLockResponse } +type Directory1GetTokenResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` + S int32 `fidl_offset_v2:"0"` + Token _zx.Handle `fidl_offset_v2:"4" fidl_handle_subtype:"0" fidl_handle_rights:"2147483648" fidl_bounds:"1"` +} + +var _mDirectory1GetTokenResponse = _bindings.CreateLazyMarshaler(Directory1GetTokenResponse{}) + +func (msg *Directory1GetTokenResponse) Marshaler() _bindings.Marshaler { + return _mDirectory1GetTokenResponse +} + +type Directory1LinkRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` + Src string `fidl_offset_v2:"0" fidl_bounds:"255"` + DstParentToken _zx.Handle `fidl_offset_v2:"16" fidl_handle_subtype:"0" fidl_handle_rights:"2147483648" fidl_bounds:"0"` + Dst string `fidl_offset_v2:"24" fidl_bounds:"255"` +} + +var _mDirectory1LinkRequest = _bindings.CreateLazyMarshaler(Directory1LinkRequest{}) + +func (msg *Directory1LinkRequest) Marshaler() _bindings.Marshaler { + return _mDirectory1LinkRequest +} + +type Directory1LinkResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + S int32 `fidl_offset_v2:"0"` +} + +var _mDirectory1LinkResponse = _bindings.CreateLazyMarshaler(Directory1LinkResponse{}) + +func (msg *Directory1LinkResponse) Marshaler() _bindings.Marshaler { + return _mDirectory1LinkResponse +} + +type Directory1ReadDirentsRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` + MaxBytes uint64 `fidl_offset_v2:"0"` +} + +var _mDirectory1ReadDirentsRequest = _bindings.CreateLazyMarshaler(Directory1ReadDirentsRequest{}) + +func (msg *Directory1ReadDirentsRequest) Marshaler() _bindings.Marshaler { + return _mDirectory1ReadDirentsRequest +} + +type Directory1ReadDirentsResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + S int32 `fidl_offset_v2:"0"` + Dirents []uint8 `fidl_offset_v2:"8" fidl_bounds:"8192"` +} + +var _mDirectory1ReadDirentsResponse = _bindings.CreateLazyMarshaler(Directory1ReadDirentsResponse{}) + +func (msg *Directory1ReadDirentsResponse) Marshaler() _bindings.Marshaler { + return _mDirectory1ReadDirentsResponse +} + +type Directory1RewindResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + S int32 `fidl_offset_v2:"0"` +} + +var _mDirectory1RewindResponse = _bindings.CreateLazyMarshaler(Directory1RewindResponse{}) + +func (msg *Directory1RewindResponse) Marshaler() _bindings.Marshaler { + return _mDirectory1RewindResponse +} + +type Directory1WatchRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"12" fidl_alignment_v2:"4"` + Mask WatchMask `fidl_offset_v2:"0"` + Options uint32 `fidl_offset_v2:"4"` + Watcher DirectoryWatcherWithCtxInterfaceRequest `fidl_offset_v2:"8" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mDirectory1WatchRequest = _bindings.CreateLazyMarshaler(Directory1WatchRequest{}) + +func (msg *Directory1WatchRequest) Marshaler() _bindings.Marshaler { + return _mDirectory1WatchRequest +} + +type Directory1WatchResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + S int32 `fidl_offset_v2:"0"` +} + +var _mDirectory1WatchResponse = _bindings.CreateLazyMarshaler(Directory1WatchResponse{}) + +func (msg *Directory1WatchResponse) Marshaler() _bindings.Marshaler { + return _mDirectory1WatchResponse +} + +type Directory2CreateSymlinkRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` + Name string `fidl_offset_v2:"0" fidl_bounds:"255"` + Target []uint8 `fidl_offset_v2:"16" fidl_bounds:"4095"` + Connection SymlinkWithCtxInterfaceRequest `fidl_offset_v2:"32" fidl_handle_subtype:"4" fidl_bounds:"1"` +} + +var _mDirectory2CreateSymlinkRequest = _bindings.CreateLazyMarshaler(Directory2CreateSymlinkRequest{}) + +func (msg *Directory2CreateSymlinkRequest) Marshaler() _bindings.Marshaler { + return _mDirectory2CreateSymlinkRequest +} + +type Directory2EnumerateRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + Options DirectoryEnumerateOptions `fidl_offset_v2:"0"` + Iterator DirectoryIteratorWithCtxInterfaceRequest `fidl_offset_v2:"16" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mDirectory2EnumerateRequest = _bindings.CreateLazyMarshaler(Directory2EnumerateRequest{}) + +func (msg *Directory2EnumerateRequest) Marshaler() _bindings.Marshaler { + return _mDirectory2EnumerateRequest +} + +type Directory2Open2Request struct { + _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` + // Identifies the node to open. + // + // If it contains multiple segments, then the directory is traversed, + // one segment at a time, relative to the directory represented by this + // connection. + Path string `fidl_offset_v2:"0" fidl_bounds:"4095"` + // The representations accepted by the caller to support a form of + // protocol negotiation on the node being opened. + Protocols ConnectionProtocols `fidl_offset_v2:"16"` + // The server end of a channel created for the new connection. The + // caller may proceed to send messages on the corresponding client end + // right away. + ObjectRequest _zx.Channel `fidl_offset_v2:"32" fidl_handle_subtype:"4" fidl_handle_rights:"2147483648" fidl_bounds:"0"` +} + +var _mDirectory2Open2Request = _bindings.CreateLazyMarshaler(Directory2Open2Request{}) + +func (msg *Directory2Open2Request) Marshaler() _bindings.Marshaler { + return _mDirectory2Open2Request +} + +type Directory2RenameRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` + Src string `fidl_offset_v2:"0" fidl_bounds:"255"` + DstParentToken _zx.Event `fidl_offset_v2:"16" fidl_handle_subtype:"5" fidl_handle_rights:"2147483648" fidl_bounds:"0"` + Dst string `fidl_offset_v2:"24" fidl_bounds:"255"` +} + +var _mDirectory2RenameRequest = _bindings.CreateLazyMarshaler(Directory2RenameRequest{}) + +func (msg *Directory2RenameRequest) Marshaler() _bindings.Marshaler { + return _mDirectory2RenameRequest +} + +type Directory2UnlinkRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` + Name string `fidl_offset_v2:"0" fidl_bounds:"255"` + Options UnlinkOptions `fidl_offset_v2:"16"` +} + +var _mDirectory2UnlinkRequest = _bindings.CreateLazyMarshaler(Directory2UnlinkRequest{}) + +func (msg *Directory2UnlinkRequest) Marshaler() _bindings.Marshaler { + return _mDirectory2UnlinkRequest +} + +type Directory2CreateSymlinkResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` +} + +var _mDirectory2CreateSymlinkResponse = _bindings.CreateLazyMarshaler(Directory2CreateSymlinkResponse{}) + +func (msg *Directory2CreateSymlinkResponse) Marshaler() _bindings.Marshaler { + return _mDirectory2CreateSymlinkResponse +} + type Directory2RenameResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` } @@ -1756,6 +2012,57 @@ return _mDirectoryObject } +type ExtendedAttributeIteratorGetNextResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + Attributes [][]uint8 `fidl_offset_v2:"0" fidl_bounds:"128,255"` + Last bool `fidl_offset_v2:"16"` +} + +var _mExtendedAttributeIteratorGetNextResponse = _bindings.CreateLazyMarshaler(ExtendedAttributeIteratorGetNextResponse{}) + +func (msg *ExtendedAttributeIteratorGetNextResponse) Marshaler() _bindings.Marshaler { + return _mExtendedAttributeIteratorGetNextResponse +} + +type FileAllocateRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + Offset uint64 `fidl_offset_v2:"0"` + Length uint64 `fidl_offset_v2:"8"` + // If an empty bits is passed for mode, the default behavior is used. Otherwise the + // behavior is modified as described for each mode bit. If the backing filesystem doesn't + // support a particular provided mode bit, or combination of mode bits, an error is + // returned. + Mode AllocateMode `fidl_offset_v2:"16"` +} + +var _mFileAllocateRequest = _bindings.CreateLazyMarshaler(FileAllocateRequest{}) + +func (msg *FileAllocateRequest) Marshaler() _bindings.Marshaler { + return _mFileAllocateRequest +} + +type FileEnableVerityRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Options VerificationOptions `fidl_offset_v2:"0"` +} + +var _mFileEnableVerityRequest = _bindings.CreateLazyMarshaler(FileEnableVerityRequest{}) + +func (msg *FileEnableVerityRequest) Marshaler() _bindings.Marshaler { + return _mFileEnableVerityRequest +} + +type FileGetBackingMemoryRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Flags VmoFlags `fidl_offset_v2:"0"` +} + +var _mFileGetBackingMemoryRequest = _bindings.CreateLazyMarshaler(FileGetBackingMemoryRequest{}) + +func (msg *FileGetBackingMemoryRequest) Marshaler() _bindings.Marshaler { + return _mFileGetBackingMemoryRequest +} + type FileObject struct { _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` // An optional event which transmits information about an object's readability @@ -1777,6 +2084,73 @@ return _mFileObject } +type FileReadAtRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Count uint64 `fidl_offset_v2:"0"` + Offset uint64 `fidl_offset_v2:"8"` +} + +var _mFileReadAtRequest = _bindings.CreateLazyMarshaler(FileReadAtRequest{}) + +func (msg *FileReadAtRequest) Marshaler() _bindings.Marshaler { + return _mFileReadAtRequest +} + +type FileResizeRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` + Length uint64 `fidl_offset_v2:"0"` +} + +var _mFileResizeRequest = _bindings.CreateLazyMarshaler(FileResizeRequest{}) + +func (msg *FileResizeRequest) Marshaler() _bindings.Marshaler { + return _mFileResizeRequest +} + +type FileSeekRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Origin SeekOrigin `fidl_offset_v2:"0"` + Offset int64 `fidl_offset_v2:"8"` +} + +var _mFileSeekRequest = _bindings.CreateLazyMarshaler(FileSeekRequest{}) + +func (msg *FileSeekRequest) Marshaler() _bindings.Marshaler { + return _mFileSeekRequest +} + +type FileWriteAtRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + Data []uint8 `fidl_offset_v2:"0" fidl_bounds:"8192"` + Offset uint64 `fidl_offset_v2:"16"` +} + +var _mFileWriteAtRequest = _bindings.CreateLazyMarshaler(FileWriteAtRequest{}) + +func (msg *FileWriteAtRequest) Marshaler() _bindings.Marshaler { + return _mFileWriteAtRequest +} + +type FileAllocateResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` +} + +var _mFileAllocateResponse = _bindings.CreateLazyMarshaler(FileAllocateResponse{}) + +func (msg *FileAllocateResponse) Marshaler() _bindings.Marshaler { + return _mFileAllocateResponse +} + +type FileEnableVerityResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` +} + +var _mFileEnableVerityResponse = _bindings.CreateLazyMarshaler(FileEnableVerityResponse{}) + +func (msg *FileEnableVerityResponse) Marshaler() _bindings.Marshaler { + return _mFileEnableVerityResponse +} + type FileGetBackingMemoryResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` Vmo _zx.VMO `fidl_offset_v2:"0" fidl_handle_subtype:"3" fidl_handle_rights:"2147483648" fidl_bounds:"0"` @@ -1869,19 +2243,224 @@ return _mFilesystemInfo } -type InotifyEvent struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - WatchDescriptor uint32 `fidl_offset_v2:"0"` - Mask InotifyWatchMask `fidl_offset_v2:"4"` - Cookie uint32 `fidl_offset_v2:"8"` - Len uint32 `fidl_offset_v2:"12"` - Filename string `fidl_offset_v2:"16" fidl_bounds:"4095"` +type LinkableLinkIntoRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + DstParentToken _zx.Event `fidl_offset_v2:"0" fidl_handle_subtype:"5" fidl_handle_rights:"2147483648" fidl_bounds:"0"` + Dst string `fidl_offset_v2:"8" fidl_bounds:"255"` } -var _mInotifyEvent = _bindings.CreateLazyMarshaler(InotifyEvent{}) +var _mLinkableLinkIntoRequest = _bindings.CreateLazyMarshaler(LinkableLinkIntoRequest{}) -func (msg *InotifyEvent) Marshaler() _bindings.Marshaler { - return _mInotifyEvent +func (msg *LinkableLinkIntoRequest) Marshaler() _bindings.Marshaler { + return _mLinkableLinkIntoRequest +} + +type LinkableLinkIntoResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` +} + +var _mLinkableLinkIntoResponse = _bindings.CreateLazyMarshaler(LinkableLinkIntoResponse{}) + +func (msg *LinkableLinkIntoResponse) Marshaler() _bindings.Marshaler { + return _mLinkableLinkIntoResponse +} + +type Node1CloneRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` + Flags OpenFlags `fidl_offset_v2:"0"` + Object NodeWithCtxInterfaceRequest `fidl_offset_v2:"4" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mNode1CloneRequest = _bindings.CreateLazyMarshaler(Node1CloneRequest{}) + +func (msg *Node1CloneRequest) Marshaler() _bindings.Marshaler { + return _mNode1CloneRequest +} + +type Node1GetAttrResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` + S int32 `fidl_offset_v2:"0"` + Attributes NodeAttributes `fidl_offset_v2:"8"` +} + +var _mNode1GetAttrResponse = _bindings.CreateLazyMarshaler(Node1GetAttrResponse{}) + +func (msg *Node1GetAttrResponse) Marshaler() _bindings.Marshaler { + return _mNode1GetAttrResponse +} + +type Node1GetFlagsResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` + S int32 `fidl_offset_v2:"0"` + Flags OpenFlags `fidl_offset_v2:"4"` +} + +var _mNode1GetFlagsResponse = _bindings.CreateLazyMarshaler(Node1GetFlagsResponse{}) + +func (msg *Node1GetFlagsResponse) Marshaler() _bindings.Marshaler { + return _mNode1GetFlagsResponse +} + +type Node1OnOpenRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + S int32 `fidl_offset_v2:"0"` + Info *NodeInfoDeprecated `fidl_offset_v2:"8"` +} + +var _mNode1OnOpenRequest = _bindings.CreateLazyMarshaler(Node1OnOpenRequest{}) + +func (msg *Node1OnOpenRequest) Marshaler() _bindings.Marshaler { + return _mNode1OnOpenRequest +} + +type Node1QueryFilesystemResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + S int32 `fidl_offset_v2:"0"` + Info *FilesystemInfo `fidl_offset_v2:"8"` +} + +var _mNode1QueryFilesystemResponse = _bindings.CreateLazyMarshaler(Node1QueryFilesystemResponse{}) + +func (msg *Node1QueryFilesystemResponse) Marshaler() _bindings.Marshaler { + return _mNode1QueryFilesystemResponse +} + +type Node1SetAttrRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` + Flags NodeAttributeFlags `fidl_offset_v2:"0"` + Attributes NodeAttributes `fidl_offset_v2:"8"` +} + +var _mNode1SetAttrRequest = _bindings.CreateLazyMarshaler(Node1SetAttrRequest{}) + +func (msg *Node1SetAttrRequest) Marshaler() _bindings.Marshaler { + return _mNode1SetAttrRequest +} + +type Node1SetAttrResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + S int32 `fidl_offset_v2:"0"` +} + +var _mNode1SetAttrResponse = _bindings.CreateLazyMarshaler(Node1SetAttrResponse{}) + +func (msg *Node1SetAttrResponse) Marshaler() _bindings.Marshaler { + return _mNode1SetAttrResponse +} + +type Node1SetFlagsRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Flags OpenFlags `fidl_offset_v2:"0"` +} + +var _mNode1SetFlagsRequest = _bindings.CreateLazyMarshaler(Node1SetFlagsRequest{}) + +func (msg *Node1SetFlagsRequest) Marshaler() _bindings.Marshaler { + return _mNode1SetFlagsRequest +} + +type Node1SetFlagsResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + S int32 `fidl_offset_v2:"0"` +} + +var _mNode1SetFlagsResponse = _bindings.CreateLazyMarshaler(Node1SetFlagsResponse{}) + +func (msg *Node1SetFlagsResponse) Marshaler() _bindings.Marshaler { + return _mNode1SetFlagsResponse +} + +type Node2GetAttributesRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` + // Set the corresponding bit to one to query that particular attribute. + // + // The elements here correspond one-to-one with [`NodeAttributes`]. + Query NodeAttributesQuery `fidl_offset_v2:"0"` +} + +var _mNode2GetAttributesRequest = _bindings.CreateLazyMarshaler(Node2GetAttributesRequest{}) + +func (msg *Node2GetAttributesRequest) Marshaler() _bindings.Marshaler { + return _mNode2GetAttributesRequest +} + +type Node2GetExtendedAttributeRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Name []uint8 `fidl_offset_v2:"0" fidl_bounds:"255"` +} + +var _mNode2GetExtendedAttributeRequest = _bindings.CreateLazyMarshaler(Node2GetExtendedAttributeRequest{}) + +func (msg *Node2GetExtendedAttributeRequest) Marshaler() _bindings.Marshaler { + return _mNode2GetExtendedAttributeRequest +} + +type Node2ListExtendedAttributesRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Iterator ExtendedAttributeIteratorWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mNode2ListExtendedAttributesRequest = _bindings.CreateLazyMarshaler(Node2ListExtendedAttributesRequest{}) + +func (msg *Node2ListExtendedAttributesRequest) Marshaler() _bindings.Marshaler { + return _mNode2ListExtendedAttributesRequest +} + +type Node2RemoveExtendedAttributeRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Name []uint8 `fidl_offset_v2:"0" fidl_bounds:"255"` +} + +var _mNode2RemoveExtendedAttributeRequest = _bindings.CreateLazyMarshaler(Node2RemoveExtendedAttributeRequest{}) + +func (msg *Node2RemoveExtendedAttributeRequest) Marshaler() _bindings.Marshaler { + return _mNode2RemoveExtendedAttributeRequest +} + +type Node2ReopenRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + RightsRequest RightsRequest `fidl_offset_v2:"0"` + ObjectRequest NodeWithCtxInterfaceRequest `fidl_offset_v2:"16" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mNode2ReopenRequest = _bindings.CreateLazyMarshaler(Node2ReopenRequest{}) + +func (msg *Node2ReopenRequest) Marshaler() _bindings.Marshaler { + return _mNode2ReopenRequest +} + +type Node2SetExtendedAttributeRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` + Name []uint8 `fidl_offset_v2:"0" fidl_bounds:"255"` + Value ExtendedAttributeValue `fidl_offset_v2:"16"` + // Specifies the behavior based on the current state of the attribute. + Mode SetExtendedAttributeMode `fidl_offset_v2:"32"` +} + +var _mNode2SetExtendedAttributeRequest = _bindings.CreateLazyMarshaler(Node2SetExtendedAttributeRequest{}) + +func (msg *Node2SetExtendedAttributeRequest) Marshaler() _bindings.Marshaler { + return _mNode2SetExtendedAttributeRequest +} + +type Node2RemoveExtendedAttributeResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` +} + +var _mNode2RemoveExtendedAttributeResponse = _bindings.CreateLazyMarshaler(Node2RemoveExtendedAttributeResponse{}) + +func (msg *Node2RemoveExtendedAttributeResponse) Marshaler() _bindings.Marshaler { + return _mNode2RemoveExtendedAttributeResponse +} + +type Node2SetExtendedAttributeResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` +} + +var _mNode2SetExtendedAttributeResponse = _bindings.CreateLazyMarshaler(Node2SetExtendedAttributeResponse{}) + +func (msg *Node2SetExtendedAttributeResponse) Marshaler() _bindings.Marshaler { + return _mNode2SetExtendedAttributeResponse } type Node2SyncResponse struct { @@ -1941,6 +2520,31 @@ return _mNodeAttributes2 } +type OpenableOpenRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` + Flags OpenFlags `fidl_offset_v2:"0"` + Mode ModeType `fidl_offset_v2:"4"` + Path string `fidl_offset_v2:"8" fidl_bounds:"4095"` + Object NodeWithCtxInterfaceRequest `fidl_offset_v2:"24" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mOpenableOpenRequest = _bindings.CreateLazyMarshaler(OpenableOpenRequest{}) + +func (msg *OpenableOpenRequest) Marshaler() _bindings.Marshaler { + return _mOpenableOpenRequest +} + +type ReadableReadRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` + Count uint64 `fidl_offset_v2:"0"` +} + +var _mReadableReadRequest = _bindings.CreateLazyMarshaler(ReadableReadRequest{}) + +func (msg *ReadableReadRequest) Marshaler() _bindings.Marshaler { + return _mReadableReadRequest +} + type ReadableReadResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` Data []uint8 `fidl_offset_v2:"0" fidl_bounds:"8192"` @@ -1952,125 +2556,6 @@ return _mReadableReadResponse } -// Options for requesting rights on the new connection. -// -// ## Rights Hierarchy -// -// Respecting principles of least privileges, rights in general must meet -// the following restrictions: -// -// - A connection must have nonzero rights. -// - From the perspective of a client, rights must never increase in a -// derived connection. -// - From the perspective of a directory proxy, it must ensure that -// new connections opened through it cannot have more rights than -// the connection where the proxy received the `Open`/`Reopen` call. -// -// The proper enforcement of the rights hierarchy is a powerful refinement -// over the existing access control facilities offered by directory -// sandboxing. -// -// ## Rights vs Abilities -// -// The rights on a connection limits the set of operations allowed on that -// connection, but does not guarantee their availability, because the -// object may not support it. -// -// See [`Rights`] and [`Abilities`]. -// -// ## Implementation Notes -// -// When a directory proxy encounters an absent `rights` field, let `r` be -// the rights on the connection where it received this request, the proxy -// should fill in this field with the following: -// -// ``` -// -// RightsRequest { -// at_most: r, -// at_least: 0, -// resolution: RightsResolution.MAXIMIZE, -// } -// -// ``` -// -// before forwarding the request to the remote party. -// -// Because opening a new connection may involve multiple hops through -// directory proxies, we require the client to set an upper bound and lower -// bound on the rights request, and intermediate proxies to refine these -// bounds. -// -// The rights manipulation should be implemented mechanically -// without knowledge of any specific rights, and servers should propagate -// unknown bits members, to gracefully handle future rights extensions. -// -// ## Implementation Notes -// -// It could be common for a client to request an exact set of rights. -// We recommend client libraries to define a helper function like follows: -// -// ``` -// -// fn Exact(exact_rights: Rights) -> RightsRequest { -// RightsRequest { -// at_most: exact_rights, -// at_least: exact_rights, -// resolution: RightsResolution.MAXIMIZE, -// } -// } -// -// ``` -type RightsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - // Sets an upper bound on the resulting rights. The exact rights will - // depend on `resolution`. - // - // ## Implementation Notes - // - // When a directory proxy encounters this variant, it should compute the - // intersection between this and the rights on the connection where it - // received the request, to shrink the rights. - // - // * If the intersection is empty, or not a superset of `at_least`, - // the proxy should close `object_request` with the - // `ZX_ERR_ACCESS_DENIED` epitaph. - // * Otherwise, the proxy should forward the `Open` call as usual, - // but update `at_most` with the shrunk rights. - AtMost Operations `fidl_offset_v2:"0"` - // Sets a lower bound on the resulting rights. The exact rights will - // depend on `resolution`. - // - // + During [`Directory.Open`], you may only specify the same rights as - // what the directory connection already has, or a subset of those. - // + During [`Node.Reopen`], similarly, you may only specify the same or - // a subset of rights possessed by the original connection. - // + Exceeding those rights causes `object_request` to be closed with a - // `ZX_ERR_ACCESS_DENIED` epitaph. - // - // Therefore there are these invariants which should be maintained: - // - // ``` - // at_most ⊋ {} - // at_most ⊃ at_least - // rights_on_connection_where_open_is_received ⊋ {} - // rights_on_connection_where_open_is_received ⊃ at_least - // ``` - // - // using the superset (`⊃`), proper superset (`⊋`), - // and empty set (`{}`) notations. - AtLeast Operations `fidl_offset_v2:"8"` - // When an `Open`/`Reopen` request reaches its final remote server, it should - // assign rights on the new connection based on one of these modes. - Resolution RightsResolution `fidl_offset_v2:"16"` -} - -var _mRightsRequest = _bindings.CreateLazyMarshaler(RightsRequest{}) - -func (msg *RightsRequest) Marshaler() _bindings.Marshaler { - return _mRightsRequest -} - type Service struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` } @@ -2081,6 +2566,28 @@ return _mService } +type SymlinkObject struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Target []uint8 `fidl_offset_v2:"0" fidl_bounds:"4095"` +} + +var _mSymlinkObject = _bindings.CreateLazyMarshaler(SymlinkObject{}) + +func (msg *SymlinkObject) Marshaler() _bindings.Marshaler { + return _mSymlinkObject +} + +type WritableWriteRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Data []uint8 `fidl_offset_v2:"0" fidl_bounds:"8192"` +} + +var _mWritableWriteRequest = _bindings.CreateLazyMarshaler(WritableWriteRequest{}) + +func (msg *WritableWriteRequest) Marshaler() _bindings.Marshaler { + return _mWritableWriteRequest +} + type WritableWriteResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` ActualCount uint64 `fidl_offset_v2:"0"` @@ -2092,1738 +2599,6 @@ return _mWritableWriteResponse } -type advisoryLockingWithCtxAdvisoryLockRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Request AdvisoryLockRequest `fidl_offset_v2:"0"` -} - -var _madvisoryLockingWithCtxAdvisoryLockRequest = _bindings.CreateLazyMarshaler(advisoryLockingWithCtxAdvisoryLockRequest{}) - -func (msg *advisoryLockingWithCtxAdvisoryLockRequest) Marshaler() _bindings.Marshaler { - return _madvisoryLockingWithCtxAdvisoryLockRequest -} - -type advisoryLockingWithCtxAdvisoryLockResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result AdvisoryLockingAdvisoryLockResult `fidl_offset_v2:"0"` -} - -var _madvisoryLockingWithCtxAdvisoryLockResponse = _bindings.CreateLazyMarshaler(advisoryLockingWithCtxAdvisoryLockResponse{}) - -func (msg *advisoryLockingWithCtxAdvisoryLockResponse) Marshaler() _bindings.Marshaler { - return _madvisoryLockingWithCtxAdvisoryLockResponse -} - -type directoryWithCtxCloneRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Flags OpenFlags `fidl_offset_v2:"0"` - Object NodeWithCtxInterfaceRequest `fidl_offset_v2:"4" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdirectoryWithCtxCloneRequest = _bindings.CreateLazyMarshaler(directoryWithCtxCloneRequest{}) - -func (msg *directoryWithCtxCloneRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxCloneRequest -} - -type directoryWithCtxOnOpenResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Info *NodeInfoDeprecated `fidl_offset_v2:"8"` -} - -var _mdirectoryWithCtxOnOpenResponse = _bindings.CreateLazyMarshaler(directoryWithCtxOnOpenResponse{}) - -func (msg *directoryWithCtxOnOpenResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxOnOpenResponse -} - -type directoryWithCtxGetAttrResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Attributes NodeAttributes `fidl_offset_v2:"8"` -} - -var _mdirectoryWithCtxGetAttrResponse = _bindings.CreateLazyMarshaler(directoryWithCtxGetAttrResponse{}) - -func (msg *directoryWithCtxGetAttrResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxGetAttrResponse -} - -type directoryWithCtxSetAttrRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - Flags NodeAttributeFlags `fidl_offset_v2:"0"` - Attributes NodeAttributes `fidl_offset_v2:"8"` -} - -var _mdirectoryWithCtxSetAttrRequest = _bindings.CreateLazyMarshaler(directoryWithCtxSetAttrRequest{}) - -func (msg *directoryWithCtxSetAttrRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxSetAttrRequest -} - -type directoryWithCtxSetAttrResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxSetAttrResponse = _bindings.CreateLazyMarshaler(directoryWithCtxSetAttrResponse{}) - -func (msg *directoryWithCtxSetAttrResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxSetAttrResponse -} - -type directoryWithCtxGetFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` - Flags OpenFlags `fidl_offset_v2:"4"` -} - -var _mdirectoryWithCtxGetFlagsResponse = _bindings.CreateLazyMarshaler(directoryWithCtxGetFlagsResponse{}) - -func (msg *directoryWithCtxGetFlagsResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxGetFlagsResponse -} - -type directoryWithCtxSetFlagsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Flags OpenFlags `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxSetFlagsRequest = _bindings.CreateLazyMarshaler(directoryWithCtxSetFlagsRequest{}) - -func (msg *directoryWithCtxSetFlagsRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxSetFlagsRequest -} - -type directoryWithCtxSetFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxSetFlagsResponse = _bindings.CreateLazyMarshaler(directoryWithCtxSetFlagsResponse{}) - -func (msg *directoryWithCtxSetFlagsResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxSetFlagsResponse -} - -type directoryWithCtxQueryFilesystemResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Info *FilesystemInfo `fidl_offset_v2:"8"` -} - -var _mdirectoryWithCtxQueryFilesystemResponse = _bindings.CreateLazyMarshaler(directoryWithCtxQueryFilesystemResponse{}) - -func (msg *directoryWithCtxQueryFilesystemResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxQueryFilesystemResponse -} - -type directoryWithCtxOpenRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - Flags OpenFlags `fidl_offset_v2:"0"` - Mode ModeType `fidl_offset_v2:"4"` - Path string `fidl_offset_v2:"8" fidl_bounds:"4096"` - Object NodeWithCtxInterfaceRequest `fidl_offset_v2:"24" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdirectoryWithCtxOpenRequest = _bindings.CreateLazyMarshaler(directoryWithCtxOpenRequest{}) - -func (msg *directoryWithCtxOpenRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxOpenRequest -} - -type directoryWithCtxReadDirentsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - MaxBytes uint64 `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxReadDirentsRequest = _bindings.CreateLazyMarshaler(directoryWithCtxReadDirentsRequest{}) - -func (msg *directoryWithCtxReadDirentsRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxReadDirentsRequest -} - -type directoryWithCtxReadDirentsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Dirents []uint8 `fidl_offset_v2:"8" fidl_bounds:"8192"` -} - -var _mdirectoryWithCtxReadDirentsResponse = _bindings.CreateLazyMarshaler(directoryWithCtxReadDirentsResponse{}) - -func (msg *directoryWithCtxReadDirentsResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxReadDirentsResponse -} - -type directoryWithCtxRewindResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxRewindResponse = _bindings.CreateLazyMarshaler(directoryWithCtxRewindResponse{}) - -func (msg *directoryWithCtxRewindResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxRewindResponse -} - -type directoryWithCtxGetTokenResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` - Token _zx.Handle `fidl_offset_v2:"4" fidl_handle_subtype:"0" fidl_handle_rights:"2147483648" fidl_bounds:"1"` -} - -var _mdirectoryWithCtxGetTokenResponse = _bindings.CreateLazyMarshaler(directoryWithCtxGetTokenResponse{}) - -func (msg *directoryWithCtxGetTokenResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxGetTokenResponse -} - -type directoryWithCtxLinkRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` - Src string `fidl_offset_v2:"0" fidl_bounds:"255"` - DstParentToken _zx.Handle `fidl_offset_v2:"16" fidl_handle_subtype:"0" fidl_handle_rights:"2147483648" fidl_bounds:"0"` - Dst string `fidl_offset_v2:"24" fidl_bounds:"255"` -} - -var _mdirectoryWithCtxLinkRequest = _bindings.CreateLazyMarshaler(directoryWithCtxLinkRequest{}) - -func (msg *directoryWithCtxLinkRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxLinkRequest -} - -type directoryWithCtxLinkResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxLinkResponse = _bindings.CreateLazyMarshaler(directoryWithCtxLinkResponse{}) - -func (msg *directoryWithCtxLinkResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxLinkResponse -} - -type directoryWithCtxWatchRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"12" fidl_alignment_v2:"4"` - Mask WatchMask `fidl_offset_v2:"0"` - Options uint32 `fidl_offset_v2:"4"` - Watcher DirectoryWatcherWithCtxInterfaceRequest `fidl_offset_v2:"8" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdirectoryWithCtxWatchRequest = _bindings.CreateLazyMarshaler(directoryWithCtxWatchRequest{}) - -func (msg *directoryWithCtxWatchRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxWatchRequest -} - -type directoryWithCtxWatchResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxWatchResponse = _bindings.CreateLazyMarshaler(directoryWithCtxWatchResponse{}) - -func (msg *directoryWithCtxWatchResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxWatchResponse -} - -type directoryWithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxCloseResponse = _bindings.CreateLazyMarshaler(directoryWithCtxCloseResponse{}) - -func (msg *directoryWithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxCloseResponse -} - -type directoryWithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mdirectoryWithCtxQueryResponse = _bindings.CreateLazyMarshaler(directoryWithCtxQueryResponse{}) - -func (msg *directoryWithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxQueryResponse -} - -type directoryWithCtxReopenRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Requests rights on the new connection according to the specified rules. - // - // If absent, inherits the rights from the connection where the call - // is made. - RightsRequest *RightsRequest `fidl_offset_v2:"0"` - ObjectRequest NodeWithCtxInterfaceRequest `fidl_offset_v2:"8" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdirectoryWithCtxReopenRequest = _bindings.CreateLazyMarshaler(directoryWithCtxReopenRequest{}) - -func (msg *directoryWithCtxReopenRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxReopenRequest -} - -type directoryWithCtxOnRepresentationResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Payload Representation `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxOnRepresentationResponse = _bindings.CreateLazyMarshaler(directoryWithCtxOnRepresentationResponse{}) - -func (msg *directoryWithCtxOnRepresentationResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxOnRepresentationResponse -} - -type directoryWithCtxGetAttributesRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - // Set the corresponding bit to one to query that particular attribute. - // - // The elements here correspond one-to-one with [`NodeAttributes`]. - Query NodeAttributesQuery `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxGetAttributesRequest = _bindings.CreateLazyMarshaler(directoryWithCtxGetAttributesRequest{}) - -func (msg *directoryWithCtxGetAttributesRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxGetAttributesRequest -} - -type directoryWithCtxGetAttributesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2GetAttributesResult `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxGetAttributesResponse = _bindings.CreateLazyMarshaler(directoryWithCtxGetAttributesResponse{}) - -func (msg *directoryWithCtxGetAttributesResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxGetAttributesResponse -} - -type directoryWithCtxUpdateAttributesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2UpdateAttributesResult `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxUpdateAttributesResponse = _bindings.CreateLazyMarshaler(directoryWithCtxUpdateAttributesResponse{}) - -func (msg *directoryWithCtxUpdateAttributesResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxUpdateAttributesResponse -} - -type directoryWithCtxSyncResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2SyncResult `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxSyncResponse = _bindings.CreateLazyMarshaler(directoryWithCtxSyncResponse{}) - -func (msg *directoryWithCtxSyncResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxSyncResponse -} - -type directoryWithCtxAdvisoryLockRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Request AdvisoryLockRequest `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxAdvisoryLockRequest = _bindings.CreateLazyMarshaler(directoryWithCtxAdvisoryLockRequest{}) - -func (msg *directoryWithCtxAdvisoryLockRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxAdvisoryLockRequest -} - -type directoryWithCtxAdvisoryLockResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result AdvisoryLockingAdvisoryLockResult `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxAdvisoryLockResponse = _bindings.CreateLazyMarshaler(directoryWithCtxAdvisoryLockResponse{}) - -func (msg *directoryWithCtxAdvisoryLockResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxAdvisoryLockResponse -} - -type directoryWithCtxOpen2Request struct { - _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` - // Identifies the node to open. - // - // If it contains multiple segments, then the directory is traversed, - // one segment at a time, relative to the directory represented by this - // connection. - Path string `fidl_offset_v2:"0" fidl_bounds:"4095"` - // The representations accepted by the caller to support a form of - // protocol negotiation on the node being opened. - Protocols ConnectionProtocols `fidl_offset_v2:"16"` - // The server end of a channel created for the new connection. The - // caller may proceed to send messages on the corresponding client end - // right away. - ObjectRequest _zx.Channel `fidl_offset_v2:"32" fidl_handle_subtype:"4" fidl_handle_rights:"2147483648" fidl_bounds:"0"` -} - -var _mdirectoryWithCtxOpen2Request = _bindings.CreateLazyMarshaler(directoryWithCtxOpen2Request{}) - -func (msg *directoryWithCtxOpen2Request) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxOpen2Request -} - -type directoryWithCtxAddInotifyFilterRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - Path string `fidl_offset_v2:"0" fidl_bounds:"4095"` - Filter InotifyWatchMask `fidl_offset_v2:"16"` - WatchDescriptor uint32 `fidl_offset_v2:"20"` - Socket _zx.Socket `fidl_offset_v2:"24" fidl_handle_subtype:"14" fidl_handle_rights:"2147483648" fidl_bounds:"0"` -} - -var _mdirectoryWithCtxAddInotifyFilterRequest = _bindings.CreateLazyMarshaler(directoryWithCtxAddInotifyFilterRequest{}) - -func (msg *directoryWithCtxAddInotifyFilterRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxAddInotifyFilterRequest -} - -type directoryWithCtxUnlinkRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - Name string `fidl_offset_v2:"0" fidl_bounds:"255"` - Options UnlinkOptions `fidl_offset_v2:"16"` -} - -var _mdirectoryWithCtxUnlinkRequest = _bindings.CreateLazyMarshaler(directoryWithCtxUnlinkRequest{}) - -func (msg *directoryWithCtxUnlinkRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxUnlinkRequest -} - -type directoryWithCtxUnlinkResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Directory2UnlinkResult `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxUnlinkResponse = _bindings.CreateLazyMarshaler(directoryWithCtxUnlinkResponse{}) - -func (msg *directoryWithCtxUnlinkResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxUnlinkResponse -} - -type directoryWithCtxEnumerateRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Options DirectoryEnumerateOptions `fidl_offset_v2:"0"` - Iterator DirectoryIteratorWithCtxInterfaceRequest `fidl_offset_v2:"16" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdirectoryWithCtxEnumerateRequest = _bindings.CreateLazyMarshaler(directoryWithCtxEnumerateRequest{}) - -func (msg *directoryWithCtxEnumerateRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxEnumerateRequest -} - -type directoryWithCtxRenameRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` - Src string `fidl_offset_v2:"0" fidl_bounds:"255"` - DstParentToken _zx.Event `fidl_offset_v2:"16" fidl_handle_subtype:"5" fidl_handle_rights:"2147483648" fidl_bounds:"0"` - Dst string `fidl_offset_v2:"24" fidl_bounds:"255"` -} - -var _mdirectoryWithCtxRenameRequest = _bindings.CreateLazyMarshaler(directoryWithCtxRenameRequest{}) - -func (msg *directoryWithCtxRenameRequest) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxRenameRequest -} - -type directoryWithCtxRenameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Directory2RenameResult `fidl_offset_v2:"0"` -} - -var _mdirectoryWithCtxRenameResponse = _bindings.CreateLazyMarshaler(directoryWithCtxRenameResponse{}) - -func (msg *directoryWithCtxRenameResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryWithCtxRenameResponse -} - -type directory1WithCtxCloneRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Flags OpenFlags `fidl_offset_v2:"0"` - Object NodeWithCtxInterfaceRequest `fidl_offset_v2:"4" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdirectory1WithCtxCloneRequest = _bindings.CreateLazyMarshaler(directory1WithCtxCloneRequest{}) - -func (msg *directory1WithCtxCloneRequest) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxCloneRequest -} - -type directory1WithCtxOnOpenResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Info *NodeInfoDeprecated `fidl_offset_v2:"8"` -} - -var _mdirectory1WithCtxOnOpenResponse = _bindings.CreateLazyMarshaler(directory1WithCtxOnOpenResponse{}) - -func (msg *directory1WithCtxOnOpenResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxOnOpenResponse -} - -type directory1WithCtxGetAttrResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Attributes NodeAttributes `fidl_offset_v2:"8"` -} - -var _mdirectory1WithCtxGetAttrResponse = _bindings.CreateLazyMarshaler(directory1WithCtxGetAttrResponse{}) - -func (msg *directory1WithCtxGetAttrResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxGetAttrResponse -} - -type directory1WithCtxSetAttrRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - Flags NodeAttributeFlags `fidl_offset_v2:"0"` - Attributes NodeAttributes `fidl_offset_v2:"8"` -} - -var _mdirectory1WithCtxSetAttrRequest = _bindings.CreateLazyMarshaler(directory1WithCtxSetAttrRequest{}) - -func (msg *directory1WithCtxSetAttrRequest) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxSetAttrRequest -} - -type directory1WithCtxSetAttrResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mdirectory1WithCtxSetAttrResponse = _bindings.CreateLazyMarshaler(directory1WithCtxSetAttrResponse{}) - -func (msg *directory1WithCtxSetAttrResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxSetAttrResponse -} - -type directory1WithCtxGetFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` - Flags OpenFlags `fidl_offset_v2:"4"` -} - -var _mdirectory1WithCtxGetFlagsResponse = _bindings.CreateLazyMarshaler(directory1WithCtxGetFlagsResponse{}) - -func (msg *directory1WithCtxGetFlagsResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxGetFlagsResponse -} - -type directory1WithCtxSetFlagsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Flags OpenFlags `fidl_offset_v2:"0"` -} - -var _mdirectory1WithCtxSetFlagsRequest = _bindings.CreateLazyMarshaler(directory1WithCtxSetFlagsRequest{}) - -func (msg *directory1WithCtxSetFlagsRequest) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxSetFlagsRequest -} - -type directory1WithCtxSetFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mdirectory1WithCtxSetFlagsResponse = _bindings.CreateLazyMarshaler(directory1WithCtxSetFlagsResponse{}) - -func (msg *directory1WithCtxSetFlagsResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxSetFlagsResponse -} - -type directory1WithCtxQueryFilesystemResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Info *FilesystemInfo `fidl_offset_v2:"8"` -} - -var _mdirectory1WithCtxQueryFilesystemResponse = _bindings.CreateLazyMarshaler(directory1WithCtxQueryFilesystemResponse{}) - -func (msg *directory1WithCtxQueryFilesystemResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxQueryFilesystemResponse -} - -type directory1WithCtxOpenRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - Flags OpenFlags `fidl_offset_v2:"0"` - Mode ModeType `fidl_offset_v2:"4"` - Path string `fidl_offset_v2:"8" fidl_bounds:"4096"` - Object NodeWithCtxInterfaceRequest `fidl_offset_v2:"24" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdirectory1WithCtxOpenRequest = _bindings.CreateLazyMarshaler(directory1WithCtxOpenRequest{}) - -func (msg *directory1WithCtxOpenRequest) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxOpenRequest -} - -type directory1WithCtxReadDirentsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - MaxBytes uint64 `fidl_offset_v2:"0"` -} - -var _mdirectory1WithCtxReadDirentsRequest = _bindings.CreateLazyMarshaler(directory1WithCtxReadDirentsRequest{}) - -func (msg *directory1WithCtxReadDirentsRequest) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxReadDirentsRequest -} - -type directory1WithCtxReadDirentsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Dirents []uint8 `fidl_offset_v2:"8" fidl_bounds:"8192"` -} - -var _mdirectory1WithCtxReadDirentsResponse = _bindings.CreateLazyMarshaler(directory1WithCtxReadDirentsResponse{}) - -func (msg *directory1WithCtxReadDirentsResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxReadDirentsResponse -} - -type directory1WithCtxRewindResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mdirectory1WithCtxRewindResponse = _bindings.CreateLazyMarshaler(directory1WithCtxRewindResponse{}) - -func (msg *directory1WithCtxRewindResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxRewindResponse -} - -type directory1WithCtxGetTokenResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` - Token _zx.Handle `fidl_offset_v2:"4" fidl_handle_subtype:"0" fidl_handle_rights:"2147483648" fidl_bounds:"1"` -} - -var _mdirectory1WithCtxGetTokenResponse = _bindings.CreateLazyMarshaler(directory1WithCtxGetTokenResponse{}) - -func (msg *directory1WithCtxGetTokenResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxGetTokenResponse -} - -type directory1WithCtxLinkRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` - Src string `fidl_offset_v2:"0" fidl_bounds:"255"` - DstParentToken _zx.Handle `fidl_offset_v2:"16" fidl_handle_subtype:"0" fidl_handle_rights:"2147483648" fidl_bounds:"0"` - Dst string `fidl_offset_v2:"24" fidl_bounds:"255"` -} - -var _mdirectory1WithCtxLinkRequest = _bindings.CreateLazyMarshaler(directory1WithCtxLinkRequest{}) - -func (msg *directory1WithCtxLinkRequest) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxLinkRequest -} - -type directory1WithCtxLinkResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mdirectory1WithCtxLinkResponse = _bindings.CreateLazyMarshaler(directory1WithCtxLinkResponse{}) - -func (msg *directory1WithCtxLinkResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxLinkResponse -} - -type directory1WithCtxWatchRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"12" fidl_alignment_v2:"4"` - Mask WatchMask `fidl_offset_v2:"0"` - Options uint32 `fidl_offset_v2:"4"` - Watcher DirectoryWatcherWithCtxInterfaceRequest `fidl_offset_v2:"8" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdirectory1WithCtxWatchRequest = _bindings.CreateLazyMarshaler(directory1WithCtxWatchRequest{}) - -func (msg *directory1WithCtxWatchRequest) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxWatchRequest -} - -type directory1WithCtxWatchResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mdirectory1WithCtxWatchResponse = _bindings.CreateLazyMarshaler(directory1WithCtxWatchResponse{}) - -func (msg *directory1WithCtxWatchResponse) Marshaler() _bindings.Marshaler { - return _mdirectory1WithCtxWatchResponse -} - -type directory2WithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mdirectory2WithCtxCloseResponse = _bindings.CreateLazyMarshaler(directory2WithCtxCloseResponse{}) - -func (msg *directory2WithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxCloseResponse -} - -type directory2WithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mdirectory2WithCtxQueryResponse = _bindings.CreateLazyMarshaler(directory2WithCtxQueryResponse{}) - -func (msg *directory2WithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxQueryResponse -} - -type directory2WithCtxReopenRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Requests rights on the new connection according to the specified rules. - // - // If absent, inherits the rights from the connection where the call - // is made. - RightsRequest *RightsRequest `fidl_offset_v2:"0"` - ObjectRequest NodeWithCtxInterfaceRequest `fidl_offset_v2:"8" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdirectory2WithCtxReopenRequest = _bindings.CreateLazyMarshaler(directory2WithCtxReopenRequest{}) - -func (msg *directory2WithCtxReopenRequest) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxReopenRequest -} - -type directory2WithCtxOnRepresentationResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Payload Representation `fidl_offset_v2:"0"` -} - -var _mdirectory2WithCtxOnRepresentationResponse = _bindings.CreateLazyMarshaler(directory2WithCtxOnRepresentationResponse{}) - -func (msg *directory2WithCtxOnRepresentationResponse) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxOnRepresentationResponse -} - -type directory2WithCtxGetAttributesRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - // Set the corresponding bit to one to query that particular attribute. - // - // The elements here correspond one-to-one with [`NodeAttributes`]. - Query NodeAttributesQuery `fidl_offset_v2:"0"` -} - -var _mdirectory2WithCtxGetAttributesRequest = _bindings.CreateLazyMarshaler(directory2WithCtxGetAttributesRequest{}) - -func (msg *directory2WithCtxGetAttributesRequest) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxGetAttributesRequest -} - -type directory2WithCtxGetAttributesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2GetAttributesResult `fidl_offset_v2:"0"` -} - -var _mdirectory2WithCtxGetAttributesResponse = _bindings.CreateLazyMarshaler(directory2WithCtxGetAttributesResponse{}) - -func (msg *directory2WithCtxGetAttributesResponse) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxGetAttributesResponse -} - -type directory2WithCtxUpdateAttributesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2UpdateAttributesResult `fidl_offset_v2:"0"` -} - -var _mdirectory2WithCtxUpdateAttributesResponse = _bindings.CreateLazyMarshaler(directory2WithCtxUpdateAttributesResponse{}) - -func (msg *directory2WithCtxUpdateAttributesResponse) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxUpdateAttributesResponse -} - -type directory2WithCtxSyncResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2SyncResult `fidl_offset_v2:"0"` -} - -var _mdirectory2WithCtxSyncResponse = _bindings.CreateLazyMarshaler(directory2WithCtxSyncResponse{}) - -func (msg *directory2WithCtxSyncResponse) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxSyncResponse -} - -type directory2WithCtxAdvisoryLockRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Request AdvisoryLockRequest `fidl_offset_v2:"0"` -} - -var _mdirectory2WithCtxAdvisoryLockRequest = _bindings.CreateLazyMarshaler(directory2WithCtxAdvisoryLockRequest{}) - -func (msg *directory2WithCtxAdvisoryLockRequest) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxAdvisoryLockRequest -} - -type directory2WithCtxAdvisoryLockResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result AdvisoryLockingAdvisoryLockResult `fidl_offset_v2:"0"` -} - -var _mdirectory2WithCtxAdvisoryLockResponse = _bindings.CreateLazyMarshaler(directory2WithCtxAdvisoryLockResponse{}) - -func (msg *directory2WithCtxAdvisoryLockResponse) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxAdvisoryLockResponse -} - -type directory2WithCtxOpen2Request struct { - _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` - // Identifies the node to open. - // - // If it contains multiple segments, then the directory is traversed, - // one segment at a time, relative to the directory represented by this - // connection. - Path string `fidl_offset_v2:"0" fidl_bounds:"4095"` - // The representations accepted by the caller to support a form of - // protocol negotiation on the node being opened. - Protocols ConnectionProtocols `fidl_offset_v2:"16"` - // The server end of a channel created for the new connection. The - // caller may proceed to send messages on the corresponding client end - // right away. - ObjectRequest _zx.Channel `fidl_offset_v2:"32" fidl_handle_subtype:"4" fidl_handle_rights:"2147483648" fidl_bounds:"0"` -} - -var _mdirectory2WithCtxOpen2Request = _bindings.CreateLazyMarshaler(directory2WithCtxOpen2Request{}) - -func (msg *directory2WithCtxOpen2Request) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxOpen2Request -} - -type directory2WithCtxAddInotifyFilterRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - Path string `fidl_offset_v2:"0" fidl_bounds:"4095"` - Filter InotifyWatchMask `fidl_offset_v2:"16"` - WatchDescriptor uint32 `fidl_offset_v2:"20"` - Socket _zx.Socket `fidl_offset_v2:"24" fidl_handle_subtype:"14" fidl_handle_rights:"2147483648" fidl_bounds:"0"` -} - -var _mdirectory2WithCtxAddInotifyFilterRequest = _bindings.CreateLazyMarshaler(directory2WithCtxAddInotifyFilterRequest{}) - -func (msg *directory2WithCtxAddInotifyFilterRequest) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxAddInotifyFilterRequest -} - -type directory2WithCtxUnlinkRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - Name string `fidl_offset_v2:"0" fidl_bounds:"255"` - Options UnlinkOptions `fidl_offset_v2:"16"` -} - -var _mdirectory2WithCtxUnlinkRequest = _bindings.CreateLazyMarshaler(directory2WithCtxUnlinkRequest{}) - -func (msg *directory2WithCtxUnlinkRequest) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxUnlinkRequest -} - -type directory2WithCtxUnlinkResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Directory2UnlinkResult `fidl_offset_v2:"0"` -} - -var _mdirectory2WithCtxUnlinkResponse = _bindings.CreateLazyMarshaler(directory2WithCtxUnlinkResponse{}) - -func (msg *directory2WithCtxUnlinkResponse) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxUnlinkResponse -} - -type directory2WithCtxEnumerateRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Options DirectoryEnumerateOptions `fidl_offset_v2:"0"` - Iterator DirectoryIteratorWithCtxInterfaceRequest `fidl_offset_v2:"16" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdirectory2WithCtxEnumerateRequest = _bindings.CreateLazyMarshaler(directory2WithCtxEnumerateRequest{}) - -func (msg *directory2WithCtxEnumerateRequest) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxEnumerateRequest -} - -type directory2WithCtxRenameRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"40" fidl_alignment_v2:"8"` - Src string `fidl_offset_v2:"0" fidl_bounds:"255"` - DstParentToken _zx.Event `fidl_offset_v2:"16" fidl_handle_subtype:"5" fidl_handle_rights:"2147483648" fidl_bounds:"0"` - Dst string `fidl_offset_v2:"24" fidl_bounds:"255"` -} - -var _mdirectory2WithCtxRenameRequest = _bindings.CreateLazyMarshaler(directory2WithCtxRenameRequest{}) - -func (msg *directory2WithCtxRenameRequest) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxRenameRequest -} - -type directory2WithCtxRenameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Directory2RenameResult `fidl_offset_v2:"0"` -} - -var _mdirectory2WithCtxRenameResponse = _bindings.CreateLazyMarshaler(directory2WithCtxRenameResponse{}) - -func (msg *directory2WithCtxRenameResponse) Marshaler() _bindings.Marshaler { - return _mdirectory2WithCtxRenameResponse -} - -type directoryIteratorWithCtxGetNextResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result DirectoryIteratorGetNextResult `fidl_offset_v2:"0"` -} - -var _mdirectoryIteratorWithCtxGetNextResponse = _bindings.CreateLazyMarshaler(directoryIteratorWithCtxGetNextResponse{}) - -func (msg *directoryIteratorWithCtxGetNextResponse) Marshaler() _bindings.Marshaler { - return _mdirectoryIteratorWithCtxGetNextResponse -} - -type fileWithCtxAdvisoryLockRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Request AdvisoryLockRequest `fidl_offset_v2:"0"` -} - -var _mfileWithCtxAdvisoryLockRequest = _bindings.CreateLazyMarshaler(fileWithCtxAdvisoryLockRequest{}) - -func (msg *fileWithCtxAdvisoryLockRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxAdvisoryLockRequest -} - -type fileWithCtxAdvisoryLockResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result AdvisoryLockingAdvisoryLockResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxAdvisoryLockResponse = _bindings.CreateLazyMarshaler(fileWithCtxAdvisoryLockResponse{}) - -func (msg *fileWithCtxAdvisoryLockResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxAdvisoryLockResponse -} - -type fileWithCtxCloneRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Flags OpenFlags `fidl_offset_v2:"0"` - Object NodeWithCtxInterfaceRequest `fidl_offset_v2:"4" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mfileWithCtxCloneRequest = _bindings.CreateLazyMarshaler(fileWithCtxCloneRequest{}) - -func (msg *fileWithCtxCloneRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxCloneRequest -} - -type fileWithCtxOnOpenResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Info *NodeInfoDeprecated `fidl_offset_v2:"8"` -} - -var _mfileWithCtxOnOpenResponse = _bindings.CreateLazyMarshaler(fileWithCtxOnOpenResponse{}) - -func (msg *fileWithCtxOnOpenResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxOnOpenResponse -} - -type fileWithCtxGetAttrResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Attributes NodeAttributes `fidl_offset_v2:"8"` -} - -var _mfileWithCtxGetAttrResponse = _bindings.CreateLazyMarshaler(fileWithCtxGetAttrResponse{}) - -func (msg *fileWithCtxGetAttrResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxGetAttrResponse -} - -type fileWithCtxSetAttrRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - Flags NodeAttributeFlags `fidl_offset_v2:"0"` - Attributes NodeAttributes `fidl_offset_v2:"8"` -} - -var _mfileWithCtxSetAttrRequest = _bindings.CreateLazyMarshaler(fileWithCtxSetAttrRequest{}) - -func (msg *fileWithCtxSetAttrRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxSetAttrRequest -} - -type fileWithCtxSetAttrResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mfileWithCtxSetAttrResponse = _bindings.CreateLazyMarshaler(fileWithCtxSetAttrResponse{}) - -func (msg *fileWithCtxSetAttrResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxSetAttrResponse -} - -type fileWithCtxGetFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` - Flags OpenFlags `fidl_offset_v2:"4"` -} - -var _mfileWithCtxGetFlagsResponse = _bindings.CreateLazyMarshaler(fileWithCtxGetFlagsResponse{}) - -func (msg *fileWithCtxGetFlagsResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxGetFlagsResponse -} - -type fileWithCtxSetFlagsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Flags OpenFlags `fidl_offset_v2:"0"` -} - -var _mfileWithCtxSetFlagsRequest = _bindings.CreateLazyMarshaler(fileWithCtxSetFlagsRequest{}) - -func (msg *fileWithCtxSetFlagsRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxSetFlagsRequest -} - -type fileWithCtxSetFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mfileWithCtxSetFlagsResponse = _bindings.CreateLazyMarshaler(fileWithCtxSetFlagsResponse{}) - -func (msg *fileWithCtxSetFlagsResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxSetFlagsResponse -} - -type fileWithCtxQueryFilesystemResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Info *FilesystemInfo `fidl_offset_v2:"8"` -} - -var _mfileWithCtxQueryFilesystemResponse = _bindings.CreateLazyMarshaler(fileWithCtxQueryFilesystemResponse{}) - -func (msg *fileWithCtxQueryFilesystemResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxQueryFilesystemResponse -} - -type fileWithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxCloseResponse = _bindings.CreateLazyMarshaler(fileWithCtxCloseResponse{}) - -func (msg *fileWithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxCloseResponse -} - -type fileWithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mfileWithCtxQueryResponse = _bindings.CreateLazyMarshaler(fileWithCtxQueryResponse{}) - -func (msg *fileWithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxQueryResponse -} - -type fileWithCtxReopenRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Requests rights on the new connection according to the specified rules. - // - // If absent, inherits the rights from the connection where the call - // is made. - RightsRequest *RightsRequest `fidl_offset_v2:"0"` - ObjectRequest NodeWithCtxInterfaceRequest `fidl_offset_v2:"8" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mfileWithCtxReopenRequest = _bindings.CreateLazyMarshaler(fileWithCtxReopenRequest{}) - -func (msg *fileWithCtxReopenRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxReopenRequest -} - -type fileWithCtxOnRepresentationResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Payload Representation `fidl_offset_v2:"0"` -} - -var _mfileWithCtxOnRepresentationResponse = _bindings.CreateLazyMarshaler(fileWithCtxOnRepresentationResponse{}) - -func (msg *fileWithCtxOnRepresentationResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxOnRepresentationResponse -} - -type fileWithCtxGetAttributesRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - // Set the corresponding bit to one to query that particular attribute. - // - // The elements here correspond one-to-one with [`NodeAttributes`]. - Query NodeAttributesQuery `fidl_offset_v2:"0"` -} - -var _mfileWithCtxGetAttributesRequest = _bindings.CreateLazyMarshaler(fileWithCtxGetAttributesRequest{}) - -func (msg *fileWithCtxGetAttributesRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxGetAttributesRequest -} - -type fileWithCtxGetAttributesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2GetAttributesResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxGetAttributesResponse = _bindings.CreateLazyMarshaler(fileWithCtxGetAttributesResponse{}) - -func (msg *fileWithCtxGetAttributesResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxGetAttributesResponse -} - -type fileWithCtxUpdateAttributesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2UpdateAttributesResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxUpdateAttributesResponse = _bindings.CreateLazyMarshaler(fileWithCtxUpdateAttributesResponse{}) - -func (msg *fileWithCtxUpdateAttributesResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxUpdateAttributesResponse -} - -type fileWithCtxSyncResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2SyncResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxSyncResponse = _bindings.CreateLazyMarshaler(fileWithCtxSyncResponse{}) - -func (msg *fileWithCtxSyncResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxSyncResponse -} - -type fileWithCtxReadRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - Count uint64 `fidl_offset_v2:"0"` -} - -var _mfileWithCtxReadRequest = _bindings.CreateLazyMarshaler(fileWithCtxReadRequest{}) - -func (msg *fileWithCtxReadRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxReadRequest -} - -type fileWithCtxReadResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result ReadableReadResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxReadResponse = _bindings.CreateLazyMarshaler(fileWithCtxReadResponse{}) - -func (msg *fileWithCtxReadResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxReadResponse -} - -type fileWithCtxWriteRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Data []uint8 `fidl_offset_v2:"0" fidl_bounds:"8192"` -} - -var _mfileWithCtxWriteRequest = _bindings.CreateLazyMarshaler(fileWithCtxWriteRequest{}) - -func (msg *fileWithCtxWriteRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxWriteRequest -} - -type fileWithCtxWriteResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result WritableWriteResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxWriteResponse = _bindings.CreateLazyMarshaler(fileWithCtxWriteResponse{}) - -func (msg *fileWithCtxWriteResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxWriteResponse -} - -type fileWithCtxSeekRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Origin SeekOrigin `fidl_offset_v2:"0"` - Offset int64 `fidl_offset_v2:"8"` -} - -var _mfileWithCtxSeekRequest = _bindings.CreateLazyMarshaler(fileWithCtxSeekRequest{}) - -func (msg *fileWithCtxSeekRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxSeekRequest -} - -type fileWithCtxSeekResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result FileSeekResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxSeekResponse = _bindings.CreateLazyMarshaler(fileWithCtxSeekResponse{}) - -func (msg *fileWithCtxSeekResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxSeekResponse -} - -type fileWithCtxReadAtRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Count uint64 `fidl_offset_v2:"0"` - Offset uint64 `fidl_offset_v2:"8"` -} - -var _mfileWithCtxReadAtRequest = _bindings.CreateLazyMarshaler(fileWithCtxReadAtRequest{}) - -func (msg *fileWithCtxReadAtRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxReadAtRequest -} - -type fileWithCtxReadAtResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result FileReadAtResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxReadAtResponse = _bindings.CreateLazyMarshaler(fileWithCtxReadAtResponse{}) - -func (msg *fileWithCtxReadAtResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxReadAtResponse -} - -type fileWithCtxWriteAtRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Data []uint8 `fidl_offset_v2:"0" fidl_bounds:"8192"` - Offset uint64 `fidl_offset_v2:"16"` -} - -var _mfileWithCtxWriteAtRequest = _bindings.CreateLazyMarshaler(fileWithCtxWriteAtRequest{}) - -func (msg *fileWithCtxWriteAtRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxWriteAtRequest -} - -type fileWithCtxWriteAtResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result FileWriteAtResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxWriteAtResponse = _bindings.CreateLazyMarshaler(fileWithCtxWriteAtResponse{}) - -func (msg *fileWithCtxWriteAtResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxWriteAtResponse -} - -type fileWithCtxResizeRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - Length uint64 `fidl_offset_v2:"0"` -} - -var _mfileWithCtxResizeRequest = _bindings.CreateLazyMarshaler(fileWithCtxResizeRequest{}) - -func (msg *fileWithCtxResizeRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxResizeRequest -} - -type fileWithCtxResizeResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result FileResizeResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxResizeResponse = _bindings.CreateLazyMarshaler(fileWithCtxResizeResponse{}) - -func (msg *fileWithCtxResizeResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxResizeResponse -} - -type fileWithCtxGetBackingMemoryRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Flags VmoFlags `fidl_offset_v2:"0"` -} - -var _mfileWithCtxGetBackingMemoryRequest = _bindings.CreateLazyMarshaler(fileWithCtxGetBackingMemoryRequest{}) - -func (msg *fileWithCtxGetBackingMemoryRequest) Marshaler() _bindings.Marshaler { - return _mfileWithCtxGetBackingMemoryRequest -} - -type fileWithCtxGetBackingMemoryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result FileGetBackingMemoryResult `fidl_offset_v2:"0"` -} - -var _mfileWithCtxGetBackingMemoryResponse = _bindings.CreateLazyMarshaler(fileWithCtxGetBackingMemoryResponse{}) - -func (msg *fileWithCtxGetBackingMemoryResponse) Marshaler() _bindings.Marshaler { - return _mfileWithCtxGetBackingMemoryResponse -} - -type nodeWithCtxCloneRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Flags OpenFlags `fidl_offset_v2:"0"` - Object NodeWithCtxInterfaceRequest `fidl_offset_v2:"4" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mnodeWithCtxCloneRequest = _bindings.CreateLazyMarshaler(nodeWithCtxCloneRequest{}) - -func (msg *nodeWithCtxCloneRequest) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxCloneRequest -} - -type nodeWithCtxOnOpenResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Info *NodeInfoDeprecated `fidl_offset_v2:"8"` -} - -var _mnodeWithCtxOnOpenResponse = _bindings.CreateLazyMarshaler(nodeWithCtxOnOpenResponse{}) - -func (msg *nodeWithCtxOnOpenResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxOnOpenResponse -} - -type nodeWithCtxGetAttrResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Attributes NodeAttributes `fidl_offset_v2:"8"` -} - -var _mnodeWithCtxGetAttrResponse = _bindings.CreateLazyMarshaler(nodeWithCtxGetAttrResponse{}) - -func (msg *nodeWithCtxGetAttrResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxGetAttrResponse -} - -type nodeWithCtxSetAttrRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - Flags NodeAttributeFlags `fidl_offset_v2:"0"` - Attributes NodeAttributes `fidl_offset_v2:"8"` -} - -var _mnodeWithCtxSetAttrRequest = _bindings.CreateLazyMarshaler(nodeWithCtxSetAttrRequest{}) - -func (msg *nodeWithCtxSetAttrRequest) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxSetAttrRequest -} - -type nodeWithCtxSetAttrResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mnodeWithCtxSetAttrResponse = _bindings.CreateLazyMarshaler(nodeWithCtxSetAttrResponse{}) - -func (msg *nodeWithCtxSetAttrResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxSetAttrResponse -} - -type nodeWithCtxGetFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` - Flags OpenFlags `fidl_offset_v2:"4"` -} - -var _mnodeWithCtxGetFlagsResponse = _bindings.CreateLazyMarshaler(nodeWithCtxGetFlagsResponse{}) - -func (msg *nodeWithCtxGetFlagsResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxGetFlagsResponse -} - -type nodeWithCtxSetFlagsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Flags OpenFlags `fidl_offset_v2:"0"` -} - -var _mnodeWithCtxSetFlagsRequest = _bindings.CreateLazyMarshaler(nodeWithCtxSetFlagsRequest{}) - -func (msg *nodeWithCtxSetFlagsRequest) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxSetFlagsRequest -} - -type nodeWithCtxSetFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mnodeWithCtxSetFlagsResponse = _bindings.CreateLazyMarshaler(nodeWithCtxSetFlagsResponse{}) - -func (msg *nodeWithCtxSetFlagsResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxSetFlagsResponse -} - -type nodeWithCtxQueryFilesystemResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Info *FilesystemInfo `fidl_offset_v2:"8"` -} - -var _mnodeWithCtxQueryFilesystemResponse = _bindings.CreateLazyMarshaler(nodeWithCtxQueryFilesystemResponse{}) - -func (msg *nodeWithCtxQueryFilesystemResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxQueryFilesystemResponse -} - -type nodeWithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mnodeWithCtxCloseResponse = _bindings.CreateLazyMarshaler(nodeWithCtxCloseResponse{}) - -func (msg *nodeWithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxCloseResponse -} - -type nodeWithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mnodeWithCtxQueryResponse = _bindings.CreateLazyMarshaler(nodeWithCtxQueryResponse{}) - -func (msg *nodeWithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxQueryResponse -} - -type nodeWithCtxReopenRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Requests rights on the new connection according to the specified rules. - // - // If absent, inherits the rights from the connection where the call - // is made. - RightsRequest *RightsRequest `fidl_offset_v2:"0"` - ObjectRequest NodeWithCtxInterfaceRequest `fidl_offset_v2:"8" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mnodeWithCtxReopenRequest = _bindings.CreateLazyMarshaler(nodeWithCtxReopenRequest{}) - -func (msg *nodeWithCtxReopenRequest) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxReopenRequest -} - -type nodeWithCtxOnRepresentationResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Payload Representation `fidl_offset_v2:"0"` -} - -var _mnodeWithCtxOnRepresentationResponse = _bindings.CreateLazyMarshaler(nodeWithCtxOnRepresentationResponse{}) - -func (msg *nodeWithCtxOnRepresentationResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxOnRepresentationResponse -} - -type nodeWithCtxGetAttributesRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - // Set the corresponding bit to one to query that particular attribute. - // - // The elements here correspond one-to-one with [`NodeAttributes`]. - Query NodeAttributesQuery `fidl_offset_v2:"0"` -} - -var _mnodeWithCtxGetAttributesRequest = _bindings.CreateLazyMarshaler(nodeWithCtxGetAttributesRequest{}) - -func (msg *nodeWithCtxGetAttributesRequest) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxGetAttributesRequest -} - -type nodeWithCtxGetAttributesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2GetAttributesResult `fidl_offset_v2:"0"` -} - -var _mnodeWithCtxGetAttributesResponse = _bindings.CreateLazyMarshaler(nodeWithCtxGetAttributesResponse{}) - -func (msg *nodeWithCtxGetAttributesResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxGetAttributesResponse -} - -type nodeWithCtxUpdateAttributesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2UpdateAttributesResult `fidl_offset_v2:"0"` -} - -var _mnodeWithCtxUpdateAttributesResponse = _bindings.CreateLazyMarshaler(nodeWithCtxUpdateAttributesResponse{}) - -func (msg *nodeWithCtxUpdateAttributesResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxUpdateAttributesResponse -} - -type nodeWithCtxSyncResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2SyncResult `fidl_offset_v2:"0"` -} - -var _mnodeWithCtxSyncResponse = _bindings.CreateLazyMarshaler(nodeWithCtxSyncResponse{}) - -func (msg *nodeWithCtxSyncResponse) Marshaler() _bindings.Marshaler { - return _mnodeWithCtxSyncResponse -} - -type node1WithCtxCloneRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Flags OpenFlags `fidl_offset_v2:"0"` - Object NodeWithCtxInterfaceRequest `fidl_offset_v2:"4" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mnode1WithCtxCloneRequest = _bindings.CreateLazyMarshaler(node1WithCtxCloneRequest{}) - -func (msg *node1WithCtxCloneRequest) Marshaler() _bindings.Marshaler { - return _mnode1WithCtxCloneRequest -} - -type node1WithCtxOnOpenResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Info *NodeInfoDeprecated `fidl_offset_v2:"8"` -} - -var _mnode1WithCtxOnOpenResponse = _bindings.CreateLazyMarshaler(node1WithCtxOnOpenResponse{}) - -func (msg *node1WithCtxOnOpenResponse) Marshaler() _bindings.Marshaler { - return _mnode1WithCtxOnOpenResponse -} - -type node1WithCtxGetAttrResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Attributes NodeAttributes `fidl_offset_v2:"8"` -} - -var _mnode1WithCtxGetAttrResponse = _bindings.CreateLazyMarshaler(node1WithCtxGetAttrResponse{}) - -func (msg *node1WithCtxGetAttrResponse) Marshaler() _bindings.Marshaler { - return _mnode1WithCtxGetAttrResponse -} - -type node1WithCtxSetAttrRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - Flags NodeAttributeFlags `fidl_offset_v2:"0"` - Attributes NodeAttributes `fidl_offset_v2:"8"` -} - -var _mnode1WithCtxSetAttrRequest = _bindings.CreateLazyMarshaler(node1WithCtxSetAttrRequest{}) - -func (msg *node1WithCtxSetAttrRequest) Marshaler() _bindings.Marshaler { - return _mnode1WithCtxSetAttrRequest -} - -type node1WithCtxSetAttrResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mnode1WithCtxSetAttrResponse = _bindings.CreateLazyMarshaler(node1WithCtxSetAttrResponse{}) - -func (msg *node1WithCtxSetAttrResponse) Marshaler() _bindings.Marshaler { - return _mnode1WithCtxSetAttrResponse -} - -type node1WithCtxGetFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` - Flags OpenFlags `fidl_offset_v2:"4"` -} - -var _mnode1WithCtxGetFlagsResponse = _bindings.CreateLazyMarshaler(node1WithCtxGetFlagsResponse{}) - -func (msg *node1WithCtxGetFlagsResponse) Marshaler() _bindings.Marshaler { - return _mnode1WithCtxGetFlagsResponse -} - -type node1WithCtxSetFlagsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Flags OpenFlags `fidl_offset_v2:"0"` -} - -var _mnode1WithCtxSetFlagsRequest = _bindings.CreateLazyMarshaler(node1WithCtxSetFlagsRequest{}) - -func (msg *node1WithCtxSetFlagsRequest) Marshaler() _bindings.Marshaler { - return _mnode1WithCtxSetFlagsRequest -} - -type node1WithCtxSetFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - S int32 `fidl_offset_v2:"0"` -} - -var _mnode1WithCtxSetFlagsResponse = _bindings.CreateLazyMarshaler(node1WithCtxSetFlagsResponse{}) - -func (msg *node1WithCtxSetFlagsResponse) Marshaler() _bindings.Marshaler { - return _mnode1WithCtxSetFlagsResponse -} - -type node1WithCtxQueryFilesystemResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - S int32 `fidl_offset_v2:"0"` - Info *FilesystemInfo `fidl_offset_v2:"8"` -} - -var _mnode1WithCtxQueryFilesystemResponse = _bindings.CreateLazyMarshaler(node1WithCtxQueryFilesystemResponse{}) - -func (msg *node1WithCtxQueryFilesystemResponse) Marshaler() _bindings.Marshaler { - return _mnode1WithCtxQueryFilesystemResponse -} - -type node2WithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mnode2WithCtxCloseResponse = _bindings.CreateLazyMarshaler(node2WithCtxCloseResponse{}) - -func (msg *node2WithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mnode2WithCtxCloseResponse -} - -type node2WithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mnode2WithCtxQueryResponse = _bindings.CreateLazyMarshaler(node2WithCtxQueryResponse{}) - -func (msg *node2WithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mnode2WithCtxQueryResponse -} - -type node2WithCtxReopenRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Requests rights on the new connection according to the specified rules. - // - // If absent, inherits the rights from the connection where the call - // is made. - RightsRequest *RightsRequest `fidl_offset_v2:"0"` - ObjectRequest NodeWithCtxInterfaceRequest `fidl_offset_v2:"8" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mnode2WithCtxReopenRequest = _bindings.CreateLazyMarshaler(node2WithCtxReopenRequest{}) - -func (msg *node2WithCtxReopenRequest) Marshaler() _bindings.Marshaler { - return _mnode2WithCtxReopenRequest -} - -type node2WithCtxOnRepresentationResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Payload Representation `fidl_offset_v2:"0"` -} - -var _mnode2WithCtxOnRepresentationResponse = _bindings.CreateLazyMarshaler(node2WithCtxOnRepresentationResponse{}) - -func (msg *node2WithCtxOnRepresentationResponse) Marshaler() _bindings.Marshaler { - return _mnode2WithCtxOnRepresentationResponse -} - -type node2WithCtxGetAttributesRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - // Set the corresponding bit to one to query that particular attribute. - // - // The elements here correspond one-to-one with [`NodeAttributes`]. - Query NodeAttributesQuery `fidl_offset_v2:"0"` -} - -var _mnode2WithCtxGetAttributesRequest = _bindings.CreateLazyMarshaler(node2WithCtxGetAttributesRequest{}) - -func (msg *node2WithCtxGetAttributesRequest) Marshaler() _bindings.Marshaler { - return _mnode2WithCtxGetAttributesRequest -} - -type node2WithCtxGetAttributesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2GetAttributesResult `fidl_offset_v2:"0"` -} - -var _mnode2WithCtxGetAttributesResponse = _bindings.CreateLazyMarshaler(node2WithCtxGetAttributesResponse{}) - -func (msg *node2WithCtxGetAttributesResponse) Marshaler() _bindings.Marshaler { - return _mnode2WithCtxGetAttributesResponse -} - -type node2WithCtxUpdateAttributesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2UpdateAttributesResult `fidl_offset_v2:"0"` -} - -var _mnode2WithCtxUpdateAttributesResponse = _bindings.CreateLazyMarshaler(node2WithCtxUpdateAttributesResponse{}) - -func (msg *node2WithCtxUpdateAttributesResponse) Marshaler() _bindings.Marshaler { - return _mnode2WithCtxUpdateAttributesResponse -} - -type node2WithCtxSyncResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result Node2SyncResult `fidl_offset_v2:"0"` -} - -var _mnode2WithCtxSyncResponse = _bindings.CreateLazyMarshaler(node2WithCtxSyncResponse{}) - -func (msg *node2WithCtxSyncResponse) Marshaler() _bindings.Marshaler { - return _mnode2WithCtxSyncResponse -} - -type openableWithCtxOpenRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - Flags OpenFlags `fidl_offset_v2:"0"` - Mode ModeType `fidl_offset_v2:"4"` - Path string `fidl_offset_v2:"8" fidl_bounds:"4096"` - Object NodeWithCtxInterfaceRequest `fidl_offset_v2:"24" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mopenableWithCtxOpenRequest = _bindings.CreateLazyMarshaler(openableWithCtxOpenRequest{}) - -func (msg *openableWithCtxOpenRequest) Marshaler() _bindings.Marshaler { - return _mopenableWithCtxOpenRequest -} - -type readableWithCtxReadRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - Count uint64 `fidl_offset_v2:"0"` -} - -var _mreadableWithCtxReadRequest = _bindings.CreateLazyMarshaler(readableWithCtxReadRequest{}) - -func (msg *readableWithCtxReadRequest) Marshaler() _bindings.Marshaler { - return _mreadableWithCtxReadRequest -} - -type readableWithCtxReadResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result ReadableReadResult `fidl_offset_v2:"0"` -} - -var _mreadableWithCtxReadResponse = _bindings.CreateLazyMarshaler(readableWithCtxReadResponse{}) - -func (msg *readableWithCtxReadResponse) Marshaler() _bindings.Marshaler { - return _mreadableWithCtxReadResponse -} - -type writableWithCtxWriteRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Data []uint8 `fidl_offset_v2:"0" fidl_bounds:"8192"` -} - -var _mwritableWithCtxWriteRequest = _bindings.CreateLazyMarshaler(writableWithCtxWriteRequest{}) - -func (msg *writableWithCtxWriteRequest) Marshaler() _bindings.Marshaler { - return _mwritableWithCtxWriteRequest -} - -type writableWithCtxWriteResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result WritableWriteResult `fidl_offset_v2:"0"` -} - -var _mwritableWithCtxWriteResponse = _bindings.CreateLazyMarshaler(writableWithCtxWriteResponse{}) - -func (msg *writableWithCtxWriteResponse) Marshaler() _bindings.Marshaler { - return _mwritableWithCtxWriteResponse -} - type I_advisoryLockingAdvisoryLockResultTag uint64 const ( @@ -3967,6 +2742,68 @@ return _m.I_unknownData.(_bindings.UnknownData) } +type I_directory2CreateSymlinkResultTag uint64 + +const ( + Directory2CreateSymlinkResultResponse = 1 // 0x00000001 + Directory2CreateSymlinkResultErr = 2 // 0x00000002 +) + +type Directory2CreateSymlinkResult struct { + I_directory2CreateSymlinkResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response Directory2CreateSymlinkResponse `fidl_ordinal:"1"` + Err int32 `fidl_ordinal:"2"` +} + +var _mDirectory2CreateSymlinkResult = _bindings.CreateLazyMarshaler(Directory2CreateSymlinkResult{}) + +func (msg *Directory2CreateSymlinkResult) Marshaler() _bindings.Marshaler { + return _mDirectory2CreateSymlinkResult +} + +func (_m *Directory2CreateSymlinkResult) reset() { + switch _m.I_directory2CreateSymlinkResultTag { + case 1: + var _zeroed Directory2CreateSymlinkResponse + _m.Response = _zeroed + case 2: + var _zeroed int32 + _m.Err = _zeroed + } +} + +func (_m *Directory2CreateSymlinkResult) Which() I_directory2CreateSymlinkResultTag { + return _m.I_directory2CreateSymlinkResultTag +} + +func (_m *Directory2CreateSymlinkResult) Ordinal() uint64 { + return uint64(_m.I_directory2CreateSymlinkResultTag) +} + +func (_m *Directory2CreateSymlinkResult) SetResponse(response Directory2CreateSymlinkResponse) { + _m.reset() + _m.I_directory2CreateSymlinkResultTag = Directory2CreateSymlinkResultResponse + _m.Response = response +} + +func Directory2CreateSymlinkResultWithResponse(response Directory2CreateSymlinkResponse) Directory2CreateSymlinkResult { + var _u Directory2CreateSymlinkResult + _u.SetResponse(response) + return _u +} + +func (_m *Directory2CreateSymlinkResult) SetErr(err int32) { + _m.reset() + _m.I_directory2CreateSymlinkResultTag = Directory2CreateSymlinkResultErr + _m.Err = err +} + +func Directory2CreateSymlinkResultWithErr(err int32) Directory2CreateSymlinkResult { + var _u Directory2CreateSymlinkResult + _u.SetErr(err) + return _u +} + type I_directory2RenameResultTag uint64 const ( @@ -4153,6 +2990,257 @@ return _u } +type I_extendedAttributeIteratorGetNextResultTag uint64 + +const ( + ExtendedAttributeIteratorGetNextResultResponse = 1 // 0x00000001 + ExtendedAttributeIteratorGetNextResultErr = 2 // 0x00000002 +) + +type ExtendedAttributeIteratorGetNextResult struct { + I_extendedAttributeIteratorGetNextResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response ExtendedAttributeIteratorGetNextResponse `fidl_ordinal:"1"` + Err int32 `fidl_ordinal:"2"` +} + +var _mExtendedAttributeIteratorGetNextResult = _bindings.CreateLazyMarshaler(ExtendedAttributeIteratorGetNextResult{}) + +func (msg *ExtendedAttributeIteratorGetNextResult) Marshaler() _bindings.Marshaler { + return _mExtendedAttributeIteratorGetNextResult +} + +func (_m *ExtendedAttributeIteratorGetNextResult) reset() { + switch _m.I_extendedAttributeIteratorGetNextResultTag { + case 1: + var _zeroed ExtendedAttributeIteratorGetNextResponse + _m.Response = _zeroed + case 2: + var _zeroed int32 + _m.Err = _zeroed + } +} + +func (_m *ExtendedAttributeIteratorGetNextResult) Which() I_extendedAttributeIteratorGetNextResultTag { + return _m.I_extendedAttributeIteratorGetNextResultTag +} + +func (_m *ExtendedAttributeIteratorGetNextResult) Ordinal() uint64 { + return uint64(_m.I_extendedAttributeIteratorGetNextResultTag) +} + +func (_m *ExtendedAttributeIteratorGetNextResult) SetResponse(response ExtendedAttributeIteratorGetNextResponse) { + _m.reset() + _m.I_extendedAttributeIteratorGetNextResultTag = ExtendedAttributeIteratorGetNextResultResponse + _m.Response = response +} + +func ExtendedAttributeIteratorGetNextResultWithResponse(response ExtendedAttributeIteratorGetNextResponse) ExtendedAttributeIteratorGetNextResult { + var _u ExtendedAttributeIteratorGetNextResult + _u.SetResponse(response) + return _u +} + +func (_m *ExtendedAttributeIteratorGetNextResult) SetErr(err int32) { + _m.reset() + _m.I_extendedAttributeIteratorGetNextResultTag = ExtendedAttributeIteratorGetNextResultErr + _m.Err = err +} + +func ExtendedAttributeIteratorGetNextResultWithErr(err int32) ExtendedAttributeIteratorGetNextResult { + var _u ExtendedAttributeIteratorGetNextResult + _u.SetErr(err) + return _u +} + +type I_extendedAttributeValueTag uint64 + +const ( + ExtendedAttributeValueBytes = 1 // 0x00000001 + ExtendedAttributeValueBuffer = 2 // 0x00000002 +) + +// The value type for an extended attribute. If the value is less than 32768 +// bytes, then it is included inline. Values larger than this size are written +// into a vmo buffer. +type ExtendedAttributeValue struct { + I_extendedAttributeValueTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"true"` + Bytes []uint8 `fidl_bounds:"32768" fidl_ordinal:"1"` + Buffer _zx.VMO `fidl_handle_subtype:"3" fidl_handle_rights:"2147483648" fidl_bounds:"0" fidl_ordinal:"2"` +} + +var _mExtendedAttributeValue = _bindings.CreateLazyMarshaler(ExtendedAttributeValue{}) + +func (msg *ExtendedAttributeValue) Marshaler() _bindings.Marshaler { + return _mExtendedAttributeValue +} + +func (_m *ExtendedAttributeValue) reset() { + switch _m.I_extendedAttributeValueTag { + case 1: + var _zeroed []uint8 + _m.Bytes = _zeroed + case 2: + var _zeroed _zx.VMO + _m.Buffer = _zeroed + } +} + +func (_m *ExtendedAttributeValue) Which() I_extendedAttributeValueTag { + return _m.I_extendedAttributeValueTag +} + +func (_m *ExtendedAttributeValue) Ordinal() uint64 { + return uint64(_m.I_extendedAttributeValueTag) +} + +func (_m *ExtendedAttributeValue) SetBytes(bytes []uint8) { + _m.reset() + _m.I_extendedAttributeValueTag = ExtendedAttributeValueBytes + _m.Bytes = bytes +} + +func ExtendedAttributeValueWithBytes(bytes []uint8) ExtendedAttributeValue { + var _u ExtendedAttributeValue + _u.SetBytes(bytes) + return _u +} + +func (_m *ExtendedAttributeValue) SetBuffer(buffer _zx.VMO) { + _m.reset() + _m.I_extendedAttributeValueTag = ExtendedAttributeValueBuffer + _m.Buffer = buffer +} + +func ExtendedAttributeValueWithBuffer(buffer _zx.VMO) ExtendedAttributeValue { + var _u ExtendedAttributeValue + _u.SetBuffer(buffer) + return _u +} + +type I_fileAllocateResultTag uint64 + +const ( + FileAllocateResultResponse = 1 // 0x00000001 + FileAllocateResultErr = 2 // 0x00000002 +) + +type FileAllocateResult struct { + I_fileAllocateResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response FileAllocateResponse `fidl_ordinal:"1"` + Err int32 `fidl_ordinal:"2"` +} + +var _mFileAllocateResult = _bindings.CreateLazyMarshaler(FileAllocateResult{}) + +func (msg *FileAllocateResult) Marshaler() _bindings.Marshaler { + return _mFileAllocateResult +} + +func (_m *FileAllocateResult) reset() { + switch _m.I_fileAllocateResultTag { + case 1: + var _zeroed FileAllocateResponse + _m.Response = _zeroed + case 2: + var _zeroed int32 + _m.Err = _zeroed + } +} + +func (_m *FileAllocateResult) Which() I_fileAllocateResultTag { + return _m.I_fileAllocateResultTag +} + +func (_m *FileAllocateResult) Ordinal() uint64 { + return uint64(_m.I_fileAllocateResultTag) +} + +func (_m *FileAllocateResult) SetResponse(response FileAllocateResponse) { + _m.reset() + _m.I_fileAllocateResultTag = FileAllocateResultResponse + _m.Response = response +} + +func FileAllocateResultWithResponse(response FileAllocateResponse) FileAllocateResult { + var _u FileAllocateResult + _u.SetResponse(response) + return _u +} + +func (_m *FileAllocateResult) SetErr(err int32) { + _m.reset() + _m.I_fileAllocateResultTag = FileAllocateResultErr + _m.Err = err +} + +func FileAllocateResultWithErr(err int32) FileAllocateResult { + var _u FileAllocateResult + _u.SetErr(err) + return _u +} + +type I_fileEnableVerityResultTag uint64 + +const ( + FileEnableVerityResultResponse = 1 // 0x00000001 + FileEnableVerityResultErr = 2 // 0x00000002 +) + +type FileEnableVerityResult struct { + I_fileEnableVerityResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response FileEnableVerityResponse `fidl_ordinal:"1"` + Err int32 `fidl_ordinal:"2"` +} + +var _mFileEnableVerityResult = _bindings.CreateLazyMarshaler(FileEnableVerityResult{}) + +func (msg *FileEnableVerityResult) Marshaler() _bindings.Marshaler { + return _mFileEnableVerityResult +} + +func (_m *FileEnableVerityResult) reset() { + switch _m.I_fileEnableVerityResultTag { + case 1: + var _zeroed FileEnableVerityResponse + _m.Response = _zeroed + case 2: + var _zeroed int32 + _m.Err = _zeroed + } +} + +func (_m *FileEnableVerityResult) Which() I_fileEnableVerityResultTag { + return _m.I_fileEnableVerityResultTag +} + +func (_m *FileEnableVerityResult) Ordinal() uint64 { + return uint64(_m.I_fileEnableVerityResultTag) +} + +func (_m *FileEnableVerityResult) SetResponse(response FileEnableVerityResponse) { + _m.reset() + _m.I_fileEnableVerityResultTag = FileEnableVerityResultResponse + _m.Response = response +} + +func FileEnableVerityResultWithResponse(response FileEnableVerityResponse) FileEnableVerityResult { + var _u FileEnableVerityResult + _u.SetResponse(response) + return _u +} + +func (_m *FileEnableVerityResult) SetErr(err int32) { + _m.reset() + _m.I_fileEnableVerityResultTag = FileEnableVerityResultErr + _m.Err = err +} + +func FileEnableVerityResultWithErr(err int32) FileEnableVerityResult { + var _u FileEnableVerityResult + _u.SetErr(err) + return _u +} + type I_fileGetBackingMemoryResultTag uint64 const ( @@ -4463,6 +3551,68 @@ return _u } +type I_linkableLinkIntoResultTag uint64 + +const ( + LinkableLinkIntoResultResponse = 1 // 0x00000001 + LinkableLinkIntoResultErr = 2 // 0x00000002 +) + +type LinkableLinkIntoResult struct { + I_linkableLinkIntoResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response LinkableLinkIntoResponse `fidl_ordinal:"1"` + Err int32 `fidl_ordinal:"2"` +} + +var _mLinkableLinkIntoResult = _bindings.CreateLazyMarshaler(LinkableLinkIntoResult{}) + +func (msg *LinkableLinkIntoResult) Marshaler() _bindings.Marshaler { + return _mLinkableLinkIntoResult +} + +func (_m *LinkableLinkIntoResult) reset() { + switch _m.I_linkableLinkIntoResultTag { + case 1: + var _zeroed LinkableLinkIntoResponse + _m.Response = _zeroed + case 2: + var _zeroed int32 + _m.Err = _zeroed + } +} + +func (_m *LinkableLinkIntoResult) Which() I_linkableLinkIntoResultTag { + return _m.I_linkableLinkIntoResultTag +} + +func (_m *LinkableLinkIntoResult) Ordinal() uint64 { + return uint64(_m.I_linkableLinkIntoResultTag) +} + +func (_m *LinkableLinkIntoResult) SetResponse(response LinkableLinkIntoResponse) { + _m.reset() + _m.I_linkableLinkIntoResultTag = LinkableLinkIntoResultResponse + _m.Response = response +} + +func LinkableLinkIntoResultWithResponse(response LinkableLinkIntoResponse) LinkableLinkIntoResult { + var _u LinkableLinkIntoResult + _u.SetResponse(response) + return _u +} + +func (_m *LinkableLinkIntoResult) SetErr(err int32) { + _m.reset() + _m.I_linkableLinkIntoResultTag = LinkableLinkIntoResultErr + _m.Err = err +} + +func LinkableLinkIntoResultWithErr(err int32) LinkableLinkIntoResult { + var _u LinkableLinkIntoResult + _u.SetErr(err) + return _u +} + type I_node2GetAttributesResultTag uint64 const ( @@ -4525,6 +3675,192 @@ return _u } +type I_node2GetExtendedAttributeResultTag uint64 + +const ( + Node2GetExtendedAttributeResultResponse = 1 // 0x00000001 + Node2GetExtendedAttributeResultErr = 2 // 0x00000002 +) + +type Node2GetExtendedAttributeResult struct { + I_node2GetExtendedAttributeResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"true"` + Response ExtendedAttributeValue `fidl_ordinal:"1"` + Err int32 `fidl_ordinal:"2"` +} + +var _mNode2GetExtendedAttributeResult = _bindings.CreateLazyMarshaler(Node2GetExtendedAttributeResult{}) + +func (msg *Node2GetExtendedAttributeResult) Marshaler() _bindings.Marshaler { + return _mNode2GetExtendedAttributeResult +} + +func (_m *Node2GetExtendedAttributeResult) reset() { + switch _m.I_node2GetExtendedAttributeResultTag { + case 1: + var _zeroed ExtendedAttributeValue + _m.Response = _zeroed + case 2: + var _zeroed int32 + _m.Err = _zeroed + } +} + +func (_m *Node2GetExtendedAttributeResult) Which() I_node2GetExtendedAttributeResultTag { + return _m.I_node2GetExtendedAttributeResultTag +} + +func (_m *Node2GetExtendedAttributeResult) Ordinal() uint64 { + return uint64(_m.I_node2GetExtendedAttributeResultTag) +} + +func (_m *Node2GetExtendedAttributeResult) SetResponse(response ExtendedAttributeValue) { + _m.reset() + _m.I_node2GetExtendedAttributeResultTag = Node2GetExtendedAttributeResultResponse + _m.Response = response +} + +func Node2GetExtendedAttributeResultWithResponse(response ExtendedAttributeValue) Node2GetExtendedAttributeResult { + var _u Node2GetExtendedAttributeResult + _u.SetResponse(response) + return _u +} + +func (_m *Node2GetExtendedAttributeResult) SetErr(err int32) { + _m.reset() + _m.I_node2GetExtendedAttributeResultTag = Node2GetExtendedAttributeResultErr + _m.Err = err +} + +func Node2GetExtendedAttributeResultWithErr(err int32) Node2GetExtendedAttributeResult { + var _u Node2GetExtendedAttributeResult + _u.SetErr(err) + return _u +} + +type I_node2RemoveExtendedAttributeResultTag uint64 + +const ( + Node2RemoveExtendedAttributeResultResponse = 1 // 0x00000001 + Node2RemoveExtendedAttributeResultErr = 2 // 0x00000002 +) + +type Node2RemoveExtendedAttributeResult struct { + I_node2RemoveExtendedAttributeResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response Node2RemoveExtendedAttributeResponse `fidl_ordinal:"1"` + Err int32 `fidl_ordinal:"2"` +} + +var _mNode2RemoveExtendedAttributeResult = _bindings.CreateLazyMarshaler(Node2RemoveExtendedAttributeResult{}) + +func (msg *Node2RemoveExtendedAttributeResult) Marshaler() _bindings.Marshaler { + return _mNode2RemoveExtendedAttributeResult +} + +func (_m *Node2RemoveExtendedAttributeResult) reset() { + switch _m.I_node2RemoveExtendedAttributeResultTag { + case 1: + var _zeroed Node2RemoveExtendedAttributeResponse + _m.Response = _zeroed + case 2: + var _zeroed int32 + _m.Err = _zeroed + } +} + +func (_m *Node2RemoveExtendedAttributeResult) Which() I_node2RemoveExtendedAttributeResultTag { + return _m.I_node2RemoveExtendedAttributeResultTag +} + +func (_m *Node2RemoveExtendedAttributeResult) Ordinal() uint64 { + return uint64(_m.I_node2RemoveExtendedAttributeResultTag) +} + +func (_m *Node2RemoveExtendedAttributeResult) SetResponse(response Node2RemoveExtendedAttributeResponse) { + _m.reset() + _m.I_node2RemoveExtendedAttributeResultTag = Node2RemoveExtendedAttributeResultResponse + _m.Response = response +} + +func Node2RemoveExtendedAttributeResultWithResponse(response Node2RemoveExtendedAttributeResponse) Node2RemoveExtendedAttributeResult { + var _u Node2RemoveExtendedAttributeResult + _u.SetResponse(response) + return _u +} + +func (_m *Node2RemoveExtendedAttributeResult) SetErr(err int32) { + _m.reset() + _m.I_node2RemoveExtendedAttributeResultTag = Node2RemoveExtendedAttributeResultErr + _m.Err = err +} + +func Node2RemoveExtendedAttributeResultWithErr(err int32) Node2RemoveExtendedAttributeResult { + var _u Node2RemoveExtendedAttributeResult + _u.SetErr(err) + return _u +} + +type I_node2SetExtendedAttributeResultTag uint64 + +const ( + Node2SetExtendedAttributeResultResponse = 1 // 0x00000001 + Node2SetExtendedAttributeResultErr = 2 // 0x00000002 +) + +type Node2SetExtendedAttributeResult struct { + I_node2SetExtendedAttributeResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response Node2SetExtendedAttributeResponse `fidl_ordinal:"1"` + Err int32 `fidl_ordinal:"2"` +} + +var _mNode2SetExtendedAttributeResult = _bindings.CreateLazyMarshaler(Node2SetExtendedAttributeResult{}) + +func (msg *Node2SetExtendedAttributeResult) Marshaler() _bindings.Marshaler { + return _mNode2SetExtendedAttributeResult +} + +func (_m *Node2SetExtendedAttributeResult) reset() { + switch _m.I_node2SetExtendedAttributeResultTag { + case 1: + var _zeroed Node2SetExtendedAttributeResponse + _m.Response = _zeroed + case 2: + var _zeroed int32 + _m.Err = _zeroed + } +} + +func (_m *Node2SetExtendedAttributeResult) Which() I_node2SetExtendedAttributeResultTag { + return _m.I_node2SetExtendedAttributeResultTag +} + +func (_m *Node2SetExtendedAttributeResult) Ordinal() uint64 { + return uint64(_m.I_node2SetExtendedAttributeResultTag) +} + +func (_m *Node2SetExtendedAttributeResult) SetResponse(response Node2SetExtendedAttributeResponse) { + _m.reset() + _m.I_node2SetExtendedAttributeResultTag = Node2SetExtendedAttributeResultResponse + _m.Response = response +} + +func Node2SetExtendedAttributeResultWithResponse(response Node2SetExtendedAttributeResponse) Node2SetExtendedAttributeResult { + var _u Node2SetExtendedAttributeResult + _u.SetResponse(response) + return _u +} + +func (_m *Node2SetExtendedAttributeResult) SetErr(err int32) { + _m.reset() + _m.I_node2SetExtendedAttributeResultTag = Node2SetExtendedAttributeResultErr + _m.Err = err +} + +func Node2SetExtendedAttributeResultWithErr(err int32) Node2SetExtendedAttributeResult { + var _u Node2SetExtendedAttributeResult + _u.SetErr(err) + return _u +} + type I_node2SyncResultTag uint64 const ( @@ -4655,6 +3991,7 @@ NodeInfoDeprecatedService = 1 // 0x00000001 NodeInfoDeprecatedFile = 2 // 0x00000002 NodeInfoDeprecatedDirectory = 3 // 0x00000003 + NodeInfoDeprecatedSymlink = 4 // 0x00000004 ) type NodeInfoDeprecated struct { @@ -4665,6 +4002,8 @@ File FileObject `fidl_ordinal:"2"` // The connection composes [`Directory`]. Directory DirectoryObject `fidl_ordinal:"3"` + // The connection composes ['Symlink']. + Symlink SymlinkObject `fidl_ordinal:"4"` } var _mNodeInfoDeprecated = _bindings.CreateLazyMarshaler(NodeInfoDeprecated{}) @@ -4684,6 +4023,9 @@ case 3: var _zeroed DirectoryObject _m.Directory = _zeroed + case 4: + var _zeroed SymlinkObject + _m.Symlink = _zeroed } } @@ -4731,6 +4073,18 @@ return _u } +func (_m *NodeInfoDeprecated) SetSymlink(symlink SymlinkObject) { + _m.reset() + _m.I_nodeInfoDeprecatedTag = NodeInfoDeprecatedSymlink + _m.Symlink = symlink +} + +func NodeInfoDeprecatedWithSymlink(symlink SymlinkObject) NodeInfoDeprecated { + var _u NodeInfoDeprecated + _u.SetSymlink(symlink) + return _u +} + type I_readableReadResultTag uint64 const ( @@ -4800,6 +4154,7 @@ RepresentationConnector = 1 // 0x00000001 RepresentationDirectory = 2 // 0x00000002 RepresentationFile = 3 // 0x00000003 + RepresentationSymlink = 4 // 0x00000004 ) type Representation struct { @@ -4826,6 +4181,12 @@ // // See [`NodeProtocolKinds.FILE`]. File FileInfo `fidl_ordinal:"3"` + // Auxilliary data for the symlink representation of a node. The + // selection of this variant in [`Representation`] implies that the + // connection speaks the [`Symlink`] protocol. + // + // See [`NodeProtocolKinds.SYMLINK`]. + Symlink SymlinkInfo `fidl_ordinal:"4"` } var _mRepresentation = _bindings.CreateLazyMarshaler(Representation{}) @@ -4845,6 +4206,9 @@ case 3: var _zeroed FileInfo _m.File = _zeroed + case 4: + var _zeroed SymlinkInfo + _m.Symlink = _zeroed default: var _zeroed interface{} _m.I_unknownData = _zeroed @@ -4859,6 +4223,8 @@ return RepresentationDirectory case 3: return RepresentationFile + case 4: + return RepresentationSymlink default: return Representation_unknownData } @@ -4903,6 +4269,18 @@ _u.SetFile(file) return _u } + +func (_m *Representation) SetSymlink(symlink SymlinkInfo) { + _m.reset() + _m.I_representationTag = RepresentationSymlink + _m.Symlink = symlink +} + +func RepresentationWithSymlink(symlink SymlinkInfo) Representation { + var _u Representation + _u.SetSymlink(symlink) + return _u +} func (_m *Representation) GetUnknownData() _bindings.UnknownData { return _m.I_unknownData.(_bindings.UnknownData) } @@ -5134,6 +4512,9 @@ type ConnectorInfo struct { _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` I_unknownData interface{} + // Requested attributes for the object. This is only populated if requested. + Attributes NodeAttributes2 `fidl_ordinal:"1"` + AttributesPresent bool } var _mConnectorInfo = _bindings.CreateLazyMarshaler(ConnectorInfo{}) @@ -5142,6 +4523,30 @@ return _mConnectorInfo } +func (u *ConnectorInfo) SetAttributes(attributes NodeAttributes2) { + u.Attributes = attributes + u.AttributesPresent = true +} + +func (u *ConnectorInfo) GetAttributes() NodeAttributes2 { + return u.Attributes +} + +func (u *ConnectorInfo) GetAttributesWithDefault(_default NodeAttributes2) NodeAttributes2 { + if !u.HasAttributes() { + return _default + } + return u.Attributes +} + +func (u *ConnectorInfo) HasAttributes() bool { + return u.AttributesPresent +} + +func (u *ConnectorInfo) ClearAttributes() { + u.AttributesPresent = false +} + func (u *ConnectorInfo) HasUnknownData() bool { return u.I_unknownData != nil } @@ -5300,6 +4705,9 @@ type DirectoryInfo struct { _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` I_unknownData interface{} + // Requested attributes for the directory. This is only populated if requested. + Attributes NodeAttributes2 `fidl_ordinal:"1"` + AttributesPresent bool } var _mDirectoryInfo = _bindings.CreateLazyMarshaler(DirectoryInfo{}) @@ -5308,6 +4716,30 @@ return _mDirectoryInfo } +func (u *DirectoryInfo) SetAttributes(attributes NodeAttributes2) { + u.Attributes = attributes + u.AttributesPresent = true +} + +func (u *DirectoryInfo) GetAttributes() NodeAttributes2 { + return u.Attributes +} + +func (u *DirectoryInfo) GetAttributesWithDefault(_default NodeAttributes2) NodeAttributes2 { + if !u.HasAttributes() { + return _default + } + return u.Attributes +} + +func (u *DirectoryInfo) HasAttributes() bool { + return u.AttributesPresent +} + +func (u *DirectoryInfo) ClearAttributes() { + u.AttributesPresent = false +} + func (u *DirectoryInfo) HasUnknownData() bool { return u.I_unknownData != nil } @@ -5316,6 +4748,71 @@ return u.I_unknownData.(map[uint64]_bindings.UnknownData) } +type DirectoryProtocolOptions struct { + _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + I_unknownData interface{} + // Optional rights to be negotiated. + // + // When present, indicates that the caller requests + // additional optional rights equal to the intersection + // of this value and the rights on the requesting + // connection. This acts as a high water mark that + // prevents rights escalation as this request is + // proxied over multiple hops; each proxy must + // intersect the value with the rights on the + // requesting connection before proxying on. + // + // This field is necessary to express POSIX semantics + // where `open` of a directory must be `O_RDONLY` yet + // `openat` can be used to open non-directory nodes + // within that directory with privileges exceeding + // `O_RDONLY`. This means that POSIX clients must + // always set this to the full set of [`Rights`] to + // implement `open` or `openat` calls which do not + // forbid directories (e.g. `O_WRONLY` and `O_RDWR` + // do forbid directories). + OptionalRights Operations `fidl_ordinal:"1"` + OptionalRightsPresent bool +} + +var _mDirectoryProtocolOptions = _bindings.CreateLazyMarshaler(DirectoryProtocolOptions{}) + +func (msg *DirectoryProtocolOptions) Marshaler() _bindings.Marshaler { + return _mDirectoryProtocolOptions +} + +func (u *DirectoryProtocolOptions) SetOptionalRights(optionalRights Operations) { + u.OptionalRights = optionalRights + u.OptionalRightsPresent = true +} + +func (u *DirectoryProtocolOptions) GetOptionalRights() Operations { + return u.OptionalRights +} + +func (u *DirectoryProtocolOptions) GetOptionalRightsWithDefault(_default Operations) Operations { + if !u.HasOptionalRights() { + return _default + } + return u.OptionalRights +} + +func (u *DirectoryProtocolOptions) HasOptionalRights() bool { + return u.OptionalRightsPresent +} + +func (u *DirectoryProtocolOptions) ClearOptionalRights() { + u.OptionalRightsPresent = false +} + +func (u *DirectoryProtocolOptions) HasUnknownData() bool { + return u.I_unknownData != nil +} + +func (u *DirectoryProtocolOptions) GetUnknownData() map[uint64]_bindings.UnknownData { + return u.I_unknownData.(map[uint64]_bindings.UnknownData) +} + // Auxiliary data for the file representation of a node. type FileInfo struct { _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"true"` @@ -5347,6 +4844,9 @@ // operations in the [`File`] protocol. Stream _zx.Handle `fidl_handle_subtype:"31" fidl_handle_rights:"2147483648" fidl_bounds:"0" fidl_ordinal:"3"` StreamPresent bool + // Requested attributes for the file. This is only populated if requested. + Attributes NodeAttributes2 `fidl_ordinal:"4"` + AttributesPresent bool } var _mFileInfo = _bindings.CreateLazyMarshaler(FileInfo{}) @@ -5427,6 +4927,30 @@ u.StreamPresent = false } +func (u *FileInfo) SetAttributes(attributes NodeAttributes2) { + u.Attributes = attributes + u.AttributesPresent = true +} + +func (u *FileInfo) GetAttributes() NodeAttributes2 { + return u.Attributes +} + +func (u *FileInfo) GetAttributesWithDefault(_default NodeAttributes2) NodeAttributes2 { + if !u.HasAttributes() { + return _default + } + return u.Attributes +} + +func (u *FileInfo) HasAttributes() bool { + return u.AttributesPresent +} + +func (u *FileInfo) ClearAttributes() { + u.AttributesPresent = false +} + func (u *FileInfo) HasUnknownData() bool { return u.I_unknownData != nil } @@ -5460,6 +4984,15 @@ // This `id` should be unique among all entries of a directory. Id uint64 `fidl_ordinal:"6"` IdPresent bool + // Time of last change to the metadata in nanoseconds since the Unix epoch, UTC. + ChangeTime uint64 `fidl_ordinal:"7"` + ChangeTimePresent bool + // Contains the verification options for fsverity-enabled files. + Options VerificationOptions `fidl_ordinal:"8"` + OptionsPresent bool + // The root hash for the file. Not all filesystems support this across all files. + RootHash []uint8 `fidl_bounds:"64" fidl_ordinal:"9"` + RootHashPresent bool } var _mImmutableNodeAttributes = _bindings.CreateLazyMarshaler(ImmutableNodeAttributes{}) @@ -5612,6 +5145,78 @@ u.IdPresent = false } +func (u *ImmutableNodeAttributes) SetChangeTime(changeTime uint64) { + u.ChangeTime = changeTime + u.ChangeTimePresent = true +} + +func (u *ImmutableNodeAttributes) GetChangeTime() uint64 { + return u.ChangeTime +} + +func (u *ImmutableNodeAttributes) GetChangeTimeWithDefault(_default uint64) uint64 { + if !u.HasChangeTime() { + return _default + } + return u.ChangeTime +} + +func (u *ImmutableNodeAttributes) HasChangeTime() bool { + return u.ChangeTimePresent +} + +func (u *ImmutableNodeAttributes) ClearChangeTime() { + u.ChangeTimePresent = false +} + +func (u *ImmutableNodeAttributes) SetOptions(options VerificationOptions) { + u.Options = options + u.OptionsPresent = true +} + +func (u *ImmutableNodeAttributes) GetOptions() VerificationOptions { + return u.Options +} + +func (u *ImmutableNodeAttributes) GetOptionsWithDefault(_default VerificationOptions) VerificationOptions { + if !u.HasOptions() { + return _default + } + return u.Options +} + +func (u *ImmutableNodeAttributes) HasOptions() bool { + return u.OptionsPresent +} + +func (u *ImmutableNodeAttributes) ClearOptions() { + u.OptionsPresent = false +} + +func (u *ImmutableNodeAttributes) SetRootHash(rootHash []uint8) { + u.RootHash = rootHash + u.RootHashPresent = true +} + +func (u *ImmutableNodeAttributes) GetRootHash() []uint8 { + return u.RootHash +} + +func (u *ImmutableNodeAttributes) GetRootHashWithDefault(_default []uint8) []uint8 { + if !u.HasRootHash() { + return _default + } + return u.RootHash +} + +func (u *ImmutableNodeAttributes) HasRootHash() bool { + return u.RootHashPresent +} + +func (u *ImmutableNodeAttributes) ClearRootHash() { + u.RootHashPresent = false +} + func (u *ImmutableNodeAttributes) HasUnknownData() bool { return u.I_unknownData != nil } @@ -5629,6 +5234,22 @@ // Time of last modification in nanoseconds since the Unix epoch, UTC. ModificationTime uint64 `fidl_ordinal:"2"` ModificationTimePresent bool + // POSIX compatibility attributes. Most filesystems will not support + // these. Those that do must simply store and retrieve them (e.g. as + // extended attributes) and not attempt to interpret them (e.g. by doing + // permission checks or handling device opens specially). + Mode uint32 `fidl_ordinal:"3"` + ModePresent bool + Uid uint32 `fidl_ordinal:"4"` + UidPresent bool + Gid uint32 `fidl_ordinal:"5"` + GidPresent bool + Rdev uint64 `fidl_ordinal:"6"` + RdevPresent bool + // Time of last access in nanoseconds since the Unix epoch, UTC. Note that servers might not + // always update this if this is the only attribute being updated. + AccessTime uint64 `fidl_ordinal:"7"` + AccessTimePresent bool } var _mMutableNodeAttributes = _bindings.CreateLazyMarshaler(MutableNodeAttributes{}) @@ -5685,6 +5306,126 @@ u.ModificationTimePresent = false } +func (u *MutableNodeAttributes) SetMode(mode uint32) { + u.Mode = mode + u.ModePresent = true +} + +func (u *MutableNodeAttributes) GetMode() uint32 { + return u.Mode +} + +func (u *MutableNodeAttributes) GetModeWithDefault(_default uint32) uint32 { + if !u.HasMode() { + return _default + } + return u.Mode +} + +func (u *MutableNodeAttributes) HasMode() bool { + return u.ModePresent +} + +func (u *MutableNodeAttributes) ClearMode() { + u.ModePresent = false +} + +func (u *MutableNodeAttributes) SetUid(uid uint32) { + u.Uid = uid + u.UidPresent = true +} + +func (u *MutableNodeAttributes) GetUid() uint32 { + return u.Uid +} + +func (u *MutableNodeAttributes) GetUidWithDefault(_default uint32) uint32 { + if !u.HasUid() { + return _default + } + return u.Uid +} + +func (u *MutableNodeAttributes) HasUid() bool { + return u.UidPresent +} + +func (u *MutableNodeAttributes) ClearUid() { + u.UidPresent = false +} + +func (u *MutableNodeAttributes) SetGid(gid uint32) { + u.Gid = gid + u.GidPresent = true +} + +func (u *MutableNodeAttributes) GetGid() uint32 { + return u.Gid +} + +func (u *MutableNodeAttributes) GetGidWithDefault(_default uint32) uint32 { + if !u.HasGid() { + return _default + } + return u.Gid +} + +func (u *MutableNodeAttributes) HasGid() bool { + return u.GidPresent +} + +func (u *MutableNodeAttributes) ClearGid() { + u.GidPresent = false +} + +func (u *MutableNodeAttributes) SetRdev(rdev uint64) { + u.Rdev = rdev + u.RdevPresent = true +} + +func (u *MutableNodeAttributes) GetRdev() uint64 { + return u.Rdev +} + +func (u *MutableNodeAttributes) GetRdevWithDefault(_default uint64) uint64 { + if !u.HasRdev() { + return _default + } + return u.Rdev +} + +func (u *MutableNodeAttributes) HasRdev() bool { + return u.RdevPresent +} + +func (u *MutableNodeAttributes) ClearRdev() { + u.RdevPresent = false +} + +func (u *MutableNodeAttributes) SetAccessTime(accessTime uint64) { + u.AccessTime = accessTime + u.AccessTimePresent = true +} + +func (u *MutableNodeAttributes) GetAccessTime() uint64 { + return u.AccessTime +} + +func (u *MutableNodeAttributes) GetAccessTimeWithDefault(_default uint64) uint64 { + if !u.HasAccessTime() { + return _default + } + return u.AccessTime +} + +func (u *MutableNodeAttributes) HasAccessTime() bool { + return u.AccessTimePresent +} + +func (u *MutableNodeAttributes) ClearAccessTime() { + u.AccessTimePresent = false +} + func (u *MutableNodeAttributes) HasUnknownData() bool { return u.I_unknownData != nil } @@ -5707,8 +5448,8 @@ // * If the caller expected a file but the node cannot be // accessed as a file, the error is `ZX_ERR_NOT_FILE`. // - // * In other mismatched cases, the error is - // `ZX_ERR_WRONG_TYPE`. + // * In other mismatched cases, and for an empty table, the error + // is `ZX_ERR_WRONG_TYPE`. // // If more than one protocol is present, the resultant protocol // may become any one of them. Callers should specify @@ -5728,16 +5469,32 @@ // set, the request must fail. Mode OpenMode `fidl_ordinal:"3"` ModePresent bool - // Requests rights on the new connection according to the - // specified rules. + // Requested rights on the new connection. // - // If absent, inherits at most the rights from the connection - // where the `Open` call is made. If the path crosses - // intermediate proxies, a proxy may strip elements from the - // resulting rights if the intermediate connection does not - // have the corresponding rights. - RightsRequest RightsRequest `fidl_ordinal:"4"` - RightsRequestPresent bool + // If [`rights`] exceed the rights of the requesting connection + // then [`object_request`] will be closed with a + // `ZX_ERR_ACCESS_DENIED` epitaph. + // + // This applies in addition to + // [`DirectoryProtocolOptions.optional_rights`]. + // + // If absent, inherits appropriate rights from the requesting + // connection. For example, if using the node protocol, only + // the GET_ATTRIBUTES right is inherited. + Rights Operations `fidl_ordinal:"4"` + RightsPresent bool + // If the `GET_REPRESENTATION` flag is set, attributes to be + // returned in [`Node.OnRepresentation`]. This requires the + // GET_ATTRIBUTES right on the parent connection, but this is + // not required on the resulting connection. + Attributes NodeAttributesQuery `fidl_ordinal:"5"` + AttributesPresent bool + // If an object is to be created, this specifies attributes + // that should be stored with the object at creation time. + // Servers might not support setting any or all attributes in + // which case they will return `ZX_ERR_NOT_SUPPORTED`. + CreateAttributes MutableNodeAttributes `fidl_ordinal:"6"` + CreateAttributesPresent bool } var _mNodeOptions = _bindings.CreateLazyMarshaler(NodeOptions{}) @@ -5818,28 +5575,76 @@ u.ModePresent = false } -func (u *NodeOptions) SetRightsRequest(rightsRequest RightsRequest) { - u.RightsRequest = rightsRequest - u.RightsRequestPresent = true +func (u *NodeOptions) SetRights(rights Operations) { + u.Rights = rights + u.RightsPresent = true } -func (u *NodeOptions) GetRightsRequest() RightsRequest { - return u.RightsRequest +func (u *NodeOptions) GetRights() Operations { + return u.Rights } -func (u *NodeOptions) GetRightsRequestWithDefault(_default RightsRequest) RightsRequest { - if !u.HasRightsRequest() { +func (u *NodeOptions) GetRightsWithDefault(_default Operations) Operations { + if !u.HasRights() { return _default } - return u.RightsRequest + return u.Rights } -func (u *NodeOptions) HasRightsRequest() bool { - return u.RightsRequestPresent +func (u *NodeOptions) HasRights() bool { + return u.RightsPresent } -func (u *NodeOptions) ClearRightsRequest() { - u.RightsRequestPresent = false +func (u *NodeOptions) ClearRights() { + u.RightsPresent = false +} + +func (u *NodeOptions) SetAttributes(attributes NodeAttributesQuery) { + u.Attributes = attributes + u.AttributesPresent = true +} + +func (u *NodeOptions) GetAttributes() NodeAttributesQuery { + return u.Attributes +} + +func (u *NodeOptions) GetAttributesWithDefault(_default NodeAttributesQuery) NodeAttributesQuery { + if !u.HasAttributes() { + return _default + } + return u.Attributes +} + +func (u *NodeOptions) HasAttributes() bool { + return u.AttributesPresent +} + +func (u *NodeOptions) ClearAttributes() { + u.AttributesPresent = false +} + +func (u *NodeOptions) SetCreateAttributes(createAttributes MutableNodeAttributes) { + u.CreateAttributes = createAttributes + u.CreateAttributesPresent = true +} + +func (u *NodeOptions) GetCreateAttributes() MutableNodeAttributes { + return u.CreateAttributes +} + +func (u *NodeOptions) GetCreateAttributesWithDefault(_default MutableNodeAttributes) MutableNodeAttributes { + if !u.HasCreateAttributes() { + return _default + } + return u.CreateAttributes +} + +func (u *NodeOptions) HasCreateAttributes() bool { + return u.CreateAttributesPresent +} + +func (u *NodeOptions) ClearCreateAttributes() { + u.CreateAttributesPresent = false } func (u *NodeOptions) HasUnknownData() bool { @@ -5853,10 +5658,20 @@ type NodeProtocols struct { _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` I_unknownData interface{} - Directory DirectoryProtocolFlags `fidl_ordinal:"1"` + Directory DirectoryProtocolOptions `fidl_ordinal:"1"` DirectoryPresent bool File FileProtocolFlags `fidl_ordinal:"2"` FilePresent bool + Symlink SymlinkProtocolFlags `fidl_ordinal:"3"` + SymlinkPresent bool + // Asks for the node protocol. The only right supported is + // GET_ATTRIBUTES. Calling `SetFlags` on the resulting + // connection will result in `ZX_ERR_BAD_HANDLE`. If + // [`NodeFlags.GET_REPRESENTATION`] is specified, the + // `connector` variant will be returned (even if the object + // supports a different representation). + Node NodeProtocolFlags `fidl_ordinal:"4"` + NodePresent bool } var _mNodeProtocols = _bindings.CreateLazyMarshaler(NodeProtocols{}) @@ -5865,16 +5680,16 @@ return _mNodeProtocols } -func (u *NodeProtocols) SetDirectory(directory DirectoryProtocolFlags) { +func (u *NodeProtocols) SetDirectory(directory DirectoryProtocolOptions) { u.Directory = directory u.DirectoryPresent = true } -func (u *NodeProtocols) GetDirectory() DirectoryProtocolFlags { +func (u *NodeProtocols) GetDirectory() DirectoryProtocolOptions { return u.Directory } -func (u *NodeProtocols) GetDirectoryWithDefault(_default DirectoryProtocolFlags) DirectoryProtocolFlags { +func (u *NodeProtocols) GetDirectoryWithDefault(_default DirectoryProtocolOptions) DirectoryProtocolOptions { if !u.HasDirectory() { return _default } @@ -5913,6 +5728,54 @@ u.FilePresent = false } +func (u *NodeProtocols) SetSymlink(symlink SymlinkProtocolFlags) { + u.Symlink = symlink + u.SymlinkPresent = true +} + +func (u *NodeProtocols) GetSymlink() SymlinkProtocolFlags { + return u.Symlink +} + +func (u *NodeProtocols) GetSymlinkWithDefault(_default SymlinkProtocolFlags) SymlinkProtocolFlags { + if !u.HasSymlink() { + return _default + } + return u.Symlink +} + +func (u *NodeProtocols) HasSymlink() bool { + return u.SymlinkPresent +} + +func (u *NodeProtocols) ClearSymlink() { + u.SymlinkPresent = false +} + +func (u *NodeProtocols) SetNode(node NodeProtocolFlags) { + u.Node = node + u.NodePresent = true +} + +func (u *NodeProtocols) GetNode() NodeProtocolFlags { + return u.Node +} + +func (u *NodeProtocols) GetNodeWithDefault(_default NodeProtocolFlags) NodeProtocolFlags { + if !u.HasNode() { + return _default + } + return u.Node +} + +func (u *NodeProtocols) HasNode() bool { + return u.NodePresent +} + +func (u *NodeProtocols) ClearNode() { + u.NodePresent = false +} + func (u *NodeProtocols) HasUnknownData() bool { return u.I_unknownData != nil } @@ -5921,6 +5784,132 @@ return u.I_unknownData.(map[uint64]_bindings.UnknownData) } +type RightsRequest struct { + _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + I_unknownData interface{} + // Requested rights on the new connection. + // + // If [`rights`] exceed the rights of the requesting connection + // then [`object_request`] will be closed with a + // `ZX_ERR_ACCESS_DENIED` epitaph. + // + // If absent, inherits the rights from the requesting connection. + Rights Operations `fidl_ordinal:"1"` + RightsPresent bool +} + +var _mRightsRequest = _bindings.CreateLazyMarshaler(RightsRequest{}) + +func (msg *RightsRequest) Marshaler() _bindings.Marshaler { + return _mRightsRequest +} + +func (u *RightsRequest) SetRights(rights Operations) { + u.Rights = rights + u.RightsPresent = true +} + +func (u *RightsRequest) GetRights() Operations { + return u.Rights +} + +func (u *RightsRequest) GetRightsWithDefault(_default Operations) Operations { + if !u.HasRights() { + return _default + } + return u.Rights +} + +func (u *RightsRequest) HasRights() bool { + return u.RightsPresent +} + +func (u *RightsRequest) ClearRights() { + u.RightsPresent = false +} + +func (u *RightsRequest) HasUnknownData() bool { + return u.I_unknownData != nil +} + +func (u *RightsRequest) GetUnknownData() map[uint64]_bindings.UnknownData { + return u.I_unknownData.(map[uint64]_bindings.UnknownData) +} + +type SymlinkInfo struct { + _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + I_unknownData interface{} + // The symbolic link has no meaning on the server; the client is free to interpret the + // target however it chooses. + Target []uint8 `fidl_bounds:"4095" fidl_ordinal:"1"` + TargetPresent bool + // Requested attributes for the symbolic link. This is only populated if requested. + Attributes NodeAttributes2 `fidl_ordinal:"2"` + AttributesPresent bool +} + +var _mSymlinkInfo = _bindings.CreateLazyMarshaler(SymlinkInfo{}) + +func (msg *SymlinkInfo) Marshaler() _bindings.Marshaler { + return _mSymlinkInfo +} + +func (u *SymlinkInfo) SetTarget(target []uint8) { + u.Target = target + u.TargetPresent = true +} + +func (u *SymlinkInfo) GetTarget() []uint8 { + return u.Target +} + +func (u *SymlinkInfo) GetTargetWithDefault(_default []uint8) []uint8 { + if !u.HasTarget() { + return _default + } + return u.Target +} + +func (u *SymlinkInfo) HasTarget() bool { + return u.TargetPresent +} + +func (u *SymlinkInfo) ClearTarget() { + u.TargetPresent = false +} + +func (u *SymlinkInfo) SetAttributes(attributes NodeAttributes2) { + u.Attributes = attributes + u.AttributesPresent = true +} + +func (u *SymlinkInfo) GetAttributes() NodeAttributes2 { + return u.Attributes +} + +func (u *SymlinkInfo) GetAttributesWithDefault(_default NodeAttributes2) NodeAttributes2 { + if !u.HasAttributes() { + return _default + } + return u.Attributes +} + +func (u *SymlinkInfo) HasAttributes() bool { + return u.AttributesPresent +} + +func (u *SymlinkInfo) ClearAttributes() { + u.AttributesPresent = false +} + +func (u *SymlinkInfo) HasUnknownData() bool { + return u.I_unknownData != nil +} + +func (u *SymlinkInfo) GetUnknownData() map[uint64]_bindings.UnknownData { + return u.I_unknownData.(map[uint64]_bindings.UnknownData) +} + type UnlinkOptions struct { _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` I_unknownData interface{} @@ -5966,6 +5955,79 @@ return u.I_unknownData.(map[uint64]_bindings.UnknownData) } +// Set of options used to enable verity on a file. +type VerificationOptions struct { + _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + I_unknownData interface{} + HashAlgorithm HashAlgorithm `fidl_ordinal:"1"` + HashAlgorithmPresent bool + // `salt` is prepended to each block before it is hashed. + Salt []uint8 `fidl_bounds:"32" fidl_ordinal:"2"` + SaltPresent bool +} + +var _mVerificationOptions = _bindings.CreateLazyMarshaler(VerificationOptions{}) + +func (msg *VerificationOptions) Marshaler() _bindings.Marshaler { + return _mVerificationOptions +} + +func (u *VerificationOptions) SetHashAlgorithm(hashAlgorithm HashAlgorithm) { + u.HashAlgorithm = hashAlgorithm + u.HashAlgorithmPresent = true +} + +func (u *VerificationOptions) GetHashAlgorithm() HashAlgorithm { + return u.HashAlgorithm +} + +func (u *VerificationOptions) GetHashAlgorithmWithDefault(_default HashAlgorithm) HashAlgorithm { + if !u.HasHashAlgorithm() { + return _default + } + return u.HashAlgorithm +} + +func (u *VerificationOptions) HasHashAlgorithm() bool { + return u.HashAlgorithmPresent +} + +func (u *VerificationOptions) ClearHashAlgorithm() { + u.HashAlgorithmPresent = false +} + +func (u *VerificationOptions) SetSalt(salt []uint8) { + u.Salt = salt + u.SaltPresent = true +} + +func (u *VerificationOptions) GetSalt() []uint8 { + return u.Salt +} + +func (u *VerificationOptions) GetSaltWithDefault(_default []uint8) []uint8 { + if !u.HasSalt() { + return _default + } + return u.Salt +} + +func (u *VerificationOptions) HasSalt() bool { + return u.SaltPresent +} + +func (u *VerificationOptions) ClearSalt() { + u.SaltPresent = false +} + +func (u *VerificationOptions) HasUnknownData() bool { + return u.I_unknownData != nil +} + +func (u *VerificationOptions) GetUnknownData() map[uint64]_bindings.UnknownData { + return u.I_unknownData.(map[uint64]_bindings.UnknownData) +} + const ( AdvisoryLockingAdvisoryLockOrdinal uint64 = 0x6ee9c0ad53ec87aa ) @@ -5996,10 +6058,10 @@ // - `ZX_ERR_ACCESS_DENIED` This connection does not have sufficient rights // to acquire the given type of lock. func (p *AdvisoryLockingWithCtxInterface) AdvisoryLock(ctx_ _bindings.Context, request AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) { - req_ := &advisoryLockingWithCtxAdvisoryLockRequest{Request: request} - resp_ := &advisoryLockingWithCtxAdvisoryLockResponse{} + req_ := &AdvisoryLockingAdvisoryLockRequest{Request: request} + resp_ := &AdvisoryLockingAdvisoryLockResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(AdvisoryLockingAdvisoryLockOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Advisory locking protocol. @@ -6057,7 +6119,7 @@ func (s_ *AdvisoryLockingWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case AdvisoryLockingAdvisoryLockOrdinal: - in_ := &advisoryLockingWithCtxAdvisoryLockRequest{} + in_ := &AdvisoryLockingAdvisoryLockRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -6065,8 +6127,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AdvisoryLock(args_.Ctx, (*in_).Request) - out_ := &advisoryLockingWithCtxAdvisoryLockResponse{Result: result} + payload, err_ := s_.Impl.AdvisoryLock(args_.Ctx, (*in_).Request) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -6075,33 +6137,37 @@ type AdvisoryLockingEventProxy _bindings.ChannelProxy const ( - DirectoryCloneOrdinal uint64 = 0x5a61678f293ce16f - DirectoryOnOpenOrdinal uint64 = 0x7fc7bbb1dbfd1972 - DirectoryGetAttrOrdinal uint64 = 0x78985e216314dafd - DirectorySetAttrOrdinal uint64 = 0x4186c0f40d938f46 - DirectoryGetFlagsOrdinal uint64 = 0x5b88fffb8eda3aa1 - DirectorySetFlagsOrdinal uint64 = 0x5295b76c71fde733 - DirectoryQueryFilesystemOrdinal uint64 = 0x6f344a1c6b0a0610 - DirectoryOpenOrdinal uint64 = 0x2c5044561d685ec0 - DirectoryReadDirentsOrdinal uint64 = 0x3582806bf27faa0a - DirectoryRewindOrdinal uint64 = 0x16b1202af0f34c71 - DirectoryGetTokenOrdinal uint64 = 0x26ae9d18763c8655 - DirectoryLinkOrdinal uint64 = 0x740604c0c7c930e7 - DirectoryWatchOrdinal uint64 = 0x5717193a59d66d91 - DirectoryCloseOrdinal uint64 = 0x5ac5d459ad7f657e - DirectoryQueryOrdinal uint64 = 0x2658edee9decfc06 - DirectoryReopenOrdinal uint64 = 0x6a849ef281d2baa1 - DirectoryOnRepresentationOrdinal uint64 = 0x5cb40567d80a510c - DirectoryGetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b - DirectoryGetAttributesOrdinal uint64 = 0x3d4396a638ea053b - DirectoryUpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 - DirectorySyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 - DirectoryAdvisoryLockOrdinal uint64 = 0x6ee9c0ad53ec87aa - DirectoryOpen2Ordinal uint64 = 0x2fbc4fbbff7c54d6 - DirectoryAddInotifyFilterOrdinal uint64 = 0x1fcddfeabd4b932a - DirectoryUnlinkOrdinal uint64 = 0x750a0326a78d7bed - DirectoryEnumerateOrdinal uint64 = 0x36a4ca72c332c37d - DirectoryRenameOrdinal uint64 = 0x7060e7723b9928de + DirectoryCloneOrdinal uint64 = 0x5a61678f293ce16f + DirectoryOnOpenOrdinal uint64 = 0x7fc7bbb1dbfd1972 + DirectoryGetAttrOrdinal uint64 = 0x78985e216314dafd + DirectorySetAttrOrdinal uint64 = 0x4186c0f40d938f46 + DirectoryGetFlagsOrdinal uint64 = 0x5b88fffb8eda3aa1 + DirectorySetFlagsOrdinal uint64 = 0x5295b76c71fde733 + DirectoryQueryFilesystemOrdinal uint64 = 0x6f344a1c6b0a0610 + DirectoryOpenOrdinal uint64 = 0x2c5044561d685ec0 + DirectoryReadDirentsOrdinal uint64 = 0x3582806bf27faa0a + DirectoryRewindOrdinal uint64 = 0x16b1202af0f34c71 + DirectoryGetTokenOrdinal uint64 = 0x26ae9d18763c8655 + DirectoryLinkOrdinal uint64 = 0x740604c0c7c930e7 + DirectoryWatchOrdinal uint64 = 0x5717193a59d66d91 + DirectoryCloseOrdinal uint64 = 0x5ac5d459ad7f657e + DirectoryQueryOrdinal uint64 = 0x2658edee9decfc06 + DirectoryReopenOrdinal uint64 = 0x6a849ef281d2baa1 + DirectoryOnRepresentationOrdinal uint64 = 0x5cb40567d80a510c + DirectoryGetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b + DirectoryGetAttributesOrdinal uint64 = 0x3d4396a638ea053b + DirectoryUpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 + DirectorySyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 + DirectoryListExtendedAttributesOrdinal uint64 = 0x4b61033de007fcd0 + DirectoryGetExtendedAttributeOrdinal uint64 = 0x45ffa3ccfdeb76db + DirectorySetExtendedAttributeOrdinal uint64 = 0x4a951362f681f23c + DirectoryRemoveExtendedAttributeOrdinal uint64 = 0x7a0b9f3a9bf9032d + DirectoryAdvisoryLockOrdinal uint64 = 0x6ee9c0ad53ec87aa + DirectoryOpen2Ordinal uint64 = 0x2fbc4fbbff7c54d6 + DirectoryUnlinkOrdinal uint64 = 0x750a0326a78d7bed + DirectoryEnumerateOrdinal uint64 = 0x36a4ca72c332c37d + DirectoryRenameOrdinal uint64 = 0x7060e7723b9928de + DirectoryCreateSymlinkOrdinal uint64 = 0x21ce0f19ec043889 ) type DirectoryWithCtxInterface _bindings.ChannelProxy @@ -6125,7 +6191,7 @@ // It is invalid to pass any of the `OpenFlags.RIGHT_*` flags together with // `OpenFlags.CLONE_SAME_RIGHTS`. func (p *DirectoryWithCtxInterface) Clone(ctx_ _bindings.Context, flags OpenFlags, object NodeWithCtxInterfaceRequest) error { - req_ := &directoryWithCtxCloneRequest{Flags: flags, Object: object} + req_ := &Node1CloneRequest{Flags: flags, Object: object} err_ := ((*_bindings.ChannelProxy)(p)).Send(DirectoryCloneOrdinal, req_) return err_ } @@ -6136,7 +6202,7 @@ // object. If the status is `ZX_OK`, `info` contains descriptive information about the object // (the same as would be returned by `Describe`). func (p *DirectoryWithCtxInterface) ExpectOnOpen(ctx_ _bindings.Context) (int32, *NodeInfoDeprecated, error) { - resp_ := &directoryWithCtxOnOpenResponse{} + resp_ := &Node1OnOpenRequest{} err_ := ((*_bindings.ChannelProxy)(p)).Recv(DirectoryOnOpenOrdinal, resp_) return (*resp_).S, (*resp_).Info, err_ } @@ -6146,7 +6212,7 @@ // This method does not require any rights. func (p *DirectoryWithCtxInterface) GetAttr(ctx_ _bindings.Context) (int32, NodeAttributes, error) { var req_ _bindings.Message - resp_ := &directoryWithCtxGetAttrResponse{} + resp_ := &Node1GetAttrResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryGetAttrOrdinal, req_, resp_) return (*resp_).S, (*resp_).Attributes, err_ } @@ -6156,8 +6222,8 @@ // This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns // `ZX_ERR_BAD_HANDLE`. func (p *DirectoryWithCtxInterface) SetAttr(ctx_ _bindings.Context, flags NodeAttributeFlags, attributes NodeAttributes) (int32, error) { - req_ := &directoryWithCtxSetAttrRequest{Flags: flags, Attributes: attributes} - resp_ := &directoryWithCtxSetAttrResponse{} + req_ := &Node1SetAttrRequest{Flags: flags, Attributes: attributes} + resp_ := &Node1SetAttrResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectorySetAttrOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -6167,7 +6233,7 @@ // This method does not require any rights. func (p *DirectoryWithCtxInterface) GetFlags(ctx_ _bindings.Context) (int32, OpenFlags, error) { var req_ _bindings.Message - resp_ := &directoryWithCtxGetFlagsResponse{} + resp_ := &Node1GetFlagsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryGetFlagsOrdinal, req_, resp_) return (*resp_).S, (*resp_).Flags, err_ } @@ -6178,8 +6244,8 @@ // // This method does not require any rights. func (p *DirectoryWithCtxInterface) SetFlags(ctx_ _bindings.Context, flags OpenFlags) (int32, error) { - req_ := &directoryWithCtxSetFlagsRequest{Flags: flags} - resp_ := &directoryWithCtxSetFlagsResponse{} + req_ := &Node1SetFlagsRequest{Flags: flags} + resp_ := &Node1SetFlagsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectorySetFlagsOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -6187,7 +6253,7 @@ // Query the filesystem for filesystem-specific information. func (p *DirectoryWithCtxInterface) QueryFilesystem(ctx_ _bindings.Context) (int32, *FilesystemInfo, error) { var req_ _bindings.Message - resp_ := &directoryWithCtxQueryFilesystemResponse{} + resp_ := &Node1QueryFilesystemResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryQueryFilesystemOrdinal, req_, resp_) return (*resp_).S, (*resp_).Info, err_ } @@ -6212,7 +6278,7 @@ // // `mode` is ignored. func (p *DirectoryWithCtxInterface) Open(ctx_ _bindings.Context, flags OpenFlags, mode ModeType, path string, object NodeWithCtxInterfaceRequest) error { - req_ := &directoryWithCtxOpenRequest{Flags: flags, Mode: mode, Path: path, Object: object} + req_ := &OpenableOpenRequest{Flags: flags, Mode: mode, Path: path, Object: object} err_ := ((*_bindings.ChannelProxy)(p)).Send(DirectoryOpenOrdinal, req_) return err_ } @@ -6245,8 +6311,8 @@ // This method does not require any rights, since one could always probe for // directory contents by triggering name conflicts during file creation. func (p *DirectoryWithCtxInterface) ReadDirents(ctx_ _bindings.Context, maxBytes uint64) (int32, []uint8, error) { - req_ := &directoryWithCtxReadDirentsRequest{MaxBytes: maxBytes} - resp_ := &directoryWithCtxReadDirentsResponse{} + req_ := &Directory1ReadDirentsRequest{MaxBytes: maxBytes} + resp_ := &Directory1ReadDirentsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryReadDirentsOrdinal, req_, resp_) return (*resp_).S, (*resp_).Dirents, err_ } @@ -6256,7 +6322,7 @@ // This method does not require any rights, similar to ReadDirents. func (p *DirectoryWithCtxInterface) Rewind(ctx_ _bindings.Context) (int32, error) { var req_ _bindings.Message - resp_ := &directoryWithCtxRewindResponse{} + resp_ := &Directory1RewindResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryRewindOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -6269,7 +6335,7 @@ // `ZX_ERR_BAD_HANDLE`. func (p *DirectoryWithCtxInterface) GetToken(ctx_ _bindings.Context) (int32, _zx.Handle, error) { var req_ _bindings.Message - resp_ := &directoryWithCtxGetTokenResponse{} + resp_ := &Directory1GetTokenResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryGetTokenOrdinal, req_, resp_) return (*resp_).S, (*resp_).Token, err_ } @@ -6283,11 +6349,16 @@ // `dst` must be a resolved object name. Including "/" in the string will // return `ZX_ERR_INVALID_ARGS`. // -// This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns -// `ZX_ERR_BAD_HANDLE`. +// This method requires following rights: `OpenFlags.RIGHT_WRITABLE` and +// `OpenFlags.RIGHT_READABLE`, otherwise returns `ZX_ERR_BAD_HANDLE`. +// +// This will be atomic with respect to renaming or unlinking the source concurrently e.g. if +// there are two actors operating concurrently, and one actor performs a rename that affects +// the source within this directory, and the other does a link, each will appear to occur +// atomically in an unspecified order. func (p *DirectoryWithCtxInterface) Link(ctx_ _bindings.Context, src string, dstParentToken _zx.Handle, dst string) (int32, error) { - req_ := &directoryWithCtxLinkRequest{Src: src, DstParentToken: dstParentToken, Dst: dst} - resp_ := &directoryWithCtxLinkResponse{} + req_ := &Directory1LinkRequest{Src: src, DstParentToken: dstParentToken, Dst: dst} + resp_ := &Directory1LinkResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryLinkOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -6299,8 +6370,8 @@ // // This method does not require any rights, similar to ReadDirents. func (p *DirectoryWithCtxInterface) Watch(ctx_ _bindings.Context, mask WatchMask, options uint32, watcher DirectoryWatcherWithCtxInterfaceRequest) (int32, error) { - req_ := &directoryWithCtxWatchRequest{Mask: mask, Options: options, Watcher: watcher} - resp_ := &directoryWithCtxWatchResponse{} + req_ := &Directory1WatchRequest{Mask: mask, Options: options, Watcher: watcher} + resp_ := &Directory1WatchResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryWatchOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -6317,25 +6388,21 @@ // status. func (p *DirectoryWithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &directoryWithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryCloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *DirectoryWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &directoryWithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryQueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Creates another connection to the same node. -// -// - `object_request` is the server end of a channel created for the new -// connection. The caller may proceed to send messages on the -// corresponding client end right away. -func (p *DirectoryWithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest *RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { - req_ := &directoryWithCtxReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} +func (p *DirectoryWithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { + req_ := &Node2ReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} err_ := ((*_bindings.ChannelProxy)(p)).Send(DirectoryReopenOrdinal, req_) return err_ } @@ -6359,9 +6426,9 @@ // inherent `Describe` methods on the specific protocols. It exists as // an optimization to avoid an additional round trip. func (p *DirectoryWithCtxInterface) ExpectOnRepresentation(ctx_ _bindings.Context) (Representation, error) { - resp_ := &directoryWithCtxOnRepresentationResponse{} + resp_ := &Representation{} err_ := ((*_bindings.ChannelProxy)(p)).Recv(DirectoryOnRepresentationOrdinal, resp_) - return (*resp_).Payload, err_ + return (*resp_), err_ } // Acquires information about the connection. @@ -6388,10 +6455,10 @@ // // This method requires the [`Rights.GET_ATTRIBUTES`] right. func (p *DirectoryWithCtxInterface) GetAttributes(ctx_ _bindings.Context, query NodeAttributesQuery) (Node2GetAttributesResult, error) { - req_ := &directoryWithCtxGetAttributesRequest{Query: query} - resp_ := &directoryWithCtxGetAttributesResponse{} + req_ := &Node2GetAttributesRequest{Query: query} + resp_ := &Node2GetAttributesResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryGetAttributesOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Updates information about the node. @@ -6402,9 +6469,9 @@ // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. func (p *DirectoryWithCtxInterface) UpdateAttributes(ctx_ _bindings.Context, payload MutableNodeAttributes) (Node2UpdateAttributesResult, error) { req_ := &payload - resp_ := &directoryWithCtxUpdateAttributesResponse{} + resp_ := &Node2UpdateAttributesResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryUpdateAttributesOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Synchronizes updates to the node to the underlying media, if it exists. @@ -6418,9 +6485,62 @@ // This method does not require any rights. func (p *DirectoryWithCtxInterface) Sync(ctx_ _bindings.Context) (Node2SyncResult, error) { var req_ _bindings.Message - resp_ := &directoryWithCtxSyncResponse{} + resp_ := &Node2SyncResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectorySyncOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Creates an iterator over all the extended attribute names associated +// with this node. If an error occurs it is returned as an epitaph on the +// iterator request channel, and then the channel is closed. +// +// GetExtendedAttributes can be used with any of these names to retrieve +// the associated value. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *DirectoryWithCtxInterface) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + req_ := &Node2ListExtendedAttributesRequest{Iterator: iterator} + err_ := ((*_bindings.ChannelProxy)(p)).Send(DirectoryListExtendedAttributesOrdinal, req_) + return err_ +} + +// Get the value associated with the given attribute `name` for this node. +// +// Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No +// particular structure is imposed on them. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *DirectoryWithCtxInterface) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + req_ := &Node2GetExtendedAttributeRequest{Name: name} + resp_ := &Node2GetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryGetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set the value for the given attribute `name` to `value` for this node. +// +// The attribute name may exist, in which case the attribute is updated. +// If the attribute doesn't exist, it is created. The name should have no +// null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *DirectoryWithCtxInterface) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + req_ := &Node2SetExtendedAttributeRequest{Name: name, Value: value, Mode: mode} + resp_ := &Node2SetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectorySetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Remove the specified extended attribute. +// +// If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *DirectoryWithCtxInterface) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + req_ := &Node2RemoveExtendedAttributeRequest{Name: name} + resp_ := &Node2RemoveExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryRemoveExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ } // Acquires an advisory lock on the underlying file. @@ -6447,10 +6567,10 @@ // - `ZX_ERR_ACCESS_DENIED` This connection does not have sufficient rights // to acquire the given type of lock. func (p *DirectoryWithCtxInterface) AdvisoryLock(ctx_ _bindings.Context, request AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) { - req_ := &directoryWithCtxAdvisoryLockRequest{Request: request} - resp_ := &directoryWithCtxAdvisoryLockResponse{} + req_ := &AdvisoryLockingAdvisoryLockRequest{Request: request} + resp_ := &AdvisoryLockingAdvisoryLockResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryAdvisoryLockOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Opens or creates a new node relative to this directory node. @@ -6466,37 +6586,11 @@ // what is allowed. // - error `ZX_ERR_BAD_PATH` if `path` is invalid. func (p *DirectoryWithCtxInterface) Open2(ctx_ _bindings.Context, path string, protocols ConnectionProtocols, objectRequest _zx.Channel) error { - req_ := &directoryWithCtxOpen2Request{Path: path, Protocols: protocols, ObjectRequest: objectRequest} + req_ := &Directory2Open2Request{Path: path, Protocols: protocols, ObjectRequest: objectRequest} err_ := ((*_bindings.ChannelProxy)(p)).Send(DirectoryOpen2Ordinal, req_) return err_ } -// Adds a new inotify filter for an object relative to this directory object. -// -// - 'filter` is a mask of different inotify events that need to be watched by the server -// for a specific file/directory. -// -// - `path` may contain multiple segments, separated by "/" characters, -// and should never be empty; i.e., "" is an invalid path. Paths should not contain -// a leading "/". -// -// +`watch_descriptor` is client assigned value to identify a filter. -// -// Server shouldn't trust the client-assigned watch_descriptor. They should just send it -// back to the client in the socket. -// This value is not used by server, but it is returned back as part of InotifyEvent, -// to help the client correlate filter with events on this filter. -// -// - `socket` is shared between different filter objects i.e every new filter will -// have a different server end of the socket and there will be a single client end per -// inotify instance on inotify init. -func (p *DirectoryWithCtxInterface) AddInotifyFilter(ctx_ _bindings.Context, path string, filter InotifyWatchMask, watchDescriptor uint32, socket _zx.Socket) error { - req_ := &directoryWithCtxAddInotifyFilterRequest{Path: path, Filter: filter, WatchDescriptor: watchDescriptor, Socket: socket} - var resp_ _bindings.Message - err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryAddInotifyFilterOrdinal, req_, resp_) - return err_ -} - // Removes a child node from the this directory's list of entries. // // Note: this does not guarantee that the underlying object is destroyed. @@ -6522,10 +6616,10 @@ // * [`Rights.ENUMERATE`] // * [`Rights.MODIFY_DIRECTORY`] func (p *DirectoryWithCtxInterface) Unlink(ctx_ _bindings.Context, name string, options UnlinkOptions) (Directory2UnlinkResult, error) { - req_ := &directoryWithCtxUnlinkRequest{Name: name, Options: options} - resp_ := &directoryWithCtxUnlinkResponse{} + req_ := &Directory2UnlinkRequest{Name: name, Options: options} + resp_ := &Directory2UnlinkResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryUnlinkOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Initiates a directory listing operation over the input channel, @@ -6534,7 +6628,7 @@ // This method requires the [`Rights.ENUMERATE`] right. If this right is // absent, `iterator` will be closed with a `ZX_ERR_ACCESS_DENIED` epitaph. func (p *DirectoryWithCtxInterface) Enumerate(ctx_ _bindings.Context, options DirectoryEnumerateOptions, iterator DirectoryIteratorWithCtxInterfaceRequest) error { - req_ := &directoryWithCtxEnumerateRequest{Options: options, Iterator: iterator} + req_ := &Directory2EnumerateRequest{Options: options, Iterator: iterator} err_ := ((*_bindings.ChannelProxy)(p)).Send(DirectoryEnumerateOrdinal, req_) return err_ } @@ -6545,18 +6639,51 @@ // `src` and `dst` must be valid node names. // See [`Name`] for what constitutes a valid name. // -// This method requires the following rights on both the current -// connection, and the connection identified by `dst_parent_token`: +// This method requires the following rights on both the current connection, and the connection +// identified by `dst_parent_token`: // // * [`Rights.ENUMERATE`] // * [`Rights.MODIFY_DIRECTORY`] // +// The following requirements are necessary to avoid rights escalations. +// +// If the source and destination directory differ, the source directory must also have the +// maximal set of abilities supported for files, which would typically be +// [`Rights.READ_BYTES`], [`Rights.WRITE_BYTES`], [`Rights.GET_ATTRIBUTES`] and +// [`Rights.UPDATE_ATTRIBUTES`]. Some filesystems might also support the [`Rights.EXECUTE`] +// right. +// +// If `src` refers to a directory, and differs from the destination directory, then the source +// directory must have also have the [`Rights.CONNECT`] and [`Rights.TRAVERSE`] rights. +// // * error `ZX_ERR_INVALID_ARGS` if `src` or `dst` is invalid. +// * error `ZX_ERR_ACCESS_DENIED` for insufficient rights. func (p *DirectoryWithCtxInterface) Rename(ctx_ _bindings.Context, src string, dstParentToken _zx.Event, dst string) (Directory2RenameResult, error) { - req_ := &directoryWithCtxRenameRequest{Src: src, DstParentToken: dstParentToken, Dst: dst} - resp_ := &directoryWithCtxRenameResponse{} + req_ := &Directory2RenameRequest{Src: src, DstParentToken: dstParentToken, Dst: dst} + resp_ := &Directory2RenameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryRenameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Creates a symbolic link. +// +// `name` is the name to be given to the created symbolic link. +// `target` is the target of the symbolic link, which has no meaning on the server. The server +// will perform no validation of `target` except for a server chosen maximum length. +// `connection` is an optional server end of a channel that will speak the Symlink protocol +// on the successfully created node. +// +// * [`Rights.MODIFY_DIRECTORY`] +// +// * error `ZX_ERR_ALREADY_EXISTS` if `name` already exists. +// * error `ZX_ERR_BAD_PATH` if `target` exceeds the server length limit for symbolic links. +// * error `ZX_ERR_INVALID_ARGS` if `name` is not a valid [`Name`]. +// * error `ZX_ERR_NOT_SUPPORTED` if creating symbolic links is not supported by the server. +func (p *DirectoryWithCtxInterface) CreateSymlink(ctx_ _bindings.Context, name string, target []uint8, connection SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) { + req_ := &Directory2CreateSymlinkRequest{Name: name, Target: target, Connection: connection} + resp_ := &Directory2CreateSymlinkResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryCreateSymlinkOrdinal, req_, resp_) + return (*resp_), err_ } type DirectoryWithCtx interface { @@ -6671,8 +6798,13 @@ // `dst` must be a resolved object name. Including "/" in the string will // return `ZX_ERR_INVALID_ARGS`. // - // This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns - // `ZX_ERR_BAD_HANDLE`. + // This method requires following rights: `OpenFlags.RIGHT_WRITABLE` and + // `OpenFlags.RIGHT_READABLE`, otherwise returns `ZX_ERR_BAD_HANDLE`. + // + // This will be atomic with respect to renaming or unlinking the source concurrently e.g. if + // there are two actors operating concurrently, and one actor performs a rename that affects + // the source within this directory, and the other does a link, each will appear to occur + // atomically in an unspecified order. Link(ctx_ _bindings.Context, src string, dstParentToken _zx.Handle, dst string) (int32, error) // Watches a directory, receiving events of added messages on the // watcher request channel. @@ -6694,11 +6826,7 @@ Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) Query(ctx_ _bindings.Context) ([]uint8, error) // Creates another connection to the same node. - // - // + `object_request` is the server end of a channel created for the new - // connection. The caller may proceed to send messages on the - // corresponding client end right away. - Reopen(ctx_ _bindings.Context, rightsRequest *RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error + Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error // An event produced eagerly by the server if requested by // [`NodeFlags.GET_REPRESENTATION`]. This event will be the first message // from the server, and is sent exactly once. @@ -6752,6 +6880,36 @@ // // This method does not require any rights. Sync(ctx_ _bindings.Context) (Node2SyncResult, error) + // Creates an iterator over all the extended attribute names associated + // with this node. If an error occurs it is returned as an epitaph on the + // iterator request channel, and then the channel is closed. + // + // GetExtendedAttributes can be used with any of these names to retrieve + // the associated value. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error + // Get the value associated with the given attribute `name` for this node. + // + // Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No + // particular structure is imposed on them. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) + // Set the value for the given attribute `name` to `value` for this node. + // + // The attribute name may exist, in which case the attribute is updated. + // If the attribute doesn't exist, it is created. The name should have no + // null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) + // Remove the specified extended attribute. + // + // If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) // Acquires an advisory lock on the underlying file. // // The lock lasts until either this connection is closed or @@ -6789,25 +6947,6 @@ // what is allowed. // * error `ZX_ERR_BAD_PATH` if `path` is invalid. Open2(ctx_ _bindings.Context, path string, protocols ConnectionProtocols, objectRequest _zx.Channel) error - // Adds a new inotify filter for an object relative to this directory object. - // - // + 'filter` is a mask of different inotify events that need to be watched by the server - // for a specific file/directory. - // - // + `path` may contain multiple segments, separated by "/" characters, - // and should never be empty; i.e., "" is an invalid path. Paths should not contain - // a leading "/". - // - // +`watch_descriptor` is client assigned value to identify a filter. - // Server shouldn't trust the client-assigned watch_descriptor. They should just send it - // back to the client in the socket. - // This value is not used by server, but it is returned back as part of InotifyEvent, - // to help the client correlate filter with events on this filter. - // - // + `socket` is shared between different filter objects i.e every new filter will - // have a different server end of the socket and there will be a single client end per - // inotify instance on inotify init. - AddInotifyFilter(ctx_ _bindings.Context, path string, filter InotifyWatchMask, watchDescriptor uint32, socket _zx.Socket) error // Removes a child node from the this directory's list of entries. // // Note: this does not guarantee that the underlying object is destroyed. @@ -6845,18 +6984,61 @@ // `src` and `dst` must be valid node names. // See [`Name`] for what constitutes a valid name. // - // This method requires the following rights on both the current - // connection, and the connection identified by `dst_parent_token`: + // This method requires the following rights on both the current connection, and the connection + // identified by `dst_parent_token`: // // * [`Rights.ENUMERATE`] // * [`Rights.MODIFY_DIRECTORY`] // + // The following requirements are necessary to avoid rights escalations. + // + // If the source and destination directory differ, the source directory must also have the + // maximal set of abilities supported for files, which would typically be + // [`Rights.READ_BYTES`], [`Rights.WRITE_BYTES`], [`Rights.GET_ATTRIBUTES`] and + // [`Rights.UPDATE_ATTRIBUTES`]. Some filesystems might also support the [`Rights.EXECUTE`] + // right. + // + // If `src` refers to a directory, and differs from the destination directory, then the source + // directory must have also have the [`Rights.CONNECT`] and [`Rights.TRAVERSE`] rights. + // // * error `ZX_ERR_INVALID_ARGS` if `src` or `dst` is invalid. + // * error `ZX_ERR_ACCESS_DENIED` for insufficient rights. Rename(ctx_ _bindings.Context, src string, dstParentToken _zx.Event, dst string) (Directory2RenameResult, error) + // Creates a symbolic link. + // + // `name` is the name to be given to the created symbolic link. + // `target` is the target of the symbolic link, which has no meaning on the server. The server + // will perform no validation of `target` except for a server chosen maximum length. + // `connection` is an optional server end of a channel that will speak the Symlink protocol + // on the successfully created node. + // + // * [`Rights.MODIFY_DIRECTORY`] + // + // * error `ZX_ERR_ALREADY_EXISTS` if `name` already exists. + // * error `ZX_ERR_BAD_PATH` if `target` exceeds the server length limit for symbolic links. + // * error `ZX_ERR_INVALID_ARGS` if `name` is not a valid [`Name`]. + // * error `ZX_ERR_NOT_SUPPORTED` if creating symbolic links is not supported by the server. + CreateSymlink(ctx_ _bindings.Context, name string, target []uint8, connection SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) } type DirectoryWithCtxTransitionalBase struct{} +func (_ *DirectoryWithCtxTransitionalBase) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + panic("Not Implemented") +} +func (_ *DirectoryWithCtxTransitionalBase) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *DirectoryWithCtxTransitionalBase) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *DirectoryWithCtxTransitionalBase) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *DirectoryWithCtxTransitionalBase) CreateSymlink(ctx_ _bindings.Context, name string, target []uint8, connection SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) { + panic("Not Implemented") +} + type DirectoryWithCtxInterfaceRequest _bindings.InterfaceRequest func NewDirectoryWithCtxInterfaceRequest() (DirectoryWithCtxInterfaceRequest, *DirectoryWithCtxInterface, error) { @@ -6871,7 +7053,7 @@ func (s_ *DirectoryWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case DirectoryCloneOrdinal: - in_ := &directoryWithCtxCloneRequest{} + in_ := &Node1CloneRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -6883,10 +7065,10 @@ return nil, false, err_ case DirectoryGetAttrOrdinal: s, attributes, err_ := s_.Impl.GetAttr(args_.Ctx) - out_ := &directoryWithCtxGetAttrResponse{S: s, Attributes: attributes} + out_ := &Node1GetAttrResponse{S: s, Attributes: attributes} return out_, true, err_ case DirectorySetAttrOrdinal: - in_ := &directoryWithCtxSetAttrRequest{} + in_ := &Node1SetAttrRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -6895,14 +7077,14 @@ return nil, false, err_ } s, err_ := s_.Impl.SetAttr(args_.Ctx, (*in_).Flags, (*in_).Attributes) - out_ := &directoryWithCtxSetAttrResponse{S: s} + out_ := &Node1SetAttrResponse{S: s} return out_, true, err_ case DirectoryGetFlagsOrdinal: s, flags, err_ := s_.Impl.GetFlags(args_.Ctx) - out_ := &directoryWithCtxGetFlagsResponse{S: s, Flags: flags} + out_ := &Node1GetFlagsResponse{S: s, Flags: flags} return out_, true, err_ case DirectorySetFlagsOrdinal: - in_ := &directoryWithCtxSetFlagsRequest{} + in_ := &Node1SetFlagsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -6911,14 +7093,14 @@ return nil, false, err_ } s, err_ := s_.Impl.SetFlags(args_.Ctx, (*in_).Flags) - out_ := &directoryWithCtxSetFlagsResponse{S: s} + out_ := &Node1SetFlagsResponse{S: s} return out_, true, err_ case DirectoryQueryFilesystemOrdinal: s, info, err_ := s_.Impl.QueryFilesystem(args_.Ctx) - out_ := &directoryWithCtxQueryFilesystemResponse{S: s, Info: info} + out_ := &Node1QueryFilesystemResponse{S: s, Info: info} return out_, true, err_ case DirectoryOpenOrdinal: - in_ := &directoryWithCtxOpenRequest{} + in_ := &OpenableOpenRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -6929,7 +7111,7 @@ err_ := s_.Impl.Open(args_.Ctx, (*in_).Flags, (*in_).Mode, (*in_).Path, (*in_).Object) return nil, false, err_ case DirectoryReadDirentsOrdinal: - in_ := &directoryWithCtxReadDirentsRequest{} + in_ := &Directory1ReadDirentsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -6938,18 +7120,18 @@ return nil, false, err_ } s, dirents, err_ := s_.Impl.ReadDirents(args_.Ctx, (*in_).MaxBytes) - out_ := &directoryWithCtxReadDirentsResponse{S: s, Dirents: dirents} + out_ := &Directory1ReadDirentsResponse{S: s, Dirents: dirents} return out_, true, err_ case DirectoryRewindOrdinal: s, err_ := s_.Impl.Rewind(args_.Ctx) - out_ := &directoryWithCtxRewindResponse{S: s} + out_ := &Directory1RewindResponse{S: s} return out_, true, err_ case DirectoryGetTokenOrdinal: s, token, err_ := s_.Impl.GetToken(args_.Ctx) - out_ := &directoryWithCtxGetTokenResponse{S: s, Token: token} + out_ := &Directory1GetTokenResponse{S: s, Token: token} return out_, true, err_ case DirectoryLinkOrdinal: - in_ := &directoryWithCtxLinkRequest{} + in_ := &Directory1LinkRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -6958,10 +7140,10 @@ return nil, false, err_ } s, err_ := s_.Impl.Link(args_.Ctx, (*in_).Src, (*in_).DstParentToken, (*in_).Dst) - out_ := &directoryWithCtxLinkResponse{S: s} + out_ := &Directory1LinkResponse{S: s} return out_, true, err_ case DirectoryWatchOrdinal: - in_ := &directoryWithCtxWatchRequest{} + in_ := &Directory1WatchRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -6970,18 +7152,18 @@ return nil, false, err_ } s, err_ := s_.Impl.Watch(args_.Ctx, (*in_).Mask, (*in_).Options, (*in_).Watcher) - out_ := &directoryWithCtxWatchResponse{S: s} + out_ := &Directory1WatchResponse{S: s} return out_, true, err_ case DirectoryCloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &directoryWithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case DirectoryQueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &directoryWithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case DirectoryReopenOrdinal: - in_ := &directoryWithCtxReopenRequest{} + in_ := &Node2ReopenRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -6996,7 +7178,7 @@ out_ := &payload return out_, true, err_ case DirectoryGetAttributesOrdinal: - in_ := &directoryWithCtxGetAttributesRequest{} + in_ := &Node2GetAttributesRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7004,8 +7186,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) - out_ := &directoryWithCtxGetAttributesResponse{Result: result} + payload, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) + out_ := &payload return out_, true, err_ case DirectoryUpdateAttributesOrdinal: in_ := &MutableNodeAttributes{} @@ -7016,15 +7198,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) - out_ := &directoryWithCtxUpdateAttributesResponse{Result: result} + payload, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) + out_ := &payload return out_, true, err_ case DirectorySyncOrdinal: - result, err_ := s_.Impl.Sync(args_.Ctx) - out_ := &directoryWithCtxSyncResponse{Result: result} + payload, err_ := s_.Impl.Sync(args_.Ctx) + out_ := &payload return out_, true, err_ - case DirectoryAdvisoryLockOrdinal: - in_ := &directoryWithCtxAdvisoryLockRequest{} + case DirectoryListExtendedAttributesOrdinal: + in_ := &Node2ListExtendedAttributesRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7032,11 +7214,58 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AdvisoryLock(args_.Ctx, (*in_).Request) - out_ := &directoryWithCtxAdvisoryLockResponse{Result: result} + err_ := s_.Impl.ListExtendedAttributes(args_.Ctx, (*in_).Iterator) + return nil, false, err_ + case DirectoryGetExtendedAttributeOrdinal: + in_ := &Node2GetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.GetExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload + return out_, true, err_ + case DirectorySetExtendedAttributeOrdinal: + in_ := &Node2SetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetExtendedAttribute(args_.Ctx, (*in_).Name, (*in_).Value, (*in_).Mode) + out_ := &payload + return out_, true, err_ + case DirectoryRemoveExtendedAttributeOrdinal: + in_ := &Node2RemoveExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.RemoveExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload + return out_, true, err_ + case DirectoryAdvisoryLockOrdinal: + in_ := &AdvisoryLockingAdvisoryLockRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.AdvisoryLock(args_.Ctx, (*in_).Request) + out_ := &payload return out_, true, err_ case DirectoryOpen2Ordinal: - in_ := &directoryWithCtxOpen2Request{} + in_ := &Directory2Open2Request{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7046,19 +7275,8 @@ } err_ := s_.Impl.Open2(args_.Ctx, (*in_).Path, (*in_).Protocols, (*in_).ObjectRequest) return nil, false, err_ - case DirectoryAddInotifyFilterOrdinal: - in_ := &directoryWithCtxAddInotifyFilterRequest{} - marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) - if !ok { - return nil, false, _bindings.ErrMissingMarshalerContext - } - if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { - return nil, false, err_ - } - err_ := s_.Impl.AddInotifyFilter(args_.Ctx, (*in_).Path, (*in_).Filter, (*in_).WatchDescriptor, (*in_).Socket) - return nil, true, err_ case DirectoryUnlinkOrdinal: - in_ := &directoryWithCtxUnlinkRequest{} + in_ := &Directory2UnlinkRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7066,11 +7284,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Unlink(args_.Ctx, (*in_).Name, (*in_).Options) - out_ := &directoryWithCtxUnlinkResponse{Result: result} + payload, err_ := s_.Impl.Unlink(args_.Ctx, (*in_).Name, (*in_).Options) + out_ := &payload return out_, true, err_ case DirectoryEnumerateOrdinal: - in_ := &directoryWithCtxEnumerateRequest{} + in_ := &Directory2EnumerateRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7081,7 +7299,7 @@ err_ := s_.Impl.Enumerate(args_.Ctx, (*in_).Options, (*in_).Iterator) return nil, false, err_ case DirectoryRenameOrdinal: - in_ := &directoryWithCtxRenameRequest{} + in_ := &Directory2RenameRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7089,8 +7307,20 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Rename(args_.Ctx, (*in_).Src, (*in_).DstParentToken, (*in_).Dst) - out_ := &directoryWithCtxRenameResponse{Result: result} + payload, err_ := s_.Impl.Rename(args_.Ctx, (*in_).Src, (*in_).DstParentToken, (*in_).Dst) + out_ := &payload + return out_, true, err_ + case DirectoryCreateSymlinkOrdinal: + in_ := &Directory2CreateSymlinkRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.CreateSymlink(args_.Ctx, (*in_).Name, (*in_).Target, (*in_).Connection) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -7099,11 +7329,11 @@ type DirectoryEventProxy _bindings.ChannelProxy func (p *DirectoryEventProxy) OnOpen(s int32, info *NodeInfoDeprecated) error { - event_ := &directoryWithCtxOnOpenResponse{S: s, Info: info} + event_ := &Node1OnOpenRequest{S: s, Info: info} return ((*_bindings.ChannelProxy)(p)).Send(DirectoryOnOpenOrdinal, event_) } func (p *DirectoryEventProxy) OnRepresentation(payload Representation) error { - event_ := &directoryWithCtxOnRepresentationResponse{Payload: payload} + event_ := &payload return ((*_bindings.ChannelProxy)(p)).Send(DirectoryOnRepresentationOrdinal, event_) } @@ -7144,7 +7374,7 @@ // It is invalid to pass any of the `OpenFlags.RIGHT_*` flags together with // `OpenFlags.CLONE_SAME_RIGHTS`. func (p *Directory1WithCtxInterface) Clone(ctx_ _bindings.Context, flags OpenFlags, object NodeWithCtxInterfaceRequest) error { - req_ := &directory1WithCtxCloneRequest{Flags: flags, Object: object} + req_ := &Node1CloneRequest{Flags: flags, Object: object} err_ := ((*_bindings.ChannelProxy)(p)).Send(Directory1CloneOrdinal, req_) return err_ } @@ -7155,7 +7385,7 @@ // object. If the status is `ZX_OK`, `info` contains descriptive information about the object // (the same as would be returned by `Describe`). func (p *Directory1WithCtxInterface) ExpectOnOpen(ctx_ _bindings.Context) (int32, *NodeInfoDeprecated, error) { - resp_ := &directory1WithCtxOnOpenResponse{} + resp_ := &Node1OnOpenRequest{} err_ := ((*_bindings.ChannelProxy)(p)).Recv(Directory1OnOpenOrdinal, resp_) return (*resp_).S, (*resp_).Info, err_ } @@ -7165,7 +7395,7 @@ // This method does not require any rights. func (p *Directory1WithCtxInterface) GetAttr(ctx_ _bindings.Context) (int32, NodeAttributes, error) { var req_ _bindings.Message - resp_ := &directory1WithCtxGetAttrResponse{} + resp_ := &Node1GetAttrResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory1GetAttrOrdinal, req_, resp_) return (*resp_).S, (*resp_).Attributes, err_ } @@ -7175,8 +7405,8 @@ // This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns // `ZX_ERR_BAD_HANDLE`. func (p *Directory1WithCtxInterface) SetAttr(ctx_ _bindings.Context, flags NodeAttributeFlags, attributes NodeAttributes) (int32, error) { - req_ := &directory1WithCtxSetAttrRequest{Flags: flags, Attributes: attributes} - resp_ := &directory1WithCtxSetAttrResponse{} + req_ := &Node1SetAttrRequest{Flags: flags, Attributes: attributes} + resp_ := &Node1SetAttrResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory1SetAttrOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -7186,7 +7416,7 @@ // This method does not require any rights. func (p *Directory1WithCtxInterface) GetFlags(ctx_ _bindings.Context) (int32, OpenFlags, error) { var req_ _bindings.Message - resp_ := &directory1WithCtxGetFlagsResponse{} + resp_ := &Node1GetFlagsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory1GetFlagsOrdinal, req_, resp_) return (*resp_).S, (*resp_).Flags, err_ } @@ -7197,8 +7427,8 @@ // // This method does not require any rights. func (p *Directory1WithCtxInterface) SetFlags(ctx_ _bindings.Context, flags OpenFlags) (int32, error) { - req_ := &directory1WithCtxSetFlagsRequest{Flags: flags} - resp_ := &directory1WithCtxSetFlagsResponse{} + req_ := &Node1SetFlagsRequest{Flags: flags} + resp_ := &Node1SetFlagsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory1SetFlagsOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -7206,7 +7436,7 @@ // Query the filesystem for filesystem-specific information. func (p *Directory1WithCtxInterface) QueryFilesystem(ctx_ _bindings.Context) (int32, *FilesystemInfo, error) { var req_ _bindings.Message - resp_ := &directory1WithCtxQueryFilesystemResponse{} + resp_ := &Node1QueryFilesystemResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory1QueryFilesystemOrdinal, req_, resp_) return (*resp_).S, (*resp_).Info, err_ } @@ -7231,7 +7461,7 @@ // // `mode` is ignored. func (p *Directory1WithCtxInterface) Open(ctx_ _bindings.Context, flags OpenFlags, mode ModeType, path string, object NodeWithCtxInterfaceRequest) error { - req_ := &directory1WithCtxOpenRequest{Flags: flags, Mode: mode, Path: path, Object: object} + req_ := &OpenableOpenRequest{Flags: flags, Mode: mode, Path: path, Object: object} err_ := ((*_bindings.ChannelProxy)(p)).Send(Directory1OpenOrdinal, req_) return err_ } @@ -7264,8 +7494,8 @@ // This method does not require any rights, since one could always probe for // directory contents by triggering name conflicts during file creation. func (p *Directory1WithCtxInterface) ReadDirents(ctx_ _bindings.Context, maxBytes uint64) (int32, []uint8, error) { - req_ := &directory1WithCtxReadDirentsRequest{MaxBytes: maxBytes} - resp_ := &directory1WithCtxReadDirentsResponse{} + req_ := &Directory1ReadDirentsRequest{MaxBytes: maxBytes} + resp_ := &Directory1ReadDirentsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory1ReadDirentsOrdinal, req_, resp_) return (*resp_).S, (*resp_).Dirents, err_ } @@ -7275,7 +7505,7 @@ // This method does not require any rights, similar to ReadDirents. func (p *Directory1WithCtxInterface) Rewind(ctx_ _bindings.Context) (int32, error) { var req_ _bindings.Message - resp_ := &directory1WithCtxRewindResponse{} + resp_ := &Directory1RewindResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory1RewindOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -7288,7 +7518,7 @@ // `ZX_ERR_BAD_HANDLE`. func (p *Directory1WithCtxInterface) GetToken(ctx_ _bindings.Context) (int32, _zx.Handle, error) { var req_ _bindings.Message - resp_ := &directory1WithCtxGetTokenResponse{} + resp_ := &Directory1GetTokenResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory1GetTokenOrdinal, req_, resp_) return (*resp_).S, (*resp_).Token, err_ } @@ -7302,11 +7532,16 @@ // `dst` must be a resolved object name. Including "/" in the string will // return `ZX_ERR_INVALID_ARGS`. // -// This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns -// `ZX_ERR_BAD_HANDLE`. +// This method requires following rights: `OpenFlags.RIGHT_WRITABLE` and +// `OpenFlags.RIGHT_READABLE`, otherwise returns `ZX_ERR_BAD_HANDLE`. +// +// This will be atomic with respect to renaming or unlinking the source concurrently e.g. if +// there are two actors operating concurrently, and one actor performs a rename that affects +// the source within this directory, and the other does a link, each will appear to occur +// atomically in an unspecified order. func (p *Directory1WithCtxInterface) Link(ctx_ _bindings.Context, src string, dstParentToken _zx.Handle, dst string) (int32, error) { - req_ := &directory1WithCtxLinkRequest{Src: src, DstParentToken: dstParentToken, Dst: dst} - resp_ := &directory1WithCtxLinkResponse{} + req_ := &Directory1LinkRequest{Src: src, DstParentToken: dstParentToken, Dst: dst} + resp_ := &Directory1LinkResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory1LinkOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -7318,8 +7553,8 @@ // // This method does not require any rights, similar to ReadDirents. func (p *Directory1WithCtxInterface) Watch(ctx_ _bindings.Context, mask WatchMask, options uint32, watcher DirectoryWatcherWithCtxInterfaceRequest) (int32, error) { - req_ := &directory1WithCtxWatchRequest{Mask: mask, Options: options, Watcher: watcher} - resp_ := &directory1WithCtxWatchResponse{} + req_ := &Directory1WatchRequest{Mask: mask, Options: options, Watcher: watcher} + resp_ := &Directory1WatchResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory1WatchOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -7437,8 +7672,13 @@ // `dst` must be a resolved object name. Including "/" in the string will // return `ZX_ERR_INVALID_ARGS`. // - // This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns - // `ZX_ERR_BAD_HANDLE`. + // This method requires following rights: `OpenFlags.RIGHT_WRITABLE` and + // `OpenFlags.RIGHT_READABLE`, otherwise returns `ZX_ERR_BAD_HANDLE`. + // + // This will be atomic with respect to renaming or unlinking the source concurrently e.g. if + // there are two actors operating concurrently, and one actor performs a rename that affects + // the source within this directory, and the other does a link, each will appear to occur + // atomically in an unspecified order. Link(ctx_ _bindings.Context, src string, dstParentToken _zx.Handle, dst string) (int32, error) // Watches a directory, receiving events of added messages on the // watcher request channel. @@ -7465,7 +7705,7 @@ func (s_ *Directory1WithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case Directory1CloneOrdinal: - in_ := &directory1WithCtxCloneRequest{} + in_ := &Node1CloneRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7477,10 +7717,10 @@ return nil, false, err_ case Directory1GetAttrOrdinal: s, attributes, err_ := s_.Impl.GetAttr(args_.Ctx) - out_ := &directory1WithCtxGetAttrResponse{S: s, Attributes: attributes} + out_ := &Node1GetAttrResponse{S: s, Attributes: attributes} return out_, true, err_ case Directory1SetAttrOrdinal: - in_ := &directory1WithCtxSetAttrRequest{} + in_ := &Node1SetAttrRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7489,14 +7729,14 @@ return nil, false, err_ } s, err_ := s_.Impl.SetAttr(args_.Ctx, (*in_).Flags, (*in_).Attributes) - out_ := &directory1WithCtxSetAttrResponse{S: s} + out_ := &Node1SetAttrResponse{S: s} return out_, true, err_ case Directory1GetFlagsOrdinal: s, flags, err_ := s_.Impl.GetFlags(args_.Ctx) - out_ := &directory1WithCtxGetFlagsResponse{S: s, Flags: flags} + out_ := &Node1GetFlagsResponse{S: s, Flags: flags} return out_, true, err_ case Directory1SetFlagsOrdinal: - in_ := &directory1WithCtxSetFlagsRequest{} + in_ := &Node1SetFlagsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7505,14 +7745,14 @@ return nil, false, err_ } s, err_ := s_.Impl.SetFlags(args_.Ctx, (*in_).Flags) - out_ := &directory1WithCtxSetFlagsResponse{S: s} + out_ := &Node1SetFlagsResponse{S: s} return out_, true, err_ case Directory1QueryFilesystemOrdinal: s, info, err_ := s_.Impl.QueryFilesystem(args_.Ctx) - out_ := &directory1WithCtxQueryFilesystemResponse{S: s, Info: info} + out_ := &Node1QueryFilesystemResponse{S: s, Info: info} return out_, true, err_ case Directory1OpenOrdinal: - in_ := &directory1WithCtxOpenRequest{} + in_ := &OpenableOpenRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7523,7 +7763,7 @@ err_ := s_.Impl.Open(args_.Ctx, (*in_).Flags, (*in_).Mode, (*in_).Path, (*in_).Object) return nil, false, err_ case Directory1ReadDirentsOrdinal: - in_ := &directory1WithCtxReadDirentsRequest{} + in_ := &Directory1ReadDirentsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7532,18 +7772,18 @@ return nil, false, err_ } s, dirents, err_ := s_.Impl.ReadDirents(args_.Ctx, (*in_).MaxBytes) - out_ := &directory1WithCtxReadDirentsResponse{S: s, Dirents: dirents} + out_ := &Directory1ReadDirentsResponse{S: s, Dirents: dirents} return out_, true, err_ case Directory1RewindOrdinal: s, err_ := s_.Impl.Rewind(args_.Ctx) - out_ := &directory1WithCtxRewindResponse{S: s} + out_ := &Directory1RewindResponse{S: s} return out_, true, err_ case Directory1GetTokenOrdinal: s, token, err_ := s_.Impl.GetToken(args_.Ctx) - out_ := &directory1WithCtxGetTokenResponse{S: s, Token: token} + out_ := &Directory1GetTokenResponse{S: s, Token: token} return out_, true, err_ case Directory1LinkOrdinal: - in_ := &directory1WithCtxLinkRequest{} + in_ := &Directory1LinkRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7552,10 +7792,10 @@ return nil, false, err_ } s, err_ := s_.Impl.Link(args_.Ctx, (*in_).Src, (*in_).DstParentToken, (*in_).Dst) - out_ := &directory1WithCtxLinkResponse{S: s} + out_ := &Directory1LinkResponse{S: s} return out_, true, err_ case Directory1WatchOrdinal: - in_ := &directory1WithCtxWatchRequest{} + in_ := &Directory1WatchRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -7564,7 +7804,7 @@ return nil, false, err_ } s, err_ := s_.Impl.Watch(args_.Ctx, (*in_).Mask, (*in_).Options, (*in_).Watcher) - out_ := &directory1WithCtxWatchResponse{S: s} + out_ := &Directory1WatchResponse{S: s} return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -7573,25 +7813,29 @@ type Directory1EventProxy _bindings.ChannelProxy func (p *Directory1EventProxy) OnOpen(s int32, info *NodeInfoDeprecated) error { - event_ := &directory1WithCtxOnOpenResponse{S: s, Info: info} + event_ := &Node1OnOpenRequest{S: s, Info: info} return ((*_bindings.ChannelProxy)(p)).Send(Directory1OnOpenOrdinal, event_) } const ( - Directory2CloseOrdinal uint64 = 0x5ac5d459ad7f657e - Directory2QueryOrdinal uint64 = 0x2658edee9decfc06 - Directory2ReopenOrdinal uint64 = 0x6a849ef281d2baa1 - Directory2OnRepresentationOrdinal uint64 = 0x5cb40567d80a510c - Directory2GetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b - Directory2GetAttributesOrdinal uint64 = 0x3d4396a638ea053b - Directory2UpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 - Directory2SyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 - Directory2AdvisoryLockOrdinal uint64 = 0x6ee9c0ad53ec87aa - Directory2Open2Ordinal uint64 = 0x2fbc4fbbff7c54d6 - Directory2AddInotifyFilterOrdinal uint64 = 0x1fcddfeabd4b932a - Directory2UnlinkOrdinal uint64 = 0x750a0326a78d7bed - Directory2EnumerateOrdinal uint64 = 0x36a4ca72c332c37d - Directory2RenameOrdinal uint64 = 0x7060e7723b9928de + Directory2CloseOrdinal uint64 = 0x5ac5d459ad7f657e + Directory2QueryOrdinal uint64 = 0x2658edee9decfc06 + Directory2ReopenOrdinal uint64 = 0x6a849ef281d2baa1 + Directory2OnRepresentationOrdinal uint64 = 0x5cb40567d80a510c + Directory2GetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b + Directory2GetAttributesOrdinal uint64 = 0x3d4396a638ea053b + Directory2UpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 + Directory2SyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 + Directory2ListExtendedAttributesOrdinal uint64 = 0x4b61033de007fcd0 + Directory2GetExtendedAttributeOrdinal uint64 = 0x45ffa3ccfdeb76db + Directory2SetExtendedAttributeOrdinal uint64 = 0x4a951362f681f23c + Directory2RemoveExtendedAttributeOrdinal uint64 = 0x7a0b9f3a9bf9032d + Directory2AdvisoryLockOrdinal uint64 = 0x6ee9c0ad53ec87aa + Directory2Open2Ordinal uint64 = 0x2fbc4fbbff7c54d6 + Directory2UnlinkOrdinal uint64 = 0x750a0326a78d7bed + Directory2EnumerateOrdinal uint64 = 0x36a4ca72c332c37d + Directory2RenameOrdinal uint64 = 0x7060e7723b9928de + Directory2CreateSymlinkOrdinal uint64 = 0x21ce0f19ec043889 ) type Directory2WithCtxInterface _bindings.ChannelProxy @@ -7608,25 +7852,21 @@ // status. func (p *Directory2WithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &directory2WithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2CloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *Directory2WithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &directory2WithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2QueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Creates another connection to the same node. -// -// - `object_request` is the server end of a channel created for the new -// connection. The caller may proceed to send messages on the -// corresponding client end right away. -func (p *Directory2WithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest *RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { - req_ := &directory2WithCtxReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} +func (p *Directory2WithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { + req_ := &Node2ReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} err_ := ((*_bindings.ChannelProxy)(p)).Send(Directory2ReopenOrdinal, req_) return err_ } @@ -7650,9 +7890,9 @@ // inherent `Describe` methods on the specific protocols. It exists as // an optimization to avoid an additional round trip. func (p *Directory2WithCtxInterface) ExpectOnRepresentation(ctx_ _bindings.Context) (Representation, error) { - resp_ := &directory2WithCtxOnRepresentationResponse{} + resp_ := &Representation{} err_ := ((*_bindings.ChannelProxy)(p)).Recv(Directory2OnRepresentationOrdinal, resp_) - return (*resp_).Payload, err_ + return (*resp_), err_ } // Acquires information about the connection. @@ -7679,10 +7919,10 @@ // // This method requires the [`Rights.GET_ATTRIBUTES`] right. func (p *Directory2WithCtxInterface) GetAttributes(ctx_ _bindings.Context, query NodeAttributesQuery) (Node2GetAttributesResult, error) { - req_ := &directory2WithCtxGetAttributesRequest{Query: query} - resp_ := &directory2WithCtxGetAttributesResponse{} + req_ := &Node2GetAttributesRequest{Query: query} + resp_ := &Node2GetAttributesResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2GetAttributesOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Updates information about the node. @@ -7693,9 +7933,9 @@ // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. func (p *Directory2WithCtxInterface) UpdateAttributes(ctx_ _bindings.Context, payload MutableNodeAttributes) (Node2UpdateAttributesResult, error) { req_ := &payload - resp_ := &directory2WithCtxUpdateAttributesResponse{} + resp_ := &Node2UpdateAttributesResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2UpdateAttributesOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Synchronizes updates to the node to the underlying media, if it exists. @@ -7709,9 +7949,62 @@ // This method does not require any rights. func (p *Directory2WithCtxInterface) Sync(ctx_ _bindings.Context) (Node2SyncResult, error) { var req_ _bindings.Message - resp_ := &directory2WithCtxSyncResponse{} + resp_ := &Node2SyncResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2SyncOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Creates an iterator over all the extended attribute names associated +// with this node. If an error occurs it is returned as an epitaph on the +// iterator request channel, and then the channel is closed. +// +// GetExtendedAttributes can be used with any of these names to retrieve +// the associated value. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *Directory2WithCtxInterface) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + req_ := &Node2ListExtendedAttributesRequest{Iterator: iterator} + err_ := ((*_bindings.ChannelProxy)(p)).Send(Directory2ListExtendedAttributesOrdinal, req_) + return err_ +} + +// Get the value associated with the given attribute `name` for this node. +// +// Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No +// particular structure is imposed on them. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *Directory2WithCtxInterface) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + req_ := &Node2GetExtendedAttributeRequest{Name: name} + resp_ := &Node2GetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2GetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set the value for the given attribute `name` to `value` for this node. +// +// The attribute name may exist, in which case the attribute is updated. +// If the attribute doesn't exist, it is created. The name should have no +// null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *Directory2WithCtxInterface) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + req_ := &Node2SetExtendedAttributeRequest{Name: name, Value: value, Mode: mode} + resp_ := &Node2SetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2SetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Remove the specified extended attribute. +// +// If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *Directory2WithCtxInterface) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + req_ := &Node2RemoveExtendedAttributeRequest{Name: name} + resp_ := &Node2RemoveExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2RemoveExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ } // Acquires an advisory lock on the underlying file. @@ -7738,10 +8031,10 @@ // - `ZX_ERR_ACCESS_DENIED` This connection does not have sufficient rights // to acquire the given type of lock. func (p *Directory2WithCtxInterface) AdvisoryLock(ctx_ _bindings.Context, request AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) { - req_ := &directory2WithCtxAdvisoryLockRequest{Request: request} - resp_ := &directory2WithCtxAdvisoryLockResponse{} + req_ := &AdvisoryLockingAdvisoryLockRequest{Request: request} + resp_ := &AdvisoryLockingAdvisoryLockResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2AdvisoryLockOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Opens or creates a new node relative to this directory node. @@ -7757,37 +8050,11 @@ // what is allowed. // - error `ZX_ERR_BAD_PATH` if `path` is invalid. func (p *Directory2WithCtxInterface) Open2(ctx_ _bindings.Context, path string, protocols ConnectionProtocols, objectRequest _zx.Channel) error { - req_ := &directory2WithCtxOpen2Request{Path: path, Protocols: protocols, ObjectRequest: objectRequest} + req_ := &Directory2Open2Request{Path: path, Protocols: protocols, ObjectRequest: objectRequest} err_ := ((*_bindings.ChannelProxy)(p)).Send(Directory2Open2Ordinal, req_) return err_ } -// Adds a new inotify filter for an object relative to this directory object. -// -// - 'filter` is a mask of different inotify events that need to be watched by the server -// for a specific file/directory. -// -// - `path` may contain multiple segments, separated by "/" characters, -// and should never be empty; i.e., "" is an invalid path. Paths should not contain -// a leading "/". -// -// +`watch_descriptor` is client assigned value to identify a filter. -// -// Server shouldn't trust the client-assigned watch_descriptor. They should just send it -// back to the client in the socket. -// This value is not used by server, but it is returned back as part of InotifyEvent, -// to help the client correlate filter with events on this filter. -// -// - `socket` is shared between different filter objects i.e every new filter will -// have a different server end of the socket and there will be a single client end per -// inotify instance on inotify init. -func (p *Directory2WithCtxInterface) AddInotifyFilter(ctx_ _bindings.Context, path string, filter InotifyWatchMask, watchDescriptor uint32, socket _zx.Socket) error { - req_ := &directory2WithCtxAddInotifyFilterRequest{Path: path, Filter: filter, WatchDescriptor: watchDescriptor, Socket: socket} - var resp_ _bindings.Message - err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2AddInotifyFilterOrdinal, req_, resp_) - return err_ -} - // Removes a child node from the this directory's list of entries. // // Note: this does not guarantee that the underlying object is destroyed. @@ -7813,10 +8080,10 @@ // * [`Rights.ENUMERATE`] // * [`Rights.MODIFY_DIRECTORY`] func (p *Directory2WithCtxInterface) Unlink(ctx_ _bindings.Context, name string, options UnlinkOptions) (Directory2UnlinkResult, error) { - req_ := &directory2WithCtxUnlinkRequest{Name: name, Options: options} - resp_ := &directory2WithCtxUnlinkResponse{} + req_ := &Directory2UnlinkRequest{Name: name, Options: options} + resp_ := &Directory2UnlinkResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2UnlinkOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Initiates a directory listing operation over the input channel, @@ -7825,7 +8092,7 @@ // This method requires the [`Rights.ENUMERATE`] right. If this right is // absent, `iterator` will be closed with a `ZX_ERR_ACCESS_DENIED` epitaph. func (p *Directory2WithCtxInterface) Enumerate(ctx_ _bindings.Context, options DirectoryEnumerateOptions, iterator DirectoryIteratorWithCtxInterfaceRequest) error { - req_ := &directory2WithCtxEnumerateRequest{Options: options, Iterator: iterator} + req_ := &Directory2EnumerateRequest{Options: options, Iterator: iterator} err_ := ((*_bindings.ChannelProxy)(p)).Send(Directory2EnumerateOrdinal, req_) return err_ } @@ -7836,18 +8103,51 @@ // `src` and `dst` must be valid node names. // See [`Name`] for what constitutes a valid name. // -// This method requires the following rights on both the current -// connection, and the connection identified by `dst_parent_token`: +// This method requires the following rights on both the current connection, and the connection +// identified by `dst_parent_token`: // // * [`Rights.ENUMERATE`] // * [`Rights.MODIFY_DIRECTORY`] // +// The following requirements are necessary to avoid rights escalations. +// +// If the source and destination directory differ, the source directory must also have the +// maximal set of abilities supported for files, which would typically be +// [`Rights.READ_BYTES`], [`Rights.WRITE_BYTES`], [`Rights.GET_ATTRIBUTES`] and +// [`Rights.UPDATE_ATTRIBUTES`]. Some filesystems might also support the [`Rights.EXECUTE`] +// right. +// +// If `src` refers to a directory, and differs from the destination directory, then the source +// directory must have also have the [`Rights.CONNECT`] and [`Rights.TRAVERSE`] rights. +// // * error `ZX_ERR_INVALID_ARGS` if `src` or `dst` is invalid. +// * error `ZX_ERR_ACCESS_DENIED` for insufficient rights. func (p *Directory2WithCtxInterface) Rename(ctx_ _bindings.Context, src string, dstParentToken _zx.Event, dst string) (Directory2RenameResult, error) { - req_ := &directory2WithCtxRenameRequest{Src: src, DstParentToken: dstParentToken, Dst: dst} - resp_ := &directory2WithCtxRenameResponse{} + req_ := &Directory2RenameRequest{Src: src, DstParentToken: dstParentToken, Dst: dst} + resp_ := &Directory2RenameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2RenameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Creates a symbolic link. +// +// `name` is the name to be given to the created symbolic link. +// `target` is the target of the symbolic link, which has no meaning on the server. The server +// will perform no validation of `target` except for a server chosen maximum length. +// `connection` is an optional server end of a channel that will speak the Symlink protocol +// on the successfully created node. +// +// * [`Rights.MODIFY_DIRECTORY`] +// +// * error `ZX_ERR_ALREADY_EXISTS` if `name` already exists. +// * error `ZX_ERR_BAD_PATH` if `target` exceeds the server length limit for symbolic links. +// * error `ZX_ERR_INVALID_ARGS` if `name` is not a valid [`Name`]. +// * error `ZX_ERR_NOT_SUPPORTED` if creating symbolic links is not supported by the server. +func (p *Directory2WithCtxInterface) CreateSymlink(ctx_ _bindings.Context, name string, target []uint8, connection SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) { + req_ := &Directory2CreateSymlinkRequest{Name: name, Target: target, Connection: connection} + resp_ := &Directory2CreateSymlinkResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(Directory2CreateSymlinkOrdinal, req_, resp_) + return (*resp_), err_ } // A [`Node2`] that is capable of containing other nodes. @@ -7865,11 +8165,7 @@ Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) Query(ctx_ _bindings.Context) ([]uint8, error) // Creates another connection to the same node. - // - // + `object_request` is the server end of a channel created for the new - // connection. The caller may proceed to send messages on the - // corresponding client end right away. - Reopen(ctx_ _bindings.Context, rightsRequest *RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error + Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error // An event produced eagerly by the server if requested by // [`NodeFlags.GET_REPRESENTATION`]. This event will be the first message // from the server, and is sent exactly once. @@ -7923,6 +8219,36 @@ // // This method does not require any rights. Sync(ctx_ _bindings.Context) (Node2SyncResult, error) + // Creates an iterator over all the extended attribute names associated + // with this node. If an error occurs it is returned as an epitaph on the + // iterator request channel, and then the channel is closed. + // + // GetExtendedAttributes can be used with any of these names to retrieve + // the associated value. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error + // Get the value associated with the given attribute `name` for this node. + // + // Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No + // particular structure is imposed on them. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) + // Set the value for the given attribute `name` to `value` for this node. + // + // The attribute name may exist, in which case the attribute is updated. + // If the attribute doesn't exist, it is created. The name should have no + // null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) + // Remove the specified extended attribute. + // + // If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) // Acquires an advisory lock on the underlying file. // // The lock lasts until either this connection is closed or @@ -7960,25 +8286,6 @@ // what is allowed. // * error `ZX_ERR_BAD_PATH` if `path` is invalid. Open2(ctx_ _bindings.Context, path string, protocols ConnectionProtocols, objectRequest _zx.Channel) error - // Adds a new inotify filter for an object relative to this directory object. - // - // + 'filter` is a mask of different inotify events that need to be watched by the server - // for a specific file/directory. - // - // + `path` may contain multiple segments, separated by "/" characters, - // and should never be empty; i.e., "" is an invalid path. Paths should not contain - // a leading "/". - // - // +`watch_descriptor` is client assigned value to identify a filter. - // Server shouldn't trust the client-assigned watch_descriptor. They should just send it - // back to the client in the socket. - // This value is not used by server, but it is returned back as part of InotifyEvent, - // to help the client correlate filter with events on this filter. - // - // + `socket` is shared between different filter objects i.e every new filter will - // have a different server end of the socket and there will be a single client end per - // inotify instance on inotify init. - AddInotifyFilter(ctx_ _bindings.Context, path string, filter InotifyWatchMask, watchDescriptor uint32, socket _zx.Socket) error // Removes a child node from the this directory's list of entries. // // Note: this does not guarantee that the underlying object is destroyed. @@ -8016,18 +8323,61 @@ // `src` and `dst` must be valid node names. // See [`Name`] for what constitutes a valid name. // - // This method requires the following rights on both the current - // connection, and the connection identified by `dst_parent_token`: + // This method requires the following rights on both the current connection, and the connection + // identified by `dst_parent_token`: // // * [`Rights.ENUMERATE`] // * [`Rights.MODIFY_DIRECTORY`] // + // The following requirements are necessary to avoid rights escalations. + // + // If the source and destination directory differ, the source directory must also have the + // maximal set of abilities supported for files, which would typically be + // [`Rights.READ_BYTES`], [`Rights.WRITE_BYTES`], [`Rights.GET_ATTRIBUTES`] and + // [`Rights.UPDATE_ATTRIBUTES`]. Some filesystems might also support the [`Rights.EXECUTE`] + // right. + // + // If `src` refers to a directory, and differs from the destination directory, then the source + // directory must have also have the [`Rights.CONNECT`] and [`Rights.TRAVERSE`] rights. + // // * error `ZX_ERR_INVALID_ARGS` if `src` or `dst` is invalid. + // * error `ZX_ERR_ACCESS_DENIED` for insufficient rights. Rename(ctx_ _bindings.Context, src string, dstParentToken _zx.Event, dst string) (Directory2RenameResult, error) + // Creates a symbolic link. + // + // `name` is the name to be given to the created symbolic link. + // `target` is the target of the symbolic link, which has no meaning on the server. The server + // will perform no validation of `target` except for a server chosen maximum length. + // `connection` is an optional server end of a channel that will speak the Symlink protocol + // on the successfully created node. + // + // * [`Rights.MODIFY_DIRECTORY`] + // + // * error `ZX_ERR_ALREADY_EXISTS` if `name` already exists. + // * error `ZX_ERR_BAD_PATH` if `target` exceeds the server length limit for symbolic links. + // * error `ZX_ERR_INVALID_ARGS` if `name` is not a valid [`Name`]. + // * error `ZX_ERR_NOT_SUPPORTED` if creating symbolic links is not supported by the server. + CreateSymlink(ctx_ _bindings.Context, name string, target []uint8, connection SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) } type Directory2WithCtxTransitionalBase struct{} +func (_ *Directory2WithCtxTransitionalBase) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + panic("Not Implemented") +} +func (_ *Directory2WithCtxTransitionalBase) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *Directory2WithCtxTransitionalBase) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *Directory2WithCtxTransitionalBase) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *Directory2WithCtxTransitionalBase) CreateSymlink(ctx_ _bindings.Context, name string, target []uint8, connection SymlinkWithCtxInterfaceRequest) (Directory2CreateSymlinkResult, error) { + panic("Not Implemented") +} + type Directory2WithCtxInterfaceRequest _bindings.InterfaceRequest func NewDirectory2WithCtxInterfaceRequest() (Directory2WithCtxInterfaceRequest, *Directory2WithCtxInterface, error) { @@ -8042,15 +8392,15 @@ func (s_ *Directory2WithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case Directory2CloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &directory2WithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case Directory2QueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &directory2WithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case Directory2ReopenOrdinal: - in_ := &directory2WithCtxReopenRequest{} + in_ := &Node2ReopenRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -8065,7 +8415,7 @@ out_ := &payload return out_, true, err_ case Directory2GetAttributesOrdinal: - in_ := &directory2WithCtxGetAttributesRequest{} + in_ := &Node2GetAttributesRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -8073,8 +8423,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) - out_ := &directory2WithCtxGetAttributesResponse{Result: result} + payload, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) + out_ := &payload return out_, true, err_ case Directory2UpdateAttributesOrdinal: in_ := &MutableNodeAttributes{} @@ -8085,15 +8435,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) - out_ := &directory2WithCtxUpdateAttributesResponse{Result: result} + payload, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) + out_ := &payload return out_, true, err_ case Directory2SyncOrdinal: - result, err_ := s_.Impl.Sync(args_.Ctx) - out_ := &directory2WithCtxSyncResponse{Result: result} + payload, err_ := s_.Impl.Sync(args_.Ctx) + out_ := &payload return out_, true, err_ - case Directory2AdvisoryLockOrdinal: - in_ := &directory2WithCtxAdvisoryLockRequest{} + case Directory2ListExtendedAttributesOrdinal: + in_ := &Node2ListExtendedAttributesRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -8101,11 +8451,58 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AdvisoryLock(args_.Ctx, (*in_).Request) - out_ := &directory2WithCtxAdvisoryLockResponse{Result: result} + err_ := s_.Impl.ListExtendedAttributes(args_.Ctx, (*in_).Iterator) + return nil, false, err_ + case Directory2GetExtendedAttributeOrdinal: + in_ := &Node2GetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.GetExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload + return out_, true, err_ + case Directory2SetExtendedAttributeOrdinal: + in_ := &Node2SetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetExtendedAttribute(args_.Ctx, (*in_).Name, (*in_).Value, (*in_).Mode) + out_ := &payload + return out_, true, err_ + case Directory2RemoveExtendedAttributeOrdinal: + in_ := &Node2RemoveExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.RemoveExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload + return out_, true, err_ + case Directory2AdvisoryLockOrdinal: + in_ := &AdvisoryLockingAdvisoryLockRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.AdvisoryLock(args_.Ctx, (*in_).Request) + out_ := &payload return out_, true, err_ case Directory2Open2Ordinal: - in_ := &directory2WithCtxOpen2Request{} + in_ := &Directory2Open2Request{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -8115,19 +8512,8 @@ } err_ := s_.Impl.Open2(args_.Ctx, (*in_).Path, (*in_).Protocols, (*in_).ObjectRequest) return nil, false, err_ - case Directory2AddInotifyFilterOrdinal: - in_ := &directory2WithCtxAddInotifyFilterRequest{} - marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) - if !ok { - return nil, false, _bindings.ErrMissingMarshalerContext - } - if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { - return nil, false, err_ - } - err_ := s_.Impl.AddInotifyFilter(args_.Ctx, (*in_).Path, (*in_).Filter, (*in_).WatchDescriptor, (*in_).Socket) - return nil, true, err_ case Directory2UnlinkOrdinal: - in_ := &directory2WithCtxUnlinkRequest{} + in_ := &Directory2UnlinkRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -8135,11 +8521,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Unlink(args_.Ctx, (*in_).Name, (*in_).Options) - out_ := &directory2WithCtxUnlinkResponse{Result: result} + payload, err_ := s_.Impl.Unlink(args_.Ctx, (*in_).Name, (*in_).Options) + out_ := &payload return out_, true, err_ case Directory2EnumerateOrdinal: - in_ := &directory2WithCtxEnumerateRequest{} + in_ := &Directory2EnumerateRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -8150,7 +8536,7 @@ err_ := s_.Impl.Enumerate(args_.Ctx, (*in_).Options, (*in_).Iterator) return nil, false, err_ case Directory2RenameOrdinal: - in_ := &directory2WithCtxRenameRequest{} + in_ := &Directory2RenameRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -8158,8 +8544,20 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Rename(args_.Ctx, (*in_).Src, (*in_).DstParentToken, (*in_).Dst) - out_ := &directory2WithCtxRenameResponse{Result: result} + payload, err_ := s_.Impl.Rename(args_.Ctx, (*in_).Src, (*in_).DstParentToken, (*in_).Dst) + out_ := &payload + return out_, true, err_ + case Directory2CreateSymlinkOrdinal: + in_ := &Directory2CreateSymlinkRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.CreateSymlink(args_.Ctx, (*in_).Name, (*in_).Target, (*in_).Connection) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -8168,7 +8566,7 @@ type Directory2EventProxy _bindings.ChannelProxy func (p *Directory2EventProxy) OnRepresentation(payload Representation) error { - event_ := &directory2WithCtxOnRepresentationResponse{Payload: payload} + event_ := &payload return ((*_bindings.ChannelProxy)(p)).Send(Directory2OnRepresentationOrdinal, event_) } @@ -8193,9 +8591,9 @@ // in the [`Directory.Enumerate`] call. func (p *DirectoryIteratorWithCtxInterface) GetNext(ctx_ _bindings.Context) (DirectoryIteratorGetNextResult, error) { var req_ _bindings.Message - resp_ := &directoryIteratorWithCtxGetNextResponse{} + resp_ := &DirectoryIteratorGetNextResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DirectoryIteratorGetNextOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } type DirectoryIteratorWithCtx interface { @@ -8231,8 +8629,8 @@ func (s_ *DirectoryIteratorWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case DirectoryIteratorGetNextOrdinal: - result, err_ := s_.Impl.GetNext(args_.Ctx) - out_ := &directoryIteratorWithCtxGetNextResponse{Result: result} + payload, err_ := s_.Impl.GetNext(args_.Ctx) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -8286,30 +8684,85 @@ type DirectoryWatcherEventProxy _bindings.ChannelProxy const ( - FileAdvisoryLockOrdinal uint64 = 0x6ee9c0ad53ec87aa - FileCloneOrdinal uint64 = 0x5a61678f293ce16f - FileOnOpenOrdinal uint64 = 0x7fc7bbb1dbfd1972 - FileGetAttrOrdinal uint64 = 0x78985e216314dafd - FileSetAttrOrdinal uint64 = 0x4186c0f40d938f46 - FileGetFlagsOrdinal uint64 = 0x5b88fffb8eda3aa1 - FileSetFlagsOrdinal uint64 = 0x5295b76c71fde733 - FileQueryFilesystemOrdinal uint64 = 0x6f344a1c6b0a0610 - FileCloseOrdinal uint64 = 0x5ac5d459ad7f657e - FileQueryOrdinal uint64 = 0x2658edee9decfc06 - FileReopenOrdinal uint64 = 0x6a849ef281d2baa1 - FileOnRepresentationOrdinal uint64 = 0x5cb40567d80a510c - FileGetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b - FileGetAttributesOrdinal uint64 = 0x3d4396a638ea053b - FileUpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 - FileSyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 - FileReadOrdinal uint64 = 0x57e419a298c8ede - FileWriteOrdinal uint64 = 0x6a31437832469f82 - FileDescribeOrdinal uint64 = 0x68b5ac00c62906bc - FileSeekOrdinal uint64 = 0x78079168162c5207 - FileReadAtOrdinal uint64 = 0x1607a293a60d723e - FileWriteAtOrdinal uint64 = 0x793eefc0045e792b - FileResizeOrdinal uint64 = 0x2b80825f0535743a - FileGetBackingMemoryOrdinal uint64 = 0xa6a9e654cbf62b + ExtendedAttributeIteratorGetNextOrdinal uint64 = 0x3ba664a1c2e45a7 +) + +type ExtendedAttributeIteratorWithCtxInterface _bindings.ChannelProxy + +// Get the next chunk of extended attribute names. If this is the last +// chunk, last will be true, and the channel will be closed after the +// call. +func (p *ExtendedAttributeIteratorWithCtxInterface) GetNext(ctx_ _bindings.Context) (ExtendedAttributeIteratorGetNextResult, error) { + var req_ _bindings.Message + resp_ := &ExtendedAttributeIteratorGetNextResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(ExtendedAttributeIteratorGetNextOrdinal, req_, resp_) + return (*resp_), err_ +} + +type ExtendedAttributeIteratorWithCtx interface { + // Get the next chunk of extended attribute names. If this is the last + // chunk, last will be true, and the channel will be closed after the + // call. + GetNext(ctx_ _bindings.Context) (ExtendedAttributeIteratorGetNextResult, error) +} + +type ExtendedAttributeIteratorWithCtxTransitionalBase struct{} + +type ExtendedAttributeIteratorWithCtxInterfaceRequest _bindings.InterfaceRequest + +func NewExtendedAttributeIteratorWithCtxInterfaceRequest() (ExtendedAttributeIteratorWithCtxInterfaceRequest, *ExtendedAttributeIteratorWithCtxInterface, error) { + req, cli, err := _bindings.NewInterfaceRequest() + return ExtendedAttributeIteratorWithCtxInterfaceRequest(req), (*ExtendedAttributeIteratorWithCtxInterface)(cli), err +} + +type ExtendedAttributeIteratorWithCtxStub struct { + Impl ExtendedAttributeIteratorWithCtx +} + +func (s_ *ExtendedAttributeIteratorWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { + switch args_.Ordinal { + case ExtendedAttributeIteratorGetNextOrdinal: + payload, err_ := s_.Impl.GetNext(args_.Ctx) + out_ := &payload + return out_, true, err_ + } + return nil, false, _bindings.ErrUnknownOrdinal +} + +type ExtendedAttributeIteratorEventProxy _bindings.ChannelProxy + +const ( + FileAdvisoryLockOrdinal uint64 = 0x6ee9c0ad53ec87aa + FileLinkIntoOrdinal uint64 = 0x54f3949246a03e74 + FileCloneOrdinal uint64 = 0x5a61678f293ce16f + FileOnOpenOrdinal uint64 = 0x7fc7bbb1dbfd1972 + FileGetAttrOrdinal uint64 = 0x78985e216314dafd + FileSetAttrOrdinal uint64 = 0x4186c0f40d938f46 + FileGetFlagsOrdinal uint64 = 0x5b88fffb8eda3aa1 + FileSetFlagsOrdinal uint64 = 0x5295b76c71fde733 + FileQueryFilesystemOrdinal uint64 = 0x6f344a1c6b0a0610 + FileCloseOrdinal uint64 = 0x5ac5d459ad7f657e + FileQueryOrdinal uint64 = 0x2658edee9decfc06 + FileReopenOrdinal uint64 = 0x6a849ef281d2baa1 + FileOnRepresentationOrdinal uint64 = 0x5cb40567d80a510c + FileGetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b + FileGetAttributesOrdinal uint64 = 0x3d4396a638ea053b + FileUpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 + FileSyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 + FileListExtendedAttributesOrdinal uint64 = 0x4b61033de007fcd0 + FileGetExtendedAttributeOrdinal uint64 = 0x45ffa3ccfdeb76db + FileSetExtendedAttributeOrdinal uint64 = 0x4a951362f681f23c + FileRemoveExtendedAttributeOrdinal uint64 = 0x7a0b9f3a9bf9032d + FileReadOrdinal uint64 = 0x57e419a298c8ede + FileWriteOrdinal uint64 = 0x6a31437832469f82 + FileDescribeOrdinal uint64 = 0x68b5ac00c62906bc + FileSeekOrdinal uint64 = 0x78079168162c5207 + FileReadAtOrdinal uint64 = 0x1607a293a60d723e + FileWriteAtOrdinal uint64 = 0x793eefc0045e792b + FileResizeOrdinal uint64 = 0x2b80825f0535743a + FileGetBackingMemoryOrdinal uint64 = 0xa6a9e654cbf62b + FileAllocateOrdinal uint64 = 0x77fa0c330b57fd2e + FileEnableVerityOrdinal uint64 = 0x2c421ec3faaeb8bb ) type FileWithCtxInterface _bindings.ChannelProxy @@ -8338,10 +8791,34 @@ // - `ZX_ERR_ACCESS_DENIED` This connection does not have sufficient rights // to acquire the given type of lock. func (p *FileWithCtxInterface) AdvisoryLock(ctx_ _bindings.Context, request AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) { - req_ := &fileWithCtxAdvisoryLockRequest{Request: request} - resp_ := &fileWithCtxAdvisoryLockResponse{} + req_ := &AdvisoryLockingAdvisoryLockRequest{Request: request} + resp_ := &AdvisoryLockingAdvisoryLockResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileAdvisoryLockOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Creates a link to this this object with name `dst` in the directory represented by +// `dst_parent_token`. +// +// `dst` must be a resolved object name. Including "/" in the string will return +// `ZX_ERR_INVALID_ARGS`. +// +// This method requires the maximal set of rights supported by the filesystem for this object. +// For files this would typically be [`Rights.READ_BYTES`], [`Rights.WRITE_BYTES`], +// [`Rights.GET_ATTRIBUTES`] and [`Rights.UPDATE_ATTRIBUTES`]. Some filesystems might also +// support the [`Rights.EXECUTE`] right. Insufficient rights will result in +// `ZX_ERR_ACCESS_DENIED`. +// +// If this object has no links, it will fail with `ZX_ERR_NOT_FOUND`. +// +// This method does not have the same atomicity properties has the `Directory::Link` method, +// which means that calling `Open` then `LinkInto` is not equivalent to `Directory::Link` +// because `LinkInto` will not prevent the source from being renamed or unlinked. +func (p *FileWithCtxInterface) LinkInto(ctx_ _bindings.Context, dstParentToken _zx.Event, dst string) (LinkableLinkIntoResult, error) { + req_ := &LinkableLinkIntoRequest{DstParentToken: dstParentToken, Dst: dst} + resp_ := &LinkableLinkIntoResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(FileLinkIntoOrdinal, req_, resp_) + return (*resp_), err_ } // Create another connection to the same remote object. @@ -8363,7 +8840,7 @@ // It is invalid to pass any of the `OpenFlags.RIGHT_*` flags together with // `OpenFlags.CLONE_SAME_RIGHTS`. func (p *FileWithCtxInterface) Clone(ctx_ _bindings.Context, flags OpenFlags, object NodeWithCtxInterfaceRequest) error { - req_ := &fileWithCtxCloneRequest{Flags: flags, Object: object} + req_ := &Node1CloneRequest{Flags: flags, Object: object} err_ := ((*_bindings.ChannelProxy)(p)).Send(FileCloneOrdinal, req_) return err_ } @@ -8374,7 +8851,7 @@ // object. If the status is `ZX_OK`, `info` contains descriptive information about the object // (the same as would be returned by `Describe`). func (p *FileWithCtxInterface) ExpectOnOpen(ctx_ _bindings.Context) (int32, *NodeInfoDeprecated, error) { - resp_ := &fileWithCtxOnOpenResponse{} + resp_ := &Node1OnOpenRequest{} err_ := ((*_bindings.ChannelProxy)(p)).Recv(FileOnOpenOrdinal, resp_) return (*resp_).S, (*resp_).Info, err_ } @@ -8384,7 +8861,7 @@ // This method does not require any rights. func (p *FileWithCtxInterface) GetAttr(ctx_ _bindings.Context) (int32, NodeAttributes, error) { var req_ _bindings.Message - resp_ := &fileWithCtxGetAttrResponse{} + resp_ := &Node1GetAttrResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileGetAttrOrdinal, req_, resp_) return (*resp_).S, (*resp_).Attributes, err_ } @@ -8394,8 +8871,8 @@ // This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns // `ZX_ERR_BAD_HANDLE`. func (p *FileWithCtxInterface) SetAttr(ctx_ _bindings.Context, flags NodeAttributeFlags, attributes NodeAttributes) (int32, error) { - req_ := &fileWithCtxSetAttrRequest{Flags: flags, Attributes: attributes} - resp_ := &fileWithCtxSetAttrResponse{} + req_ := &Node1SetAttrRequest{Flags: flags, Attributes: attributes} + resp_ := &Node1SetAttrResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileSetAttrOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -8405,7 +8882,7 @@ // This method does not require any rights. func (p *FileWithCtxInterface) GetFlags(ctx_ _bindings.Context) (int32, OpenFlags, error) { var req_ _bindings.Message - resp_ := &fileWithCtxGetFlagsResponse{} + resp_ := &Node1GetFlagsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileGetFlagsOrdinal, req_, resp_) return (*resp_).S, (*resp_).Flags, err_ } @@ -8416,8 +8893,8 @@ // // This method does not require any rights. func (p *FileWithCtxInterface) SetFlags(ctx_ _bindings.Context, flags OpenFlags) (int32, error) { - req_ := &fileWithCtxSetFlagsRequest{Flags: flags} - resp_ := &fileWithCtxSetFlagsResponse{} + req_ := &Node1SetFlagsRequest{Flags: flags} + resp_ := &Node1SetFlagsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileSetFlagsOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -8425,7 +8902,7 @@ // Query the filesystem for filesystem-specific information. func (p *FileWithCtxInterface) QueryFilesystem(ctx_ _bindings.Context) (int32, *FilesystemInfo, error) { var req_ _bindings.Message - resp_ := &fileWithCtxQueryFilesystemResponse{} + resp_ := &Node1QueryFilesystemResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileQueryFilesystemOrdinal, req_, resp_) return (*resp_).S, (*resp_).Info, err_ } @@ -8442,25 +8919,21 @@ // status. func (p *FileWithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &fileWithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileCloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *FileWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &fileWithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileQueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Creates another connection to the same node. -// -// - `object_request` is the server end of a channel created for the new -// connection. The caller may proceed to send messages on the -// corresponding client end right away. -func (p *FileWithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest *RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { - req_ := &fileWithCtxReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} +func (p *FileWithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { + req_ := &Node2ReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} err_ := ((*_bindings.ChannelProxy)(p)).Send(FileReopenOrdinal, req_) return err_ } @@ -8484,9 +8957,9 @@ // inherent `Describe` methods on the specific protocols. It exists as // an optimization to avoid an additional round trip. func (p *FileWithCtxInterface) ExpectOnRepresentation(ctx_ _bindings.Context) (Representation, error) { - resp_ := &fileWithCtxOnRepresentationResponse{} + resp_ := &Representation{} err_ := ((*_bindings.ChannelProxy)(p)).Recv(FileOnRepresentationOrdinal, resp_) - return (*resp_).Payload, err_ + return (*resp_), err_ } // Acquires information about the connection. @@ -8513,10 +8986,10 @@ // // This method requires the [`Rights.GET_ATTRIBUTES`] right. func (p *FileWithCtxInterface) GetAttributes(ctx_ _bindings.Context, query NodeAttributesQuery) (Node2GetAttributesResult, error) { - req_ := &fileWithCtxGetAttributesRequest{Query: query} - resp_ := &fileWithCtxGetAttributesResponse{} + req_ := &Node2GetAttributesRequest{Query: query} + resp_ := &Node2GetAttributesResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileGetAttributesOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Updates information about the node. @@ -8527,9 +9000,9 @@ // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. func (p *FileWithCtxInterface) UpdateAttributes(ctx_ _bindings.Context, payload MutableNodeAttributes) (Node2UpdateAttributesResult, error) { req_ := &payload - resp_ := &fileWithCtxUpdateAttributesResponse{} + resp_ := &Node2UpdateAttributesResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileUpdateAttributesOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Synchronizes updates to the node to the underlying media, if it exists. @@ -8543,9 +9016,62 @@ // This method does not require any rights. func (p *FileWithCtxInterface) Sync(ctx_ _bindings.Context) (Node2SyncResult, error) { var req_ _bindings.Message - resp_ := &fileWithCtxSyncResponse{} + resp_ := &Node2SyncResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileSyncOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Creates an iterator over all the extended attribute names associated +// with this node. If an error occurs it is returned as an epitaph on the +// iterator request channel, and then the channel is closed. +// +// GetExtendedAttributes can be used with any of these names to retrieve +// the associated value. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *FileWithCtxInterface) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + req_ := &Node2ListExtendedAttributesRequest{Iterator: iterator} + err_ := ((*_bindings.ChannelProxy)(p)).Send(FileListExtendedAttributesOrdinal, req_) + return err_ +} + +// Get the value associated with the given attribute `name` for this node. +// +// Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No +// particular structure is imposed on them. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *FileWithCtxInterface) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + req_ := &Node2GetExtendedAttributeRequest{Name: name} + resp_ := &Node2GetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(FileGetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set the value for the given attribute `name` to `value` for this node. +// +// The attribute name may exist, in which case the attribute is updated. +// If the attribute doesn't exist, it is created. The name should have no +// null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *FileWithCtxInterface) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + req_ := &Node2SetExtendedAttributeRequest{Name: name, Value: value, Mode: mode} + resp_ := &Node2SetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(FileSetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Remove the specified extended attribute. +// +// If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *FileWithCtxInterface) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + req_ := &Node2RemoveExtendedAttributeRequest{Name: name} + resp_ := &Node2RemoveExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(FileRemoveExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ } // Reads up to 'count' bytes at the seek offset. @@ -8567,10 +9093,10 @@ // // Returns `ZX_ERR_OUT_OF_RANGE` if `count` is greater than `MAX_TRANSFER_SIZE`. func (p *FileWithCtxInterface) Read(ctx_ _bindings.Context, count uint64) (ReadableReadResult, error) { - req_ := &fileWithCtxReadRequest{Count: count} - resp_ := &fileWithCtxReadResponse{} + req_ := &ReadableReadRequest{Count: count} + resp_ := &ReadableReadResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileReadOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Writes data at the seek offset. @@ -8597,10 +9123,10 @@ // // This method requires the [`Rights.WRITE_BYTES`] right. func (p *FileWithCtxInterface) Write(ctx_ _bindings.Context, data []uint8) (WritableWriteResult, error) { - req_ := &fileWithCtxWriteRequest{Data: data} - resp_ := &fileWithCtxWriteResponse{} + req_ := &WritableWriteRequest{Data: data} + resp_ := &WritableWriteResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileWriteOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *FileWithCtxInterface) Describe(ctx_ _bindings.Context) (FileInfo, error) { @@ -8620,10 +9146,10 @@ // // This method does not require any rights. func (p *FileWithCtxInterface) Seek(ctx_ _bindings.Context, origin SeekOrigin, offset int64) (FileSeekResult, error) { - req_ := &fileWithCtxSeekRequest{Origin: origin, Offset: offset} - resp_ := &fileWithCtxSeekResponse{} + req_ := &FileSeekRequest{Origin: origin, Offset: offset} + resp_ := &FileSeekResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileSeekOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Reads up to 'count' bytes at the provided offset. @@ -8644,10 +9170,10 @@ // // Returns `ZX_ERR_OUT_OF_RANGE` if `count` is greater than `MAX_TRANSFER_SIZE`. func (p *FileWithCtxInterface) ReadAt(ctx_ _bindings.Context, count uint64, offset uint64) (FileReadAtResult, error) { - req_ := &fileWithCtxReadAtRequest{Count: count, Offset: offset} - resp_ := &fileWithCtxReadAtResponse{} + req_ := &FileReadAtRequest{Count: count, Offset: offset} + resp_ := &FileReadAtResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileReadAtOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Writes data at the provided offset. @@ -8672,10 +9198,10 @@ // // This method requires the [`Rights.WRITE_BYTES`] right. func (p *FileWithCtxInterface) WriteAt(ctx_ _bindings.Context, data []uint8, offset uint64) (FileWriteAtResult, error) { - req_ := &fileWithCtxWriteAtRequest{Data: data, Offset: offset} - resp_ := &fileWithCtxWriteAtResponse{} + req_ := &FileWriteAtRequest{Data: data, Offset: offset} + resp_ := &FileWriteAtResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileWriteAtOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Shrinks or grows the file size to 'length' bytes. @@ -8687,13 +9213,13 @@ // // This method requires the [`Rights.WRITE_BYTES`] right. func (p *FileWithCtxInterface) Resize(ctx_ _bindings.Context, length uint64) (FileResizeResult, error) { - req_ := &fileWithCtxResizeRequest{Length: length} - resp_ := &fileWithCtxResizeResponse{} + req_ := &FileResizeRequest{Length: length} + resp_ := &FileResizeResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileResizeOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } -// Acquires a [`zx.handle:VMO`] representing this file, if there is one, +// Acquires a [`zx.Handle:VMO`] representing this file, if there is one, // with the requested access rights. // // Implementations are not required to implement files backed by VMOs so @@ -8705,8 +9231,8 @@ // implementation is free to choose the semantics of the returned VMO. // // + request `flags` a [`VmoFlags`] indicating the desired mode of access. -// - response `vmo` the requested [`zx.handle:VMO`]. -// * error a [`zx.status`] value indicating the failure. +// - response `vmo` the requested [`zx.Handle:VMO`]. +// * error a [`zx.Status`] value indicating the failure. // // This method requires the following rights: // @@ -8714,10 +9240,36 @@ // * [`Rights.WRITE_BYTES`] if `flags` includes [`VmoFlags.WRITE`]. // * [`Rights.EXECUTE`] if `flags` includes [`VmoFlags.EXECUTE`]. func (p *FileWithCtxInterface) GetBackingMemory(ctx_ _bindings.Context, flags VmoFlags) (FileGetBackingMemoryResult, error) { - req_ := &fileWithCtxGetBackingMemoryRequest{Flags: flags} - resp_ := &fileWithCtxGetBackingMemoryResponse{} + req_ := &FileGetBackingMemoryRequest{Flags: flags} + resp_ := &FileGetBackingMemoryResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(FileGetBackingMemoryOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Pre-allocate on-disk space for this file. +func (p *FileWithCtxInterface) Allocate(ctx_ _bindings.Context, offset uint64, length uint64, mode AllocateMode) (FileAllocateResult, error) { + req_ := &FileAllocateRequest{Offset: offset, Length: length, Mode: mode} + resp_ := &FileAllocateResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(FileAllocateOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Enables verification for the file (permanently) which involves computing a merkle tree for +// the file. Forces a flush prior to building the merkle tree to ensure cached data is +// captured. Future reads will be verified against the computed merkle tree and writes will be +// rejected. This method can take some time to complete as it depends on the size of the file. +// This method can be aborted by closing the connection that this method was issued on. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +// Returns `ZX_ERR_NOT_SUPPORTED` if the filesystem does not support verity. +// Returns `ZX_ERR_ALREADY_EXISTS` if the file was already fsverity-enabled. +// Also returns any error that might arise from reading the file, or from flushing the file, +// such as `ZX_ERR_IO`. +func (p *FileWithCtxInterface) EnableVerity(ctx_ _bindings.Context, options VerificationOptions) (FileEnableVerityResult, error) { + req_ := &FileEnableVerityRequest{Options: options} + resp_ := &FileEnableVerityResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(FileEnableVerityOrdinal, req_, resp_) + return (*resp_), err_ } // A [`Node`] which contains a sequence of bytes of definite length. @@ -8749,6 +9301,24 @@ // * `ZX_ERR_ACCESS_DENIED` This connection does not have sufficient rights // to acquire the given type of lock. AdvisoryLock(ctx_ _bindings.Context, request AdvisoryLockRequest) (AdvisoryLockingAdvisoryLockResult, error) + // Creates a link to this this object with name `dst` in the directory represented by + // `dst_parent_token`. + // + // `dst` must be a resolved object name. Including "/" in the string will return + // `ZX_ERR_INVALID_ARGS`. + // + // This method requires the maximal set of rights supported by the filesystem for this object. + // For files this would typically be [`Rights.READ_BYTES`], [`Rights.WRITE_BYTES`], + // [`Rights.GET_ATTRIBUTES`] and [`Rights.UPDATE_ATTRIBUTES`]. Some filesystems might also + // support the [`Rights.EXECUTE`] right. Insufficient rights will result in + // `ZX_ERR_ACCESS_DENIED`. + // + // If this object has no links, it will fail with `ZX_ERR_NOT_FOUND`. + // + // This method does not have the same atomicity properties has the `Directory::Link` method, + // which means that calling `Open` then `LinkInto` is not equivalent to `Directory::Link` + // because `LinkInto` will not prevent the source from being renamed or unlinked. + LinkInto(ctx_ _bindings.Context, dstParentToken _zx.Event, dst string) (LinkableLinkIntoResult, error) // Create another connection to the same remote object. // // `flags` may be any of: @@ -8807,11 +9377,7 @@ Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) Query(ctx_ _bindings.Context) ([]uint8, error) // Creates another connection to the same node. - // - // + `object_request` is the server end of a channel created for the new - // connection. The caller may proceed to send messages on the - // corresponding client end right away. - Reopen(ctx_ _bindings.Context, rightsRequest *RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error + Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error // An event produced eagerly by the server if requested by // [`NodeFlags.GET_REPRESENTATION`]. This event will be the first message // from the server, and is sent exactly once. @@ -8865,6 +9431,36 @@ // // This method does not require any rights. Sync(ctx_ _bindings.Context) (Node2SyncResult, error) + // Creates an iterator over all the extended attribute names associated + // with this node. If an error occurs it is returned as an epitaph on the + // iterator request channel, and then the channel is closed. + // + // GetExtendedAttributes can be used with any of these names to retrieve + // the associated value. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error + // Get the value associated with the given attribute `name` for this node. + // + // Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No + // particular structure is imposed on them. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) + // Set the value for the given attribute `name` to `value` for this node. + // + // The attribute name may exist, in which case the attribute is updated. + // If the attribute doesn't exist, it is created. The name should have no + // null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) + // Remove the specified extended attribute. + // + // If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) // Reads up to 'count' bytes at the seek offset. // The seek offset is moved forward by the number of bytes read. // @@ -8968,7 +9564,7 @@ // // This method requires the [`Rights.WRITE_BYTES`] right. Resize(ctx_ _bindings.Context, length uint64) (FileResizeResult, error) - // Acquires a [`zx.handle:VMO`] representing this file, if there is one, + // Acquires a [`zx.Handle:VMO`] representing this file, if there is one, // with the requested access rights. // // Implementations are not required to implement files backed by VMOs so @@ -8980,8 +9576,8 @@ // implementation is free to choose the semantics of the returned VMO. // // + request `flags` a [`VmoFlags`] indicating the desired mode of access. - // - response `vmo` the requested [`zx.handle:VMO`]. - // * error a [`zx.status`] value indicating the failure. + // - response `vmo` the requested [`zx.Handle:VMO`]. + // * error a [`zx.Status`] value indicating the failure. // // This method requires the following rights: // @@ -8989,10 +9585,37 @@ // * [`Rights.WRITE_BYTES`] if `flags` includes [`VmoFlags.WRITE`]. // * [`Rights.EXECUTE`] if `flags` includes [`VmoFlags.EXECUTE`]. GetBackingMemory(ctx_ _bindings.Context, flags VmoFlags) (FileGetBackingMemoryResult, error) + // Pre-allocate on-disk space for this file. + Allocate(ctx_ _bindings.Context, offset uint64, length uint64, mode AllocateMode) (FileAllocateResult, error) + // Enables verification for the file (permanently) which involves computing a merkle tree for + // the file. Forces a flush prior to building the merkle tree to ensure cached data is + // captured. Future reads will be verified against the computed merkle tree and writes will be + // rejected. This method can take some time to complete as it depends on the size of the file. + // This method can be aborted by closing the connection that this method was issued on. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + // Returns `ZX_ERR_NOT_SUPPORTED` if the filesystem does not support verity. + // Returns `ZX_ERR_ALREADY_EXISTS` if the file was already fsverity-enabled. + // Also returns any error that might arise from reading the file, or from flushing the file, + // such as `ZX_ERR_IO`. + EnableVerity(ctx_ _bindings.Context, options VerificationOptions) (FileEnableVerityResult, error) } type FileWithCtxTransitionalBase struct{} +func (_ *FileWithCtxTransitionalBase) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + panic("Not Implemented") +} +func (_ *FileWithCtxTransitionalBase) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *FileWithCtxTransitionalBase) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *FileWithCtxTransitionalBase) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + panic("Not Implemented") +} + type FileWithCtxInterfaceRequest _bindings.InterfaceRequest func NewFileWithCtxInterfaceRequest() (FileWithCtxInterfaceRequest, *FileWithCtxInterface, error) { @@ -9007,7 +9630,7 @@ func (s_ *FileWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case FileAdvisoryLockOrdinal: - in_ := &fileWithCtxAdvisoryLockRequest{} + in_ := &AdvisoryLockingAdvisoryLockRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9015,11 +9638,23 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AdvisoryLock(args_.Ctx, (*in_).Request) - out_ := &fileWithCtxAdvisoryLockResponse{Result: result} + payload, err_ := s_.Impl.AdvisoryLock(args_.Ctx, (*in_).Request) + out_ := &payload + return out_, true, err_ + case FileLinkIntoOrdinal: + in_ := &LinkableLinkIntoRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.LinkInto(args_.Ctx, (*in_).DstParentToken, (*in_).Dst) + out_ := &payload return out_, true, err_ case FileCloneOrdinal: - in_ := &fileWithCtxCloneRequest{} + in_ := &Node1CloneRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9031,10 +9666,10 @@ return nil, false, err_ case FileGetAttrOrdinal: s, attributes, err_ := s_.Impl.GetAttr(args_.Ctx) - out_ := &fileWithCtxGetAttrResponse{S: s, Attributes: attributes} + out_ := &Node1GetAttrResponse{S: s, Attributes: attributes} return out_, true, err_ case FileSetAttrOrdinal: - in_ := &fileWithCtxSetAttrRequest{} + in_ := &Node1SetAttrRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9043,14 +9678,14 @@ return nil, false, err_ } s, err_ := s_.Impl.SetAttr(args_.Ctx, (*in_).Flags, (*in_).Attributes) - out_ := &fileWithCtxSetAttrResponse{S: s} + out_ := &Node1SetAttrResponse{S: s} return out_, true, err_ case FileGetFlagsOrdinal: s, flags, err_ := s_.Impl.GetFlags(args_.Ctx) - out_ := &fileWithCtxGetFlagsResponse{S: s, Flags: flags} + out_ := &Node1GetFlagsResponse{S: s, Flags: flags} return out_, true, err_ case FileSetFlagsOrdinal: - in_ := &fileWithCtxSetFlagsRequest{} + in_ := &Node1SetFlagsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9059,22 +9694,22 @@ return nil, false, err_ } s, err_ := s_.Impl.SetFlags(args_.Ctx, (*in_).Flags) - out_ := &fileWithCtxSetFlagsResponse{S: s} + out_ := &Node1SetFlagsResponse{S: s} return out_, true, err_ case FileQueryFilesystemOrdinal: s, info, err_ := s_.Impl.QueryFilesystem(args_.Ctx) - out_ := &fileWithCtxQueryFilesystemResponse{S: s, Info: info} + out_ := &Node1QueryFilesystemResponse{S: s, Info: info} return out_, true, err_ case FileCloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &fileWithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case FileQueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &fileWithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case FileReopenOrdinal: - in_ := &fileWithCtxReopenRequest{} + in_ := &Node2ReopenRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9089,7 +9724,7 @@ out_ := &payload return out_, true, err_ case FileGetAttributesOrdinal: - in_ := &fileWithCtxGetAttributesRequest{} + in_ := &Node2GetAttributesRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9097,8 +9732,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) - out_ := &fileWithCtxGetAttributesResponse{Result: result} + payload, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) + out_ := &payload return out_, true, err_ case FileUpdateAttributesOrdinal: in_ := &MutableNodeAttributes{} @@ -9109,15 +9744,62 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) - out_ := &fileWithCtxUpdateAttributesResponse{Result: result} + payload, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) + out_ := &payload return out_, true, err_ case FileSyncOrdinal: - result, err_ := s_.Impl.Sync(args_.Ctx) - out_ := &fileWithCtxSyncResponse{Result: result} + payload, err_ := s_.Impl.Sync(args_.Ctx) + out_ := &payload + return out_, true, err_ + case FileListExtendedAttributesOrdinal: + in_ := &Node2ListExtendedAttributesRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + err_ := s_.Impl.ListExtendedAttributes(args_.Ctx, (*in_).Iterator) + return nil, false, err_ + case FileGetExtendedAttributeOrdinal: + in_ := &Node2GetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.GetExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload + return out_, true, err_ + case FileSetExtendedAttributeOrdinal: + in_ := &Node2SetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetExtendedAttribute(args_.Ctx, (*in_).Name, (*in_).Value, (*in_).Mode) + out_ := &payload + return out_, true, err_ + case FileRemoveExtendedAttributeOrdinal: + in_ := &Node2RemoveExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.RemoveExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload return out_, true, err_ case FileReadOrdinal: - in_ := &fileWithCtxReadRequest{} + in_ := &ReadableReadRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9125,11 +9807,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Read(args_.Ctx, (*in_).Count) - out_ := &fileWithCtxReadResponse{Result: result} + payload, err_ := s_.Impl.Read(args_.Ctx, (*in_).Count) + out_ := &payload return out_, true, err_ case FileWriteOrdinal: - in_ := &fileWithCtxWriteRequest{} + in_ := &WritableWriteRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9137,15 +9819,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Write(args_.Ctx, (*in_).Data) - out_ := &fileWithCtxWriteResponse{Result: result} + payload, err_ := s_.Impl.Write(args_.Ctx, (*in_).Data) + out_ := &payload return out_, true, err_ case FileDescribeOrdinal: payload, err_ := s_.Impl.Describe(args_.Ctx) out_ := &payload return out_, true, err_ case FileSeekOrdinal: - in_ := &fileWithCtxSeekRequest{} + in_ := &FileSeekRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9153,11 +9835,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Seek(args_.Ctx, (*in_).Origin, (*in_).Offset) - out_ := &fileWithCtxSeekResponse{Result: result} + payload, err_ := s_.Impl.Seek(args_.Ctx, (*in_).Origin, (*in_).Offset) + out_ := &payload return out_, true, err_ case FileReadAtOrdinal: - in_ := &fileWithCtxReadAtRequest{} + in_ := &FileReadAtRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9165,11 +9847,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.ReadAt(args_.Ctx, (*in_).Count, (*in_).Offset) - out_ := &fileWithCtxReadAtResponse{Result: result} + payload, err_ := s_.Impl.ReadAt(args_.Ctx, (*in_).Count, (*in_).Offset) + out_ := &payload return out_, true, err_ case FileWriteAtOrdinal: - in_ := &fileWithCtxWriteAtRequest{} + in_ := &FileWriteAtRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9177,11 +9859,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.WriteAt(args_.Ctx, (*in_).Data, (*in_).Offset) - out_ := &fileWithCtxWriteAtResponse{Result: result} + payload, err_ := s_.Impl.WriteAt(args_.Ctx, (*in_).Data, (*in_).Offset) + out_ := &payload return out_, true, err_ case FileResizeOrdinal: - in_ := &fileWithCtxResizeRequest{} + in_ := &FileResizeRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9189,11 +9871,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Resize(args_.Ctx, (*in_).Length) - out_ := &fileWithCtxResizeResponse{Result: result} + payload, err_ := s_.Impl.Resize(args_.Ctx, (*in_).Length) + out_ := &payload return out_, true, err_ case FileGetBackingMemoryOrdinal: - in_ := &fileWithCtxGetBackingMemoryRequest{} + in_ := &FileGetBackingMemoryRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9201,8 +9883,32 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.GetBackingMemory(args_.Ctx, (*in_).Flags) - out_ := &fileWithCtxGetBackingMemoryResponse{Result: result} + payload, err_ := s_.Impl.GetBackingMemory(args_.Ctx, (*in_).Flags) + out_ := &payload + return out_, true, err_ + case FileAllocateOrdinal: + in_ := &FileAllocateRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.Allocate(args_.Ctx, (*in_).Offset, (*in_).Length, (*in_).Mode) + out_ := &payload + return out_, true, err_ + case FileEnableVerityOrdinal: + in_ := &FileEnableVerityRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.EnableVerity(args_.Ctx, (*in_).Options) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -9211,62 +9917,118 @@ type FileEventProxy _bindings.ChannelProxy func (p *FileEventProxy) OnOpen(s int32, info *NodeInfoDeprecated) error { - event_ := &fileWithCtxOnOpenResponse{S: s, Info: info} + event_ := &Node1OnOpenRequest{S: s, Info: info} return ((*_bindings.ChannelProxy)(p)).Send(FileOnOpenOrdinal, event_) } func (p *FileEventProxy) OnRepresentation(payload Representation) error { - event_ := &fileWithCtxOnRepresentationResponse{Payload: payload} + event_ := &payload return ((*_bindings.ChannelProxy)(p)).Send(FileOnRepresentationOrdinal, event_) } -type InotifierWithCtxInterface _bindings.ChannelProxy +const ( + LinkableLinkIntoOrdinal uint64 = 0x54f3949246a03e74 +) -// Inotifier implements the linux Inotify functionality. -// It provides a mechanism for monitoring filesystem -// events. Inotify can be used to monitor individual files, or to -// monitor directories. When a directory is monitored, inotify will -// return events for the directory itself, and for files inside the -// directory. -type InotifierWithCtx interface { +type LinkableWithCtxInterface _bindings.ChannelProxy + +// Creates a link to this this object with name `dst` in the directory represented by +// `dst_parent_token`. +// +// `dst` must be a resolved object name. Including "/" in the string will return +// `ZX_ERR_INVALID_ARGS`. +// +// This method requires the maximal set of rights supported by the filesystem for this object. +// For files this would typically be [`Rights.READ_BYTES`], [`Rights.WRITE_BYTES`], +// [`Rights.GET_ATTRIBUTES`] and [`Rights.UPDATE_ATTRIBUTES`]. Some filesystems might also +// support the [`Rights.EXECUTE`] right. Insufficient rights will result in +// `ZX_ERR_ACCESS_DENIED`. +// +// If this object has no links, it will fail with `ZX_ERR_NOT_FOUND`. +// +// This method does not have the same atomicity properties has the `Directory::Link` method, +// which means that calling `Open` then `LinkInto` is not equivalent to `Directory::Link` +// because `LinkInto` will not prevent the source from being renamed or unlinked. +func (p *LinkableWithCtxInterface) LinkInto(ctx_ _bindings.Context, dstParentToken _zx.Event, dst string) (LinkableLinkIntoResult, error) { + req_ := &LinkableLinkIntoRequest{DstParentToken: dstParentToken, Dst: dst} + resp_ := &LinkableLinkIntoResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(LinkableLinkIntoOrdinal, req_, resp_) + return (*resp_), err_ } -type InotifierWithCtxTransitionalBase struct{} +type LinkableWithCtx interface { + // Creates a link to this this object with name `dst` in the directory represented by + // `dst_parent_token`. + // + // `dst` must be a resolved object name. Including "/" in the string will return + // `ZX_ERR_INVALID_ARGS`. + // + // This method requires the maximal set of rights supported by the filesystem for this object. + // For files this would typically be [`Rights.READ_BYTES`], [`Rights.WRITE_BYTES`], + // [`Rights.GET_ATTRIBUTES`] and [`Rights.UPDATE_ATTRIBUTES`]. Some filesystems might also + // support the [`Rights.EXECUTE`] right. Insufficient rights will result in + // `ZX_ERR_ACCESS_DENIED`. + // + // If this object has no links, it will fail with `ZX_ERR_NOT_FOUND`. + // + // This method does not have the same atomicity properties has the `Directory::Link` method, + // which means that calling `Open` then `LinkInto` is not equivalent to `Directory::Link` + // because `LinkInto` will not prevent the source from being renamed or unlinked. + LinkInto(ctx_ _bindings.Context, dstParentToken _zx.Event, dst string) (LinkableLinkIntoResult, error) +} -type InotifierWithCtxInterfaceRequest _bindings.InterfaceRequest +type LinkableWithCtxTransitionalBase struct{} -func NewInotifierWithCtxInterfaceRequest() (InotifierWithCtxInterfaceRequest, *InotifierWithCtxInterface, error) { +type LinkableWithCtxInterfaceRequest _bindings.InterfaceRequest + +func NewLinkableWithCtxInterfaceRequest() (LinkableWithCtxInterfaceRequest, *LinkableWithCtxInterface, error) { req, cli, err := _bindings.NewInterfaceRequest() - return InotifierWithCtxInterfaceRequest(req), (*InotifierWithCtxInterface)(cli), err + return LinkableWithCtxInterfaceRequest(req), (*LinkableWithCtxInterface)(cli), err } -type InotifierWithCtxStub struct { - Impl InotifierWithCtx +type LinkableWithCtxStub struct { + Impl LinkableWithCtx } -func (s_ *InotifierWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { +func (s_ *LinkableWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { + case LinkableLinkIntoOrdinal: + in_ := &LinkableLinkIntoRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.LinkInto(args_.Ctx, (*in_).DstParentToken, (*in_).Dst) + out_ := &payload + return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal } -type InotifierEventProxy _bindings.ChannelProxy +type LinkableEventProxy _bindings.ChannelProxy const ( - NodeCloneOrdinal uint64 = 0x5a61678f293ce16f - NodeOnOpenOrdinal uint64 = 0x7fc7bbb1dbfd1972 - NodeGetAttrOrdinal uint64 = 0x78985e216314dafd - NodeSetAttrOrdinal uint64 = 0x4186c0f40d938f46 - NodeGetFlagsOrdinal uint64 = 0x5b88fffb8eda3aa1 - NodeSetFlagsOrdinal uint64 = 0x5295b76c71fde733 - NodeQueryFilesystemOrdinal uint64 = 0x6f344a1c6b0a0610 - NodeCloseOrdinal uint64 = 0x5ac5d459ad7f657e - NodeQueryOrdinal uint64 = 0x2658edee9decfc06 - NodeReopenOrdinal uint64 = 0x6a849ef281d2baa1 - NodeOnRepresentationOrdinal uint64 = 0x5cb40567d80a510c - NodeGetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b - NodeGetAttributesOrdinal uint64 = 0x3d4396a638ea053b - NodeUpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 - NodeSyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 + NodeCloneOrdinal uint64 = 0x5a61678f293ce16f + NodeOnOpenOrdinal uint64 = 0x7fc7bbb1dbfd1972 + NodeGetAttrOrdinal uint64 = 0x78985e216314dafd + NodeSetAttrOrdinal uint64 = 0x4186c0f40d938f46 + NodeGetFlagsOrdinal uint64 = 0x5b88fffb8eda3aa1 + NodeSetFlagsOrdinal uint64 = 0x5295b76c71fde733 + NodeQueryFilesystemOrdinal uint64 = 0x6f344a1c6b0a0610 + NodeCloseOrdinal uint64 = 0x5ac5d459ad7f657e + NodeQueryOrdinal uint64 = 0x2658edee9decfc06 + NodeReopenOrdinal uint64 = 0x6a849ef281d2baa1 + NodeOnRepresentationOrdinal uint64 = 0x5cb40567d80a510c + NodeGetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b + NodeGetAttributesOrdinal uint64 = 0x3d4396a638ea053b + NodeUpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 + NodeSyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 + NodeListExtendedAttributesOrdinal uint64 = 0x4b61033de007fcd0 + NodeGetExtendedAttributeOrdinal uint64 = 0x45ffa3ccfdeb76db + NodeSetExtendedAttributeOrdinal uint64 = 0x4a951362f681f23c + NodeRemoveExtendedAttributeOrdinal uint64 = 0x7a0b9f3a9bf9032d ) type NodeWithCtxInterface _bindings.ChannelProxy @@ -9290,7 +10052,7 @@ // It is invalid to pass any of the `OpenFlags.RIGHT_*` flags together with // `OpenFlags.CLONE_SAME_RIGHTS`. func (p *NodeWithCtxInterface) Clone(ctx_ _bindings.Context, flags OpenFlags, object NodeWithCtxInterfaceRequest) error { - req_ := &nodeWithCtxCloneRequest{Flags: flags, Object: object} + req_ := &Node1CloneRequest{Flags: flags, Object: object} err_ := ((*_bindings.ChannelProxy)(p)).Send(NodeCloneOrdinal, req_) return err_ } @@ -9301,7 +10063,7 @@ // object. If the status is `ZX_OK`, `info` contains descriptive information about the object // (the same as would be returned by `Describe`). func (p *NodeWithCtxInterface) ExpectOnOpen(ctx_ _bindings.Context) (int32, *NodeInfoDeprecated, error) { - resp_ := &nodeWithCtxOnOpenResponse{} + resp_ := &Node1OnOpenRequest{} err_ := ((*_bindings.ChannelProxy)(p)).Recv(NodeOnOpenOrdinal, resp_) return (*resp_).S, (*resp_).Info, err_ } @@ -9311,7 +10073,7 @@ // This method does not require any rights. func (p *NodeWithCtxInterface) GetAttr(ctx_ _bindings.Context) (int32, NodeAttributes, error) { var req_ _bindings.Message - resp_ := &nodeWithCtxGetAttrResponse{} + resp_ := &Node1GetAttrResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeGetAttrOrdinal, req_, resp_) return (*resp_).S, (*resp_).Attributes, err_ } @@ -9321,8 +10083,8 @@ // This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns // `ZX_ERR_BAD_HANDLE`. func (p *NodeWithCtxInterface) SetAttr(ctx_ _bindings.Context, flags NodeAttributeFlags, attributes NodeAttributes) (int32, error) { - req_ := &nodeWithCtxSetAttrRequest{Flags: flags, Attributes: attributes} - resp_ := &nodeWithCtxSetAttrResponse{} + req_ := &Node1SetAttrRequest{Flags: flags, Attributes: attributes} + resp_ := &Node1SetAttrResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeSetAttrOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -9332,7 +10094,7 @@ // This method does not require any rights. func (p *NodeWithCtxInterface) GetFlags(ctx_ _bindings.Context) (int32, OpenFlags, error) { var req_ _bindings.Message - resp_ := &nodeWithCtxGetFlagsResponse{} + resp_ := &Node1GetFlagsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeGetFlagsOrdinal, req_, resp_) return (*resp_).S, (*resp_).Flags, err_ } @@ -9343,8 +10105,8 @@ // // This method does not require any rights. func (p *NodeWithCtxInterface) SetFlags(ctx_ _bindings.Context, flags OpenFlags) (int32, error) { - req_ := &nodeWithCtxSetFlagsRequest{Flags: flags} - resp_ := &nodeWithCtxSetFlagsResponse{} + req_ := &Node1SetFlagsRequest{Flags: flags} + resp_ := &Node1SetFlagsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeSetFlagsOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -9352,7 +10114,7 @@ // Query the filesystem for filesystem-specific information. func (p *NodeWithCtxInterface) QueryFilesystem(ctx_ _bindings.Context) (int32, *FilesystemInfo, error) { var req_ _bindings.Message - resp_ := &nodeWithCtxQueryFilesystemResponse{} + resp_ := &Node1QueryFilesystemResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeQueryFilesystemOrdinal, req_, resp_) return (*resp_).S, (*resp_).Info, err_ } @@ -9369,25 +10131,21 @@ // status. func (p *NodeWithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &nodeWithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeCloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *NodeWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &nodeWithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeQueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Creates another connection to the same node. -// -// - `object_request` is the server end of a channel created for the new -// connection. The caller may proceed to send messages on the -// corresponding client end right away. -func (p *NodeWithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest *RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { - req_ := &nodeWithCtxReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} +func (p *NodeWithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { + req_ := &Node2ReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} err_ := ((*_bindings.ChannelProxy)(p)).Send(NodeReopenOrdinal, req_) return err_ } @@ -9411,9 +10169,9 @@ // inherent `Describe` methods on the specific protocols. It exists as // an optimization to avoid an additional round trip. func (p *NodeWithCtxInterface) ExpectOnRepresentation(ctx_ _bindings.Context) (Representation, error) { - resp_ := &nodeWithCtxOnRepresentationResponse{} + resp_ := &Representation{} err_ := ((*_bindings.ChannelProxy)(p)).Recv(NodeOnRepresentationOrdinal, resp_) - return (*resp_).Payload, err_ + return (*resp_), err_ } // Acquires information about the connection. @@ -9440,10 +10198,10 @@ // // This method requires the [`Rights.GET_ATTRIBUTES`] right. func (p *NodeWithCtxInterface) GetAttributes(ctx_ _bindings.Context, query NodeAttributesQuery) (Node2GetAttributesResult, error) { - req_ := &nodeWithCtxGetAttributesRequest{Query: query} - resp_ := &nodeWithCtxGetAttributesResponse{} + req_ := &Node2GetAttributesRequest{Query: query} + resp_ := &Node2GetAttributesResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeGetAttributesOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Updates information about the node. @@ -9454,9 +10212,9 @@ // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. func (p *NodeWithCtxInterface) UpdateAttributes(ctx_ _bindings.Context, payload MutableNodeAttributes) (Node2UpdateAttributesResult, error) { req_ := &payload - resp_ := &nodeWithCtxUpdateAttributesResponse{} + resp_ := &Node2UpdateAttributesResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeUpdateAttributesOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Synchronizes updates to the node to the underlying media, if it exists. @@ -9470,9 +10228,62 @@ // This method does not require any rights. func (p *NodeWithCtxInterface) Sync(ctx_ _bindings.Context) (Node2SyncResult, error) { var req_ _bindings.Message - resp_ := &nodeWithCtxSyncResponse{} + resp_ := &Node2SyncResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeSyncOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Creates an iterator over all the extended attribute names associated +// with this node. If an error occurs it is returned as an epitaph on the +// iterator request channel, and then the channel is closed. +// +// GetExtendedAttributes can be used with any of these names to retrieve +// the associated value. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *NodeWithCtxInterface) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + req_ := &Node2ListExtendedAttributesRequest{Iterator: iterator} + err_ := ((*_bindings.ChannelProxy)(p)).Send(NodeListExtendedAttributesOrdinal, req_) + return err_ +} + +// Get the value associated with the given attribute `name` for this node. +// +// Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No +// particular structure is imposed on them. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *NodeWithCtxInterface) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + req_ := &Node2GetExtendedAttributeRequest{Name: name} + resp_ := &Node2GetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeGetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set the value for the given attribute `name` to `value` for this node. +// +// The attribute name may exist, in which case the attribute is updated. +// If the attribute doesn't exist, it is created. The name should have no +// null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *NodeWithCtxInterface) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + req_ := &Node2SetExtendedAttributeRequest{Name: name, Value: value, Mode: mode} + resp_ := &Node2SetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeSetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Remove the specified extended attribute. +// +// If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *NodeWithCtxInterface) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + req_ := &Node2RemoveExtendedAttributeRequest{Name: name} + resp_ := &Node2RemoveExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(NodeRemoveExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ } type NodeWithCtx interface { @@ -9534,11 +10345,7 @@ Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) Query(ctx_ _bindings.Context) ([]uint8, error) // Creates another connection to the same node. - // - // + `object_request` is the server end of a channel created for the new - // connection. The caller may proceed to send messages on the - // corresponding client end right away. - Reopen(ctx_ _bindings.Context, rightsRequest *RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error + Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error // An event produced eagerly by the server if requested by // [`NodeFlags.GET_REPRESENTATION`]. This event will be the first message // from the server, and is sent exactly once. @@ -9592,10 +10399,53 @@ // // This method does not require any rights. Sync(ctx_ _bindings.Context) (Node2SyncResult, error) + // Creates an iterator over all the extended attribute names associated + // with this node. If an error occurs it is returned as an epitaph on the + // iterator request channel, and then the channel is closed. + // + // GetExtendedAttributes can be used with any of these names to retrieve + // the associated value. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error + // Get the value associated with the given attribute `name` for this node. + // + // Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No + // particular structure is imposed on them. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) + // Set the value for the given attribute `name` to `value` for this node. + // + // The attribute name may exist, in which case the attribute is updated. + // If the attribute doesn't exist, it is created. The name should have no + // null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) + // Remove the specified extended attribute. + // + // If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) } type NodeWithCtxTransitionalBase struct{} +func (_ *NodeWithCtxTransitionalBase) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + panic("Not Implemented") +} +func (_ *NodeWithCtxTransitionalBase) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *NodeWithCtxTransitionalBase) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *NodeWithCtxTransitionalBase) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + panic("Not Implemented") +} + type NodeWithCtxInterfaceRequest _bindings.InterfaceRequest func NewNodeWithCtxInterfaceRequest() (NodeWithCtxInterfaceRequest, *NodeWithCtxInterface, error) { @@ -9610,7 +10460,7 @@ func (s_ *NodeWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case NodeCloneOrdinal: - in_ := &nodeWithCtxCloneRequest{} + in_ := &Node1CloneRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9622,10 +10472,10 @@ return nil, false, err_ case NodeGetAttrOrdinal: s, attributes, err_ := s_.Impl.GetAttr(args_.Ctx) - out_ := &nodeWithCtxGetAttrResponse{S: s, Attributes: attributes} + out_ := &Node1GetAttrResponse{S: s, Attributes: attributes} return out_, true, err_ case NodeSetAttrOrdinal: - in_ := &nodeWithCtxSetAttrRequest{} + in_ := &Node1SetAttrRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9634,14 +10484,14 @@ return nil, false, err_ } s, err_ := s_.Impl.SetAttr(args_.Ctx, (*in_).Flags, (*in_).Attributes) - out_ := &nodeWithCtxSetAttrResponse{S: s} + out_ := &Node1SetAttrResponse{S: s} return out_, true, err_ case NodeGetFlagsOrdinal: s, flags, err_ := s_.Impl.GetFlags(args_.Ctx) - out_ := &nodeWithCtxGetFlagsResponse{S: s, Flags: flags} + out_ := &Node1GetFlagsResponse{S: s, Flags: flags} return out_, true, err_ case NodeSetFlagsOrdinal: - in_ := &nodeWithCtxSetFlagsRequest{} + in_ := &Node1SetFlagsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9650,22 +10500,22 @@ return nil, false, err_ } s, err_ := s_.Impl.SetFlags(args_.Ctx, (*in_).Flags) - out_ := &nodeWithCtxSetFlagsResponse{S: s} + out_ := &Node1SetFlagsResponse{S: s} return out_, true, err_ case NodeQueryFilesystemOrdinal: s, info, err_ := s_.Impl.QueryFilesystem(args_.Ctx) - out_ := &nodeWithCtxQueryFilesystemResponse{S: s, Info: info} + out_ := &Node1QueryFilesystemResponse{S: s, Info: info} return out_, true, err_ case NodeCloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &nodeWithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case NodeQueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &nodeWithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case NodeReopenOrdinal: - in_ := &nodeWithCtxReopenRequest{} + in_ := &Node2ReopenRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9680,7 +10530,7 @@ out_ := &payload return out_, true, err_ case NodeGetAttributesOrdinal: - in_ := &nodeWithCtxGetAttributesRequest{} + in_ := &Node2GetAttributesRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9688,8 +10538,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) - out_ := &nodeWithCtxGetAttributesResponse{Result: result} + payload, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) + out_ := &payload return out_, true, err_ case NodeUpdateAttributesOrdinal: in_ := &MutableNodeAttributes{} @@ -9700,12 +10550,59 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) - out_ := &nodeWithCtxUpdateAttributesResponse{Result: result} + payload, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) + out_ := &payload return out_, true, err_ case NodeSyncOrdinal: - result, err_ := s_.Impl.Sync(args_.Ctx) - out_ := &nodeWithCtxSyncResponse{Result: result} + payload, err_ := s_.Impl.Sync(args_.Ctx) + out_ := &payload + return out_, true, err_ + case NodeListExtendedAttributesOrdinal: + in_ := &Node2ListExtendedAttributesRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + err_ := s_.Impl.ListExtendedAttributes(args_.Ctx, (*in_).Iterator) + return nil, false, err_ + case NodeGetExtendedAttributeOrdinal: + in_ := &Node2GetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.GetExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload + return out_, true, err_ + case NodeSetExtendedAttributeOrdinal: + in_ := &Node2SetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetExtendedAttribute(args_.Ctx, (*in_).Name, (*in_).Value, (*in_).Mode) + out_ := &payload + return out_, true, err_ + case NodeRemoveExtendedAttributeOrdinal: + in_ := &Node2RemoveExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.RemoveExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -9714,11 +10611,11 @@ type NodeEventProxy _bindings.ChannelProxy func (p *NodeEventProxy) OnOpen(s int32, info *NodeInfoDeprecated) error { - event_ := &nodeWithCtxOnOpenResponse{S: s, Info: info} + event_ := &Node1OnOpenRequest{S: s, Info: info} return ((*_bindings.ChannelProxy)(p)).Send(NodeOnOpenOrdinal, event_) } func (p *NodeEventProxy) OnRepresentation(payload Representation) error { - event_ := &nodeWithCtxOnRepresentationResponse{Payload: payload} + event_ := &payload return ((*_bindings.ChannelProxy)(p)).Send(NodeOnRepresentationOrdinal, event_) } @@ -9753,7 +10650,7 @@ // It is invalid to pass any of the `OpenFlags.RIGHT_*` flags together with // `OpenFlags.CLONE_SAME_RIGHTS`. func (p *Node1WithCtxInterface) Clone(ctx_ _bindings.Context, flags OpenFlags, object NodeWithCtxInterfaceRequest) error { - req_ := &node1WithCtxCloneRequest{Flags: flags, Object: object} + req_ := &Node1CloneRequest{Flags: flags, Object: object} err_ := ((*_bindings.ChannelProxy)(p)).Send(Node1CloneOrdinal, req_) return err_ } @@ -9764,7 +10661,7 @@ // object. If the status is `ZX_OK`, `info` contains descriptive information about the object // (the same as would be returned by `Describe`). func (p *Node1WithCtxInterface) ExpectOnOpen(ctx_ _bindings.Context) (int32, *NodeInfoDeprecated, error) { - resp_ := &node1WithCtxOnOpenResponse{} + resp_ := &Node1OnOpenRequest{} err_ := ((*_bindings.ChannelProxy)(p)).Recv(Node1OnOpenOrdinal, resp_) return (*resp_).S, (*resp_).Info, err_ } @@ -9774,7 +10671,7 @@ // This method does not require any rights. func (p *Node1WithCtxInterface) GetAttr(ctx_ _bindings.Context) (int32, NodeAttributes, error) { var req_ _bindings.Message - resp_ := &node1WithCtxGetAttrResponse{} + resp_ := &Node1GetAttrResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Node1GetAttrOrdinal, req_, resp_) return (*resp_).S, (*resp_).Attributes, err_ } @@ -9784,8 +10681,8 @@ // This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns // `ZX_ERR_BAD_HANDLE`. func (p *Node1WithCtxInterface) SetAttr(ctx_ _bindings.Context, flags NodeAttributeFlags, attributes NodeAttributes) (int32, error) { - req_ := &node1WithCtxSetAttrRequest{Flags: flags, Attributes: attributes} - resp_ := &node1WithCtxSetAttrResponse{} + req_ := &Node1SetAttrRequest{Flags: flags, Attributes: attributes} + resp_ := &Node1SetAttrResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Node1SetAttrOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -9795,7 +10692,7 @@ // This method does not require any rights. func (p *Node1WithCtxInterface) GetFlags(ctx_ _bindings.Context) (int32, OpenFlags, error) { var req_ _bindings.Message - resp_ := &node1WithCtxGetFlagsResponse{} + resp_ := &Node1GetFlagsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Node1GetFlagsOrdinal, req_, resp_) return (*resp_).S, (*resp_).Flags, err_ } @@ -9806,8 +10703,8 @@ // // This method does not require any rights. func (p *Node1WithCtxInterface) SetFlags(ctx_ _bindings.Context, flags OpenFlags) (int32, error) { - req_ := &node1WithCtxSetFlagsRequest{Flags: flags} - resp_ := &node1WithCtxSetFlagsResponse{} + req_ := &Node1SetFlagsRequest{Flags: flags} + resp_ := &Node1SetFlagsResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Node1SetFlagsOrdinal, req_, resp_) return (*resp_).S, err_ } @@ -9815,7 +10712,7 @@ // Query the filesystem for filesystem-specific information. func (p *Node1WithCtxInterface) QueryFilesystem(ctx_ _bindings.Context) (int32, *FilesystemInfo, error) { var req_ _bindings.Message - resp_ := &node1WithCtxQueryFilesystemResponse{} + resp_ := &Node1QueryFilesystemResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Node1QueryFilesystemOrdinal, req_, resp_) return (*resp_).S, (*resp_).Info, err_ } @@ -9885,7 +10782,7 @@ func (s_ *Node1WithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case Node1CloneOrdinal: - in_ := &node1WithCtxCloneRequest{} + in_ := &Node1CloneRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9897,10 +10794,10 @@ return nil, false, err_ case Node1GetAttrOrdinal: s, attributes, err_ := s_.Impl.GetAttr(args_.Ctx) - out_ := &node1WithCtxGetAttrResponse{S: s, Attributes: attributes} + out_ := &Node1GetAttrResponse{S: s, Attributes: attributes} return out_, true, err_ case Node1SetAttrOrdinal: - in_ := &node1WithCtxSetAttrRequest{} + in_ := &Node1SetAttrRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9909,14 +10806,14 @@ return nil, false, err_ } s, err_ := s_.Impl.SetAttr(args_.Ctx, (*in_).Flags, (*in_).Attributes) - out_ := &node1WithCtxSetAttrResponse{S: s} + out_ := &Node1SetAttrResponse{S: s} return out_, true, err_ case Node1GetFlagsOrdinal: s, flags, err_ := s_.Impl.GetFlags(args_.Ctx) - out_ := &node1WithCtxGetFlagsResponse{S: s, Flags: flags} + out_ := &Node1GetFlagsResponse{S: s, Flags: flags} return out_, true, err_ case Node1SetFlagsOrdinal: - in_ := &node1WithCtxSetFlagsRequest{} + in_ := &Node1SetFlagsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -9925,11 +10822,11 @@ return nil, false, err_ } s, err_ := s_.Impl.SetFlags(args_.Ctx, (*in_).Flags) - out_ := &node1WithCtxSetFlagsResponse{S: s} + out_ := &Node1SetFlagsResponse{S: s} return out_, true, err_ case Node1QueryFilesystemOrdinal: s, info, err_ := s_.Impl.QueryFilesystem(args_.Ctx) - out_ := &node1WithCtxQueryFilesystemResponse{S: s, Info: info} + out_ := &Node1QueryFilesystemResponse{S: s, Info: info} return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -9938,19 +10835,23 @@ type Node1EventProxy _bindings.ChannelProxy func (p *Node1EventProxy) OnOpen(s int32, info *NodeInfoDeprecated) error { - event_ := &node1WithCtxOnOpenResponse{S: s, Info: info} + event_ := &Node1OnOpenRequest{S: s, Info: info} return ((*_bindings.ChannelProxy)(p)).Send(Node1OnOpenOrdinal, event_) } const ( - Node2CloseOrdinal uint64 = 0x5ac5d459ad7f657e - Node2QueryOrdinal uint64 = 0x2658edee9decfc06 - Node2ReopenOrdinal uint64 = 0x6a849ef281d2baa1 - Node2OnRepresentationOrdinal uint64 = 0x5cb40567d80a510c - Node2GetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b - Node2GetAttributesOrdinal uint64 = 0x3d4396a638ea053b - Node2UpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 - Node2SyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 + Node2CloseOrdinal uint64 = 0x5ac5d459ad7f657e + Node2QueryOrdinal uint64 = 0x2658edee9decfc06 + Node2ReopenOrdinal uint64 = 0x6a849ef281d2baa1 + Node2OnRepresentationOrdinal uint64 = 0x5cb40567d80a510c + Node2GetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b + Node2GetAttributesOrdinal uint64 = 0x3d4396a638ea053b + Node2UpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 + Node2SyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 + Node2ListExtendedAttributesOrdinal uint64 = 0x4b61033de007fcd0 + Node2GetExtendedAttributeOrdinal uint64 = 0x45ffa3ccfdeb76db + Node2SetExtendedAttributeOrdinal uint64 = 0x4a951362f681f23c + Node2RemoveExtendedAttributeOrdinal uint64 = 0x7a0b9f3a9bf9032d ) type Node2WithCtxInterface _bindings.ChannelProxy @@ -9967,25 +10868,21 @@ // status. func (p *Node2WithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &node2WithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Node2CloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *Node2WithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &node2WithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Node2QueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Creates another connection to the same node. -// -// - `object_request` is the server end of a channel created for the new -// connection. The caller may proceed to send messages on the -// corresponding client end right away. -func (p *Node2WithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest *RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { - req_ := &node2WithCtxReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} +func (p *Node2WithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { + req_ := &Node2ReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} err_ := ((*_bindings.ChannelProxy)(p)).Send(Node2ReopenOrdinal, req_) return err_ } @@ -10009,9 +10906,9 @@ // inherent `Describe` methods on the specific protocols. It exists as // an optimization to avoid an additional round trip. func (p *Node2WithCtxInterface) ExpectOnRepresentation(ctx_ _bindings.Context) (Representation, error) { - resp_ := &node2WithCtxOnRepresentationResponse{} + resp_ := &Representation{} err_ := ((*_bindings.ChannelProxy)(p)).Recv(Node2OnRepresentationOrdinal, resp_) - return (*resp_).Payload, err_ + return (*resp_), err_ } // Acquires information about the connection. @@ -10038,10 +10935,10 @@ // // This method requires the [`Rights.GET_ATTRIBUTES`] right. func (p *Node2WithCtxInterface) GetAttributes(ctx_ _bindings.Context, query NodeAttributesQuery) (Node2GetAttributesResult, error) { - req_ := &node2WithCtxGetAttributesRequest{Query: query} - resp_ := &node2WithCtxGetAttributesResponse{} + req_ := &Node2GetAttributesRequest{Query: query} + resp_ := &Node2GetAttributesResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Node2GetAttributesOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Updates information about the node. @@ -10052,9 +10949,9 @@ // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. func (p *Node2WithCtxInterface) UpdateAttributes(ctx_ _bindings.Context, payload MutableNodeAttributes) (Node2UpdateAttributesResult, error) { req_ := &payload - resp_ := &node2WithCtxUpdateAttributesResponse{} + resp_ := &Node2UpdateAttributesResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Node2UpdateAttributesOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Synchronizes updates to the node to the underlying media, if it exists. @@ -10068,9 +10965,62 @@ // This method does not require any rights. func (p *Node2WithCtxInterface) Sync(ctx_ _bindings.Context) (Node2SyncResult, error) { var req_ _bindings.Message - resp_ := &node2WithCtxSyncResponse{} + resp_ := &Node2SyncResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(Node2SyncOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Creates an iterator over all the extended attribute names associated +// with this node. If an error occurs it is returned as an epitaph on the +// iterator request channel, and then the channel is closed. +// +// GetExtendedAttributes can be used with any of these names to retrieve +// the associated value. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *Node2WithCtxInterface) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + req_ := &Node2ListExtendedAttributesRequest{Iterator: iterator} + err_ := ((*_bindings.ChannelProxy)(p)).Send(Node2ListExtendedAttributesOrdinal, req_) + return err_ +} + +// Get the value associated with the given attribute `name` for this node. +// +// Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No +// particular structure is imposed on them. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *Node2WithCtxInterface) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + req_ := &Node2GetExtendedAttributeRequest{Name: name} + resp_ := &Node2GetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(Node2GetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set the value for the given attribute `name` to `value` for this node. +// +// The attribute name may exist, in which case the attribute is updated. +// If the attribute doesn't exist, it is created. The name should have no +// null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *Node2WithCtxInterface) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + req_ := &Node2SetExtendedAttributeRequest{Name: name, Value: value, Mode: mode} + resp_ := &Node2SetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(Node2SetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Remove the specified extended attribute. +// +// If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *Node2WithCtxInterface) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + req_ := &Node2RemoveExtendedAttributeRequest{Name: name} + resp_ := &Node2RemoveExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(Node2RemoveExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ } // Node defines the minimal protocol for entities which can be accessed @@ -10089,11 +11039,7 @@ Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) Query(ctx_ _bindings.Context) ([]uint8, error) // Creates another connection to the same node. - // - // + `object_request` is the server end of a channel created for the new - // connection. The caller may proceed to send messages on the - // corresponding client end right away. - Reopen(ctx_ _bindings.Context, rightsRequest *RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error + Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error // An event produced eagerly by the server if requested by // [`NodeFlags.GET_REPRESENTATION`]. This event will be the first message // from the server, and is sent exactly once. @@ -10147,10 +11093,53 @@ // // This method does not require any rights. Sync(ctx_ _bindings.Context) (Node2SyncResult, error) + // Creates an iterator over all the extended attribute names associated + // with this node. If an error occurs it is returned as an epitaph on the + // iterator request channel, and then the channel is closed. + // + // GetExtendedAttributes can be used with any of these names to retrieve + // the associated value. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error + // Get the value associated with the given attribute `name` for this node. + // + // Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No + // particular structure is imposed on them. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) + // Set the value for the given attribute `name` to `value` for this node. + // + // The attribute name may exist, in which case the attribute is updated. + // If the attribute doesn't exist, it is created. The name should have no + // null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) + // Remove the specified extended attribute. + // + // If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) } type Node2WithCtxTransitionalBase struct{} +func (_ *Node2WithCtxTransitionalBase) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + panic("Not Implemented") +} +func (_ *Node2WithCtxTransitionalBase) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *Node2WithCtxTransitionalBase) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *Node2WithCtxTransitionalBase) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + panic("Not Implemented") +} + type Node2WithCtxInterfaceRequest _bindings.InterfaceRequest func NewNode2WithCtxInterfaceRequest() (Node2WithCtxInterfaceRequest, *Node2WithCtxInterface, error) { @@ -10165,15 +11154,15 @@ func (s_ *Node2WithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case Node2CloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &node2WithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case Node2QueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &node2WithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case Node2ReopenOrdinal: - in_ := &node2WithCtxReopenRequest{} + in_ := &Node2ReopenRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -10188,7 +11177,7 @@ out_ := &payload return out_, true, err_ case Node2GetAttributesOrdinal: - in_ := &node2WithCtxGetAttributesRequest{} + in_ := &Node2GetAttributesRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -10196,8 +11185,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) - out_ := &node2WithCtxGetAttributesResponse{Result: result} + payload, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) + out_ := &payload return out_, true, err_ case Node2UpdateAttributesOrdinal: in_ := &MutableNodeAttributes{} @@ -10208,12 +11197,59 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) - out_ := &node2WithCtxUpdateAttributesResponse{Result: result} + payload, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) + out_ := &payload return out_, true, err_ case Node2SyncOrdinal: - result, err_ := s_.Impl.Sync(args_.Ctx) - out_ := &node2WithCtxSyncResponse{Result: result} + payload, err_ := s_.Impl.Sync(args_.Ctx) + out_ := &payload + return out_, true, err_ + case Node2ListExtendedAttributesOrdinal: + in_ := &Node2ListExtendedAttributesRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + err_ := s_.Impl.ListExtendedAttributes(args_.Ctx, (*in_).Iterator) + return nil, false, err_ + case Node2GetExtendedAttributeOrdinal: + in_ := &Node2GetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.GetExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload + return out_, true, err_ + case Node2SetExtendedAttributeOrdinal: + in_ := &Node2SetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetExtendedAttribute(args_.Ctx, (*in_).Name, (*in_).Value, (*in_).Mode) + out_ := &payload + return out_, true, err_ + case Node2RemoveExtendedAttributeOrdinal: + in_ := &Node2RemoveExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.RemoveExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -10222,7 +11258,7 @@ type Node2EventProxy _bindings.ChannelProxy func (p *Node2EventProxy) OnRepresentation(payload Representation) error { - event_ := &node2WithCtxOnRepresentationResponse{Payload: payload} + event_ := &payload return ((*_bindings.ChannelProxy)(p)).Send(Node2OnRepresentationOrdinal, event_) } @@ -10252,7 +11288,7 @@ // // `mode` is ignored. func (p *OpenableWithCtxInterface) Open(ctx_ _bindings.Context, flags OpenFlags, mode ModeType, path string, object NodeWithCtxInterfaceRequest) error { - req_ := &openableWithCtxOpenRequest{Flags: flags, Mode: mode, Path: path, Object: object} + req_ := &OpenableOpenRequest{Flags: flags, Mode: mode, Path: path, Object: object} err_ := ((*_bindings.ChannelProxy)(p)).Send(OpenableOpenOrdinal, req_) return err_ } @@ -10296,7 +11332,7 @@ func (s_ *OpenableWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case OpenableOpenOrdinal: - in_ := &openableWithCtxOpenRequest{} + in_ := &OpenableOpenRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -10337,10 +11373,10 @@ // // Returns `ZX_ERR_OUT_OF_RANGE` if `count` is greater than `MAX_TRANSFER_SIZE`. func (p *ReadableWithCtxInterface) Read(ctx_ _bindings.Context, count uint64) (ReadableReadResult, error) { - req_ := &readableWithCtxReadRequest{Count: count} - resp_ := &readableWithCtxReadResponse{} + req_ := &ReadableReadRequest{Count: count} + resp_ := &ReadableReadResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(ReadableReadOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } type ReadableWithCtx interface { @@ -10381,7 +11417,7 @@ func (s_ *ReadableWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case ReadableReadOrdinal: - in_ := &readableWithCtxReadRequest{} + in_ := &ReadableReadRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -10389,8 +11425,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Read(args_.Ctx, (*in_).Count) - out_ := &readableWithCtxReadResponse{Result: result} + payload, err_ := s_.Impl.Read(args_.Ctx, (*in_).Count) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -10399,6 +11435,685 @@ type ReadableEventProxy _bindings.ChannelProxy const ( + SymlinkLinkIntoOrdinal uint64 = 0x54f3949246a03e74 + SymlinkCloneOrdinal uint64 = 0x5a61678f293ce16f + SymlinkOnOpenOrdinal uint64 = 0x7fc7bbb1dbfd1972 + SymlinkGetAttrOrdinal uint64 = 0x78985e216314dafd + SymlinkSetAttrOrdinal uint64 = 0x4186c0f40d938f46 + SymlinkGetFlagsOrdinal uint64 = 0x5b88fffb8eda3aa1 + SymlinkSetFlagsOrdinal uint64 = 0x5295b76c71fde733 + SymlinkQueryFilesystemOrdinal uint64 = 0x6f344a1c6b0a0610 + SymlinkCloseOrdinal uint64 = 0x5ac5d459ad7f657e + SymlinkQueryOrdinal uint64 = 0x2658edee9decfc06 + SymlinkReopenOrdinal uint64 = 0x6a849ef281d2baa1 + SymlinkOnRepresentationOrdinal uint64 = 0x5cb40567d80a510c + SymlinkGetConnectionInfoOrdinal uint64 = 0x584c377c7c0a6d0b + SymlinkGetAttributesOrdinal uint64 = 0x3d4396a638ea053b + SymlinkUpdateAttributesOrdinal uint64 = 0x3308c1da5a89bf08 + SymlinkSyncOrdinal uint64 = 0x2c5c27ca0ab5dc49 + SymlinkListExtendedAttributesOrdinal uint64 = 0x4b61033de007fcd0 + SymlinkGetExtendedAttributeOrdinal uint64 = 0x45ffa3ccfdeb76db + SymlinkSetExtendedAttributeOrdinal uint64 = 0x4a951362f681f23c + SymlinkRemoveExtendedAttributeOrdinal uint64 = 0x7a0b9f3a9bf9032d + SymlinkDescribeOrdinal uint64 = 0x742c2ea5e89831f3 +) + +type SymlinkWithCtxInterface _bindings.ChannelProxy + +// Creates a link to this this object with name `dst` in the directory represented by +// `dst_parent_token`. +// +// `dst` must be a resolved object name. Including "/" in the string will return +// `ZX_ERR_INVALID_ARGS`. +// +// This method requires the maximal set of rights supported by the filesystem for this object. +// For files this would typically be [`Rights.READ_BYTES`], [`Rights.WRITE_BYTES`], +// [`Rights.GET_ATTRIBUTES`] and [`Rights.UPDATE_ATTRIBUTES`]. Some filesystems might also +// support the [`Rights.EXECUTE`] right. Insufficient rights will result in +// `ZX_ERR_ACCESS_DENIED`. +// +// If this object has no links, it will fail with `ZX_ERR_NOT_FOUND`. +// +// This method does not have the same atomicity properties has the `Directory::Link` method, +// which means that calling `Open` then `LinkInto` is not equivalent to `Directory::Link` +// because `LinkInto` will not prevent the source from being renamed or unlinked. +func (p *SymlinkWithCtxInterface) LinkInto(ctx_ _bindings.Context, dstParentToken _zx.Event, dst string) (LinkableLinkIntoResult, error) { + req_ := &LinkableLinkIntoRequest{DstParentToken: dstParentToken, Dst: dst} + resp_ := &LinkableLinkIntoResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkLinkIntoOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Create another connection to the same remote object. +// +// `flags` may be any of: +// +// - `OpenFlags.RIGHT_*` +// - `OpenFlags.APPEND` +// - `OpenFlags.DESCRIBE` +// - `OpenFlags.CLONE_SAME_RIGHTS` +// +// All other flags are ignored. +// +// The `OpenFlags.RIGHT_*` bits in `flags` request corresponding rights over the resulting +// cloned object. +// The cloned object must have rights less than or equal to the original object, otherwise +// returns `ZX_ERR_ACCESS_DENIED`. +// Alternatively, pass `OpenFlags.CLONE_SAME_RIGHTS` to inherit the rights on the source connection. +// It is invalid to pass any of the `OpenFlags.RIGHT_*` flags together with +// `OpenFlags.CLONE_SAME_RIGHTS`. +func (p *SymlinkWithCtxInterface) Clone(ctx_ _bindings.Context, flags OpenFlags, object NodeWithCtxInterfaceRequest) error { + req_ := &Node1CloneRequest{Flags: flags, Object: object} + err_ := ((*_bindings.ChannelProxy)(p)).Send(SymlinkCloneOrdinal, req_) + return err_ +} + +// An event produced eagerly by a FIDL server if requested by `OpenFlags.DESCRIBE`. +// +// Indicates the success or failure of the open operation, and optionally describes the +// object. If the status is `ZX_OK`, `info` contains descriptive information about the object +// (the same as would be returned by `Describe`). +func (p *SymlinkWithCtxInterface) ExpectOnOpen(ctx_ _bindings.Context) (int32, *NodeInfoDeprecated, error) { + resp_ := &Node1OnOpenRequest{} + err_ := ((*_bindings.ChannelProxy)(p)).Recv(SymlinkOnOpenOrdinal, resp_) + return (*resp_).S, (*resp_).Info, err_ +} + +// Acquires information about the node. +// +// This method does not require any rights. +func (p *SymlinkWithCtxInterface) GetAttr(ctx_ _bindings.Context) (int32, NodeAttributes, error) { + var req_ _bindings.Message + resp_ := &Node1GetAttrResponse{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkGetAttrOrdinal, req_, resp_) + return (*resp_).S, (*resp_).Attributes, err_ +} + +// Updates information about the node. +// +// This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns +// `ZX_ERR_BAD_HANDLE`. +func (p *SymlinkWithCtxInterface) SetAttr(ctx_ _bindings.Context, flags NodeAttributeFlags, attributes NodeAttributes) (int32, error) { + req_ := &Node1SetAttrRequest{Flags: flags, Attributes: attributes} + resp_ := &Node1SetAttrResponse{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkSetAttrOrdinal, req_, resp_) + return (*resp_).S, err_ +} + +// Acquires the `Directory.Open` rights and flags used to access this file. +// +// This method does not require any rights. +func (p *SymlinkWithCtxInterface) GetFlags(ctx_ _bindings.Context) (int32, OpenFlags, error) { + var req_ _bindings.Message + resp_ := &Node1GetFlagsResponse{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkGetFlagsOrdinal, req_, resp_) + return (*resp_).S, (*resp_).Flags, err_ +} + +// Changes the `Directory.Open` flags used to access the file. +// Supported flags which can be turned on / off: +// - `OpenFlags.APPEND` +// +// This method does not require any rights. +func (p *SymlinkWithCtxInterface) SetFlags(ctx_ _bindings.Context, flags OpenFlags) (int32, error) { + req_ := &Node1SetFlagsRequest{Flags: flags} + resp_ := &Node1SetFlagsResponse{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkSetFlagsOrdinal, req_, resp_) + return (*resp_).S, err_ +} + +// Query the filesystem for filesystem-specific information. +func (p *SymlinkWithCtxInterface) QueryFilesystem(ctx_ _bindings.Context) (int32, *FilesystemInfo, error) { + var req_ _bindings.Message + resp_ := &Node1QueryFilesystemResponse{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkQueryFilesystemOrdinal, req_, resp_) + return (*resp_).S, (*resp_).Info, err_ +} + +// Terminates the connection. +// +// After calling `Close`, the client must not send any other requests. +// +// Servers, after sending the status response, should close the connection +// regardless of status and without sending an epitaph. +// +// Closing the client end of the channel should be semantically equivalent +// to calling `Close` without knowing when the close has completed or its +// status. +func (p *SymlinkWithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { + var req_ _bindings.Message + resp_ := &fuchsiaunknown.CloseableCloseResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkCloseOrdinal, req_, resp_) + return (*resp_), err_ +} + +func (p *SymlinkWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { + var req_ _bindings.Message + resp_ := &fuchsiaunknown.QueryableQueryResponse{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkQueryOrdinal, req_, resp_) + return (*resp_).Protocol, err_ +} + +// Creates another connection to the same node. +func (p *SymlinkWithCtxInterface) Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error { + req_ := &Node2ReopenRequest{RightsRequest: rightsRequest, ObjectRequest: objectRequest} + err_ := ((*_bindings.ChannelProxy)(p)).Send(SymlinkReopenOrdinal, req_) + return err_ +} + +// An event produced eagerly by the server if requested by +// [`NodeFlags.GET_REPRESENTATION`]. This event will be the first message +// from the server, and is sent exactly once. +// +// The active variant corresponds to one of the supported protocols of +// the node, and represents the result of the connection-time +// negotiation. Provides auxiliary handles if applicable. +// +// If the client specified more than one protocol in `protocols` during +// [`Directory.Open`], the [`Representation`] carries additionally the +// result of the connection-time negotiation via its tag. +// +// The elements have one-to-one correspondence with the members of +// [`NodeProtocolKinds`]. +// +// This is a special case of [`fuchsia.unknown/Queryable.Query`] + +// inherent `Describe` methods on the specific protocols. It exists as +// an optimization to avoid an additional round trip. +func (p *SymlinkWithCtxInterface) ExpectOnRepresentation(ctx_ _bindings.Context) (Representation, error) { + resp_ := &Representation{} + err_ := ((*_bindings.ChannelProxy)(p)).Recv(SymlinkOnRepresentationOrdinal, resp_) + return (*resp_), err_ +} + +// Acquires information about the connection. +// +// This method does not require any rights. +func (p *SymlinkWithCtxInterface) GetConnectionInfo(ctx_ _bindings.Context) (ConnectionInfo, error) { + var req_ _bindings.Message + resp_ := &ConnectionInfo{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkGetConnectionInfoOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Acquires information about the node. +// +// The attributes of a node should be stable, independent of the +// specific protocol used to access it. +// +// If a particular attribute is not applicable or not supported, +// filesystems should leave the corresponding field absent. +// +// - `query` a bit-mask specifying which attributes to fetch. The server +// should not return more than necessary. +// - `attributes` the returned attributes. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *SymlinkWithCtxInterface) GetAttributes(ctx_ _bindings.Context, query NodeAttributesQuery) (Node2GetAttributesResult, error) { + req_ := &Node2GetAttributesRequest{Query: query} + resp_ := &Node2GetAttributesResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkGetAttributesOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Updates information about the node. +// +// + `attributes` the presence of a table field in `attributes` indicates +// the intent to update the corresponding attribute. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *SymlinkWithCtxInterface) UpdateAttributes(ctx_ _bindings.Context, payload MutableNodeAttributes) (Node2UpdateAttributesResult, error) { + req_ := &payload + resp_ := &Node2UpdateAttributesResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkUpdateAttributesOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Synchronizes updates to the node to the underlying media, if it exists. +// +// This method will return when the filesystem server has flushed the +// relevant updates to the underlying media, but does not guarantee the +// underlying media has persisted the information, nor that any information +// is committed to hardware. Clients may use `Sync` to ensure ordering +// between operations. +// +// This method does not require any rights. +func (p *SymlinkWithCtxInterface) Sync(ctx_ _bindings.Context) (Node2SyncResult, error) { + var req_ _bindings.Message + resp_ := &Node2SyncResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkSyncOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Creates an iterator over all the extended attribute names associated +// with this node. If an error occurs it is returned as an epitaph on the +// iterator request channel, and then the channel is closed. +// +// GetExtendedAttributes can be used with any of these names to retrieve +// the associated value. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *SymlinkWithCtxInterface) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + req_ := &Node2ListExtendedAttributesRequest{Iterator: iterator} + err_ := ((*_bindings.ChannelProxy)(p)).Send(SymlinkListExtendedAttributesOrdinal, req_) + return err_ +} + +// Get the value associated with the given attribute `name` for this node. +// +// Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No +// particular structure is imposed on them. +// +// This method requires the [`Rights.GET_ATTRIBUTES`] right. +func (p *SymlinkWithCtxInterface) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + req_ := &Node2GetExtendedAttributeRequest{Name: name} + resp_ := &Node2GetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkGetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set the value for the given attribute `name` to `value` for this node. +// +// The attribute name may exist, in which case the attribute is updated. +// If the attribute doesn't exist, it is created. The name should have no +// null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *SymlinkWithCtxInterface) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + req_ := &Node2SetExtendedAttributeRequest{Name: name, Value: value, Mode: mode} + resp_ := &Node2SetExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkSetExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Remove the specified extended attribute. +// +// If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. +// +// This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. +func (p *SymlinkWithCtxInterface) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + req_ := &Node2RemoveExtendedAttributeRequest{Name: name} + resp_ := &Node2RemoveExtendedAttributeResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkRemoveExtendedAttributeOrdinal, req_, resp_) + return (*resp_), err_ +} + +func (p *SymlinkWithCtxInterface) Describe(ctx_ _bindings.Context) (SymlinkInfo, error) { + var req_ _bindings.Message + resp_ := &SymlinkInfo{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SymlinkDescribeOrdinal, req_, resp_) + return (*resp_), err_ +} + +// A ['Node'] which contains a symbolic link. +type SymlinkWithCtx interface { + // Creates a link to this this object with name `dst` in the directory represented by + // `dst_parent_token`. + // + // `dst` must be a resolved object name. Including "/" in the string will return + // `ZX_ERR_INVALID_ARGS`. + // + // This method requires the maximal set of rights supported by the filesystem for this object. + // For files this would typically be [`Rights.READ_BYTES`], [`Rights.WRITE_BYTES`], + // [`Rights.GET_ATTRIBUTES`] and [`Rights.UPDATE_ATTRIBUTES`]. Some filesystems might also + // support the [`Rights.EXECUTE`] right. Insufficient rights will result in + // `ZX_ERR_ACCESS_DENIED`. + // + // If this object has no links, it will fail with `ZX_ERR_NOT_FOUND`. + // + // This method does not have the same atomicity properties has the `Directory::Link` method, + // which means that calling `Open` then `LinkInto` is not equivalent to `Directory::Link` + // because `LinkInto` will not prevent the source from being renamed or unlinked. + LinkInto(ctx_ _bindings.Context, dstParentToken _zx.Event, dst string) (LinkableLinkIntoResult, error) + // Create another connection to the same remote object. + // + // `flags` may be any of: + // + // - `OpenFlags.RIGHT_*` + // - `OpenFlags.APPEND` + // - `OpenFlags.DESCRIBE` + // - `OpenFlags.CLONE_SAME_RIGHTS` + // + // All other flags are ignored. + // + // The `OpenFlags.RIGHT_*` bits in `flags` request corresponding rights over the resulting + // cloned object. + // The cloned object must have rights less than or equal to the original object, otherwise + // returns `ZX_ERR_ACCESS_DENIED`. + // Alternatively, pass `OpenFlags.CLONE_SAME_RIGHTS` to inherit the rights on the source connection. + // It is invalid to pass any of the `OpenFlags.RIGHT_*` flags together with + // `OpenFlags.CLONE_SAME_RIGHTS`. + Clone(ctx_ _bindings.Context, flags OpenFlags, object NodeWithCtxInterfaceRequest) error + // An event produced eagerly by a FIDL server if requested by `OpenFlags.DESCRIBE`. + // + // Indicates the success or failure of the open operation, and optionally describes the + // object. If the status is `ZX_OK`, `info` contains descriptive information about the object + // (the same as would be returned by `Describe`). + // Acquires information about the node. + // + // This method does not require any rights. + GetAttr(ctx_ _bindings.Context) (int32, NodeAttributes, error) + // Updates information about the node. + // + // This method requires following rights: `OpenFlags.RIGHT_WRITABLE`, otherwise returns + // `ZX_ERR_BAD_HANDLE`. + SetAttr(ctx_ _bindings.Context, flags NodeAttributeFlags, attributes NodeAttributes) (int32, error) + // Acquires the `Directory.Open` rights and flags used to access this file. + // + // This method does not require any rights. + GetFlags(ctx_ _bindings.Context) (int32, OpenFlags, error) + // Changes the `Directory.Open` flags used to access the file. + // Supported flags which can be turned on / off: + // - `OpenFlags.APPEND` + // + // This method does not require any rights. + SetFlags(ctx_ _bindings.Context, flags OpenFlags) (int32, error) + // Query the filesystem for filesystem-specific information. + QueryFilesystem(ctx_ _bindings.Context) (int32, *FilesystemInfo, error) + // Terminates the connection. + // + // After calling `Close`, the client must not send any other requests. + // + // Servers, after sending the status response, should close the connection + // regardless of status and without sending an epitaph. + // + // Closing the client end of the channel should be semantically equivalent + // to calling `Close` without knowing when the close has completed or its + // status. + Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) + Query(ctx_ _bindings.Context) ([]uint8, error) + // Creates another connection to the same node. + Reopen(ctx_ _bindings.Context, rightsRequest RightsRequest, objectRequest NodeWithCtxInterfaceRequest) error + // An event produced eagerly by the server if requested by + // [`NodeFlags.GET_REPRESENTATION`]. This event will be the first message + // from the server, and is sent exactly once. + // + // The active variant corresponds to one of the supported protocols of + // the node, and represents the result of the connection-time + // negotiation. Provides auxiliary handles if applicable. + // + // If the client specified more than one protocol in `protocols` during + // [`Directory.Open`], the [`Representation`] carries additionally the + // result of the connection-time negotiation via its tag. + // + // The elements have one-to-one correspondence with the members of + // [`NodeProtocolKinds`]. + // + // This is a special case of [`fuchsia.unknown/Queryable.Query`] + + // inherent `Describe` methods on the specific protocols. It exists as + // an optimization to avoid an additional round trip. + // Acquires information about the connection. + // + // This method does not require any rights. + GetConnectionInfo(ctx_ _bindings.Context) (ConnectionInfo, error) + // Acquires information about the node. + // + // The attributes of a node should be stable, independent of the + // specific protocol used to access it. + // + // If a particular attribute is not applicable or not supported, + // filesystems should leave the corresponding field absent. + // + // + `query` a bit-mask specifying which attributes to fetch. The server + // should not return more than necessary. + // - `attributes` the returned attributes. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + GetAttributes(ctx_ _bindings.Context, query NodeAttributesQuery) (Node2GetAttributesResult, error) + // Updates information about the node. + // + // + `attributes` the presence of a table field in `attributes` indicates + // the intent to update the corresponding attribute. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + UpdateAttributes(ctx_ _bindings.Context, payload MutableNodeAttributes) (Node2UpdateAttributesResult, error) + // Synchronizes updates to the node to the underlying media, if it exists. + // + // This method will return when the filesystem server has flushed the + // relevant updates to the underlying media, but does not guarantee the + // underlying media has persisted the information, nor that any information + // is committed to hardware. Clients may use `Sync` to ensure ordering + // between operations. + // + // This method does not require any rights. + Sync(ctx_ _bindings.Context) (Node2SyncResult, error) + // Creates an iterator over all the extended attribute names associated + // with this node. If an error occurs it is returned as an epitaph on the + // iterator request channel, and then the channel is closed. + // + // GetExtendedAttributes can be used with any of these names to retrieve + // the associated value. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error + // Get the value associated with the given attribute `name` for this node. + // + // Attribute names have a maximum length of MAX_ATTRIBUTE_NAME. No + // particular structure is imposed on them. + // + // This method requires the [`Rights.GET_ATTRIBUTES`] right. + GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) + // Set the value for the given attribute `name` to `value` for this node. + // + // The attribute name may exist, in which case the attribute is updated. + // If the attribute doesn't exist, it is created. The name should have no + // null bytes in it. If it does, ZX_ERR_INVALID_ARGS is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) + // Remove the specified extended attribute. + // + // If the attribute doesn't exist, ZX_ERR_NOT_FOUND is returned. + // + // This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. + RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) + Describe(ctx_ _bindings.Context) (SymlinkInfo, error) +} + +type SymlinkWithCtxTransitionalBase struct{} + +func (_ *SymlinkWithCtxTransitionalBase) ListExtendedAttributes(ctx_ _bindings.Context, iterator ExtendedAttributeIteratorWithCtxInterfaceRequest) error { + panic("Not Implemented") +} +func (_ *SymlinkWithCtxTransitionalBase) GetExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2GetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *SymlinkWithCtxTransitionalBase) SetExtendedAttribute(ctx_ _bindings.Context, name []uint8, value ExtendedAttributeValue, mode SetExtendedAttributeMode) (Node2SetExtendedAttributeResult, error) { + panic("Not Implemented") +} +func (_ *SymlinkWithCtxTransitionalBase) RemoveExtendedAttribute(ctx_ _bindings.Context, name []uint8) (Node2RemoveExtendedAttributeResult, error) { + panic("Not Implemented") +} + +type SymlinkWithCtxInterfaceRequest _bindings.InterfaceRequest + +func NewSymlinkWithCtxInterfaceRequest() (SymlinkWithCtxInterfaceRequest, *SymlinkWithCtxInterface, error) { + req, cli, err := _bindings.NewInterfaceRequest() + return SymlinkWithCtxInterfaceRequest(req), (*SymlinkWithCtxInterface)(cli), err +} + +type SymlinkWithCtxStub struct { + Impl SymlinkWithCtx +} + +func (s_ *SymlinkWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { + switch args_.Ordinal { + case SymlinkLinkIntoOrdinal: + in_ := &LinkableLinkIntoRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.LinkInto(args_.Ctx, (*in_).DstParentToken, (*in_).Dst) + out_ := &payload + return out_, true, err_ + case SymlinkCloneOrdinal: + in_ := &Node1CloneRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + err_ := s_.Impl.Clone(args_.Ctx, (*in_).Flags, (*in_).Object) + return nil, false, err_ + case SymlinkGetAttrOrdinal: + s, attributes, err_ := s_.Impl.GetAttr(args_.Ctx) + out_ := &Node1GetAttrResponse{S: s, Attributes: attributes} + return out_, true, err_ + case SymlinkSetAttrOrdinal: + in_ := &Node1SetAttrRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + s, err_ := s_.Impl.SetAttr(args_.Ctx, (*in_).Flags, (*in_).Attributes) + out_ := &Node1SetAttrResponse{S: s} + return out_, true, err_ + case SymlinkGetFlagsOrdinal: + s, flags, err_ := s_.Impl.GetFlags(args_.Ctx) + out_ := &Node1GetFlagsResponse{S: s, Flags: flags} + return out_, true, err_ + case SymlinkSetFlagsOrdinal: + in_ := &Node1SetFlagsRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + s, err_ := s_.Impl.SetFlags(args_.Ctx, (*in_).Flags) + out_ := &Node1SetFlagsResponse{S: s} + return out_, true, err_ + case SymlinkQueryFilesystemOrdinal: + s, info, err_ := s_.Impl.QueryFilesystem(args_.Ctx) + out_ := &Node1QueryFilesystemResponse{S: s, Info: info} + return out_, true, err_ + case SymlinkCloseOrdinal: + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload + return out_, true, err_ + case SymlinkQueryOrdinal: + protocol, err_ := s_.Impl.Query(args_.Ctx) + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} + return out_, true, err_ + case SymlinkReopenOrdinal: + in_ := &Node2ReopenRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + err_ := s_.Impl.Reopen(args_.Ctx, (*in_).RightsRequest, (*in_).ObjectRequest) + return nil, false, err_ + case SymlinkGetConnectionInfoOrdinal: + payload, err_ := s_.Impl.GetConnectionInfo(args_.Ctx) + out_ := &payload + return out_, true, err_ + case SymlinkGetAttributesOrdinal: + in_ := &Node2GetAttributesRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.GetAttributes(args_.Ctx, (*in_).Query) + out_ := &payload + return out_, true, err_ + case SymlinkUpdateAttributesOrdinal: + in_ := &MutableNodeAttributes{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.UpdateAttributes(args_.Ctx, (*in_)) + out_ := &payload + return out_, true, err_ + case SymlinkSyncOrdinal: + payload, err_ := s_.Impl.Sync(args_.Ctx) + out_ := &payload + return out_, true, err_ + case SymlinkListExtendedAttributesOrdinal: + in_ := &Node2ListExtendedAttributesRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + err_ := s_.Impl.ListExtendedAttributes(args_.Ctx, (*in_).Iterator) + return nil, false, err_ + case SymlinkGetExtendedAttributeOrdinal: + in_ := &Node2GetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.GetExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload + return out_, true, err_ + case SymlinkSetExtendedAttributeOrdinal: + in_ := &Node2SetExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetExtendedAttribute(args_.Ctx, (*in_).Name, (*in_).Value, (*in_).Mode) + out_ := &payload + return out_, true, err_ + case SymlinkRemoveExtendedAttributeOrdinal: + in_ := &Node2RemoveExtendedAttributeRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.RemoveExtendedAttribute(args_.Ctx, (*in_).Name) + out_ := &payload + return out_, true, err_ + case SymlinkDescribeOrdinal: + payload, err_ := s_.Impl.Describe(args_.Ctx) + out_ := &payload + return out_, true, err_ + } + return nil, false, _bindings.ErrUnknownOrdinal +} + +type SymlinkEventProxy _bindings.ChannelProxy + +func (p *SymlinkEventProxy) OnOpen(s int32, info *NodeInfoDeprecated) error { + event_ := &Node1OnOpenRequest{S: s, Info: info} + return ((*_bindings.ChannelProxy)(p)).Send(SymlinkOnOpenOrdinal, event_) +} +func (p *SymlinkEventProxy) OnRepresentation(payload Representation) error { + event_ := &payload + return ((*_bindings.ChannelProxy)(p)).Send(SymlinkOnRepresentationOrdinal, event_) +} + +const ( WritableWriteOrdinal uint64 = 0x6a31437832469f82 ) @@ -10428,10 +12143,10 @@ // // This method requires the [`Rights.WRITE_BYTES`] right. func (p *WritableWithCtxInterface) Write(ctx_ _bindings.Context, data []uint8) (WritableWriteResult, error) { - req_ := &writableWithCtxWriteRequest{Data: data} - resp_ := &writableWithCtxWriteResponse{} + req_ := &WritableWriteRequest{Data: data} + resp_ := &WritableWriteResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(WritableWriteOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } type WritableWithCtx interface { @@ -10477,7 +12192,7 @@ func (s_ *WritableWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case WritableWriteOrdinal: - in_ := &writableWithCtxWriteRequest{} + in_ := &WritableWriteRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -10485,8 +12200,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Write(args_.Ctx, (*in_).Data) - out_ := &writableWithCtxWriteResponse{Result: result} + payload, err_ := s_.Impl.Write(args_.Ctx, (*in_).Data) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal
diff --git a/src/syscall/zx/logger/impl.go b/src/syscall/zx/logger/impl.go index 64bdab8..7c5cd53 100644 --- a/src/syscall/zx/logger/impl.go +++ b/src/syscall/zx/logger/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package logger import ( @@ -149,6 +147,18 @@ return "Unknown" } +type LogDumpLogsSafeRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + LogListener LogListenerSafeWithCtxInterface `fidl_offset_v2:"0" fidl_handle_subtype:"4"` + Options *LogFilterOptions `fidl_offset_v2:"8"` +} + +var _mLogDumpLogsSafeRequest = _bindings.CreateLazyMarshaler(LogDumpLogsSafeRequest{}) + +func (msg *LogDumpLogsSafeRequest) Marshaler() _bindings.Marshaler { + return _mLogDumpLogsSafeRequest +} + type LogFilterOptions struct { _ struct{} `fidl:"s" fidl_size_v2:"56" fidl_alignment_v2:"8"` FilterByPid bool `fidl_offset_v2:"0"` @@ -174,6 +184,53 @@ return _mLogFilterOptions } +type LogListenSafeRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + LogListener LogListenerSafeWithCtxInterface `fidl_offset_v2:"0" fidl_handle_subtype:"4"` + Options *LogFilterOptions `fidl_offset_v2:"8"` +} + +var _mLogListenSafeRequest = _bindings.CreateLazyMarshaler(LogListenSafeRequest{}) + +func (msg *LogListenSafeRequest) Marshaler() _bindings.Marshaler { + return _mLogListenSafeRequest +} + +type LogListenSafeWithSelectorsRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` + LogListener LogListenerSafeWithCtxInterface `fidl_offset_v2:"0" fidl_handle_subtype:"4"` + Options *LogFilterOptions `fidl_offset_v2:"8"` + Selectors []fuchsiadiagnostics.LogInterestSelector `fidl_offset_v2:"16" fidl_bounds:"64"` +} + +var _mLogListenSafeWithSelectorsRequest = _bindings.CreateLazyMarshaler(LogListenSafeWithSelectorsRequest{}) + +func (msg *LogListenSafeWithSelectorsRequest) Marshaler() _bindings.Marshaler { + return _mLogListenSafeWithSelectorsRequest +} + +type LogListenerSafeLogManyRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Log []LogMessage `fidl_offset_v2:"0" fidl_bounds:""` +} + +var _mLogListenerSafeLogManyRequest = _bindings.CreateLazyMarshaler(LogListenerSafeLogManyRequest{}) + +func (msg *LogListenerSafeLogManyRequest) Marshaler() _bindings.Marshaler { + return _mLogListenerSafeLogManyRequest +} + +type LogListenerSafeLogRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` + Log LogMessage `fidl_offset_v2:"0"` +} + +var _mLogListenerSafeLogRequest = _bindings.CreateLazyMarshaler(LogListenerSafeLogRequest{}) + +func (msg *LogListenerSafeLogRequest) Marshaler() _bindings.Marshaler { + return _mLogListenerSafeLogRequest +} + type LogMessage struct { _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` Pid uint64 `fidl_offset_v2:"0"` @@ -195,6 +252,28 @@ return _mLogMessage } +type LogSinkConnectRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Socket _zx.Socket `fidl_offset_v2:"0" fidl_handle_subtype:"14" fidl_handle_rights:"2147483648" fidl_bounds:"0"` +} + +var _mLogSinkConnectRequest = _bindings.CreateLazyMarshaler(LogSinkConnectRequest{}) + +func (msg *LogSinkConnectRequest) Marshaler() _bindings.Marshaler { + return _mLogSinkConnectRequest +} + +type LogSinkConnectStructuredRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Socket _zx.Socket `fidl_offset_v2:"0" fidl_handle_subtype:"14" fidl_handle_rights:"2147483648" fidl_bounds:"0"` +} + +var _mLogSinkConnectStructuredRequest = _bindings.CreateLazyMarshaler(LogSinkConnectStructuredRequest{}) + +func (msg *LogSinkConnectStructuredRequest) Marshaler() _bindings.Marshaler { + return _mLogSinkConnectStructuredRequest +} + type LogSinkWaitForInterestChangeResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` Data fuchsiadiagnostics.Interest `fidl_offset_v2:"0"` @@ -206,98 +285,6 @@ return _mLogSinkWaitForInterestChangeResponse } -type logWithCtxListenSafeRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - LogListener LogListenerSafeWithCtxInterface `fidl_offset_v2:"0" fidl_handle_subtype:"4"` - Options *LogFilterOptions `fidl_offset_v2:"8"` -} - -var _mlogWithCtxListenSafeRequest = _bindings.CreateLazyMarshaler(logWithCtxListenSafeRequest{}) - -func (msg *logWithCtxListenSafeRequest) Marshaler() _bindings.Marshaler { - return _mlogWithCtxListenSafeRequest -} - -type logWithCtxDumpLogsSafeRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - LogListener LogListenerSafeWithCtxInterface `fidl_offset_v2:"0" fidl_handle_subtype:"4"` - Options *LogFilterOptions `fidl_offset_v2:"8"` -} - -var _mlogWithCtxDumpLogsSafeRequest = _bindings.CreateLazyMarshaler(logWithCtxDumpLogsSafeRequest{}) - -func (msg *logWithCtxDumpLogsSafeRequest) Marshaler() _bindings.Marshaler { - return _mlogWithCtxDumpLogsSafeRequest -} - -type logWithCtxListenSafeWithSelectorsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - LogListener LogListenerSafeWithCtxInterface `fidl_offset_v2:"0" fidl_handle_subtype:"4"` - Options *LogFilterOptions `fidl_offset_v2:"8"` - Selectors []fuchsiadiagnostics.LogInterestSelector `fidl_offset_v2:"16" fidl_bounds:"64"` -} - -var _mlogWithCtxListenSafeWithSelectorsRequest = _bindings.CreateLazyMarshaler(logWithCtxListenSafeWithSelectorsRequest{}) - -func (msg *logWithCtxListenSafeWithSelectorsRequest) Marshaler() _bindings.Marshaler { - return _mlogWithCtxListenSafeWithSelectorsRequest -} - -type logListenerSafeWithCtxLogRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"64" fidl_alignment_v2:"8"` - Log LogMessage `fidl_offset_v2:"0"` -} - -var _mlogListenerSafeWithCtxLogRequest = _bindings.CreateLazyMarshaler(logListenerSafeWithCtxLogRequest{}) - -func (msg *logListenerSafeWithCtxLogRequest) Marshaler() _bindings.Marshaler { - return _mlogListenerSafeWithCtxLogRequest -} - -type logListenerSafeWithCtxLogManyRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Log []LogMessage `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mlogListenerSafeWithCtxLogManyRequest = _bindings.CreateLazyMarshaler(logListenerSafeWithCtxLogManyRequest{}) - -func (msg *logListenerSafeWithCtxLogManyRequest) Marshaler() _bindings.Marshaler { - return _mlogListenerSafeWithCtxLogManyRequest -} - -type logSinkWithCtxConnectRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Socket _zx.Socket `fidl_offset_v2:"0" fidl_handle_subtype:"14" fidl_handle_rights:"2147483648" fidl_bounds:"0"` -} - -var _mlogSinkWithCtxConnectRequest = _bindings.CreateLazyMarshaler(logSinkWithCtxConnectRequest{}) - -func (msg *logSinkWithCtxConnectRequest) Marshaler() _bindings.Marshaler { - return _mlogSinkWithCtxConnectRequest -} - -type logSinkWithCtxWaitForInterestChangeResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result LogSinkWaitForInterestChangeResult `fidl_offset_v2:"0"` -} - -var _mlogSinkWithCtxWaitForInterestChangeResponse = _bindings.CreateLazyMarshaler(logSinkWithCtxWaitForInterestChangeResponse{}) - -func (msg *logSinkWithCtxWaitForInterestChangeResponse) Marshaler() _bindings.Marshaler { - return _mlogSinkWithCtxWaitForInterestChangeResponse -} - -type logSinkWithCtxConnectStructuredRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Socket _zx.Socket `fidl_offset_v2:"0" fidl_handle_subtype:"14" fidl_handle_rights:"2147483648" fidl_bounds:"0"` -} - -var _mlogSinkWithCtxConnectStructuredRequest = _bindings.CreateLazyMarshaler(logSinkWithCtxConnectStructuredRequest{}) - -func (msg *logSinkWithCtxConnectStructuredRequest) Marshaler() _bindings.Marshaler { - return _mlogSinkWithCtxConnectStructuredRequest -} - type I_logSinkWaitForInterestChangeResultTag uint64 const ( @@ -372,7 +359,7 @@ // message. // A null `options` indicates no filtering is requested. func (p *LogWithCtxInterface) ListenSafe(ctx_ _bindings.Context, logListener LogListenerSafeWithCtxInterface, options *LogFilterOptions) error { - req_ := &logWithCtxListenSafeRequest{LogListener: logListener, Options: options} + req_ := &LogListenSafeRequest{LogListener: logListener, Options: options} err_ := ((*_bindings.ChannelProxy)(p)).Send(LogListenSafeOrdinal, req_) return err_ } @@ -380,7 +367,7 @@ // Dumps all cached logs by calling LogMany() followed by Done() on `log_listener`. // A null `options` indicates no filtering is requested. func (p *LogWithCtxInterface) DumpLogsSafe(ctx_ _bindings.Context, logListener LogListenerSafeWithCtxInterface, options *LogFilterOptions) error { - req_ := &logWithCtxDumpLogsSafeRequest{LogListener: logListener, Options: options} + req_ := &LogDumpLogsSafeRequest{LogListener: logListener, Options: options} err_ := ((*_bindings.ChannelProxy)(p)).Send(LogDumpLogsSafeOrdinal, req_) return err_ } @@ -388,7 +375,7 @@ // Listens to new log entries by calling Log() on `log_listener`. // A null `options` indicates no filtering is requested. func (p *LogWithCtxInterface) ListenSafeWithSelectors(ctx_ _bindings.Context, logListener LogListenerSafeWithCtxInterface, options *LogFilterOptions, selectors []fuchsiadiagnostics.LogInterestSelector) error { - req_ := &logWithCtxListenSafeWithSelectorsRequest{LogListener: logListener, Options: options, Selectors: selectors} + req_ := &LogListenSafeWithSelectorsRequest{LogListener: logListener, Options: options, Selectors: selectors} err_ := ((*_bindings.ChannelProxy)(p)).Send(LogListenSafeWithSelectorsOrdinal, req_) return err_ } @@ -433,7 +420,7 @@ func (s_ *LogWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case LogListenSafeOrdinal: - in_ := &logWithCtxListenSafeRequest{} + in_ := &LogListenSafeRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -444,7 +431,7 @@ err_ := s_.Impl.ListenSafe(args_.Ctx, (*in_).LogListener, (*in_).Options) return nil, false, err_ case LogDumpLogsSafeOrdinal: - in_ := &logWithCtxDumpLogsSafeRequest{} + in_ := &LogDumpLogsSafeRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -455,7 +442,7 @@ err_ := s_.Impl.DumpLogsSafe(args_.Ctx, (*in_).LogListener, (*in_).Options) return nil, false, err_ case LogListenSafeWithSelectorsOrdinal: - in_ := &logWithCtxListenSafeWithSelectorsRequest{} + in_ := &LogListenSafeWithSelectorsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -484,7 +471,7 @@ // The return value is used for flow control, and implementers should acknowledge receipt of // each message in order to continue receiving future messages. func (p *LogListenerSafeWithCtxInterface) Log(ctx_ _bindings.Context, log LogMessage) error { - req_ := &logListenerSafeWithCtxLogRequest{Log: log} + req_ := &LogListenerSafeLogRequest{Log: log} var resp_ _bindings.Message err_ := ((*_bindings.ChannelProxy)(p)).Call(LogListenerSafeLogOrdinal, req_, resp_) return err_ @@ -497,7 +484,7 @@ // The return value is used for flow control, and implementers should acknowledge receipt of // each batch in order to continue receiving future messages. func (p *LogListenerSafeWithCtxInterface) LogMany(ctx_ _bindings.Context, log []LogMessage) error { - req_ := &logListenerSafeWithCtxLogManyRequest{Log: log} + req_ := &LogListenerSafeLogManyRequest{Log: log} var resp_ _bindings.Message err_ := ((*_bindings.ChannelProxy)(p)).Call(LogListenerSafeLogManyOrdinal, req_, resp_) return err_ @@ -544,7 +531,7 @@ func (s_ *LogListenerSafeWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case LogListenerSafeLogOrdinal: - in_ := &logListenerSafeWithCtxLogRequest{} + in_ := &LogListenerSafeLogRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -555,7 +542,7 @@ err_ := s_.Impl.Log(args_.Ctx, (*in_).Log) return nil, true, err_ case LogListenerSafeLogManyOrdinal: - in_ := &logListenerSafeWithCtxLogManyRequest{} + in_ := &LogListenerSafeLogManyRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -587,7 +574,7 @@ // See [wire_format.h](https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/system/ulib/syslog/include/lib/syslog/wire_format.h) // for what is expected to be received over the socket. func (p *LogSinkWithCtxInterface) Connect(ctx_ _bindings.Context, socket _zx.Socket) error { - req_ := &logSinkWithCtxConnectRequest{Socket: socket} + req_ := &LogSinkConnectRequest{Socket: socket} err_ := ((*_bindings.ChannelProxy)(p)).Send(LogSinkConnectOrdinal, req_) return err_ } @@ -601,9 +588,9 @@ // result in an error being returned. func (p *LogSinkWithCtxInterface) WaitForInterestChange(ctx_ _bindings.Context) (LogSinkWaitForInterestChangeResult, error) { var req_ _bindings.Message - resp_ := &logSinkWithCtxWaitForInterestChangeResponse{} + resp_ := &LogSinkWaitForInterestChangeResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(LogSinkWaitForInterestChangeOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Send this socket to be drained, using the structured logs format. @@ -611,7 +598,7 @@ // See [Encoding structured records](https://fuchsia.dev/fuchsia-src/reference/platform-spec/diagnostics/logs-encoding) // for what is expected to be received over the socket. func (p *LogSinkWithCtxInterface) ConnectStructured(ctx_ _bindings.Context, socket _zx.Socket) error { - req_ := &logSinkWithCtxConnectStructuredRequest{Socket: socket} + req_ := &LogSinkConnectStructuredRequest{Socket: socket} err_ := ((*_bindings.ChannelProxy)(p)).Send(LogSinkConnectStructuredOrdinal, req_) return err_ } @@ -664,7 +651,7 @@ func (s_ *LogSinkWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case LogSinkConnectOrdinal: - in_ := &logSinkWithCtxConnectRequest{} + in_ := &LogSinkConnectRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -675,11 +662,11 @@ err_ := s_.Impl.Connect(args_.Ctx, (*in_).Socket) return nil, false, err_ case LogSinkWaitForInterestChangeOrdinal: - result, err_ := s_.Impl.WaitForInterestChange(args_.Ctx) - out_ := &logSinkWithCtxWaitForInterestChangeResponse{Result: result} + payload, err_ := s_.Impl.WaitForInterestChange(args_.Ctx) + out_ := &payload return out_, true, err_ case LogSinkConnectStructuredOrdinal: - in_ := &logSinkWithCtxConnectStructuredRequest{} + in_ := &LogSinkConnectStructuredRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext
diff --git a/src/syscall/zx/mem/impl.go b/src/syscall/zx/mem/impl.go index 5b911b6..954db45 100644 --- a/src/syscall/zx/mem/impl.go +++ b/src/syscall/zx/mem/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package mem import ( @@ -19,7 +17,7 @@ // size. // // DEPRECATED: This type is superfluous and deprecated. Instead of using this type, -// use a zx.handle:VMO object and store the size of the contents in the ZX_PROP_VMO_CONTENT_SIZE +// use a zx.Handle:VMO object and store the size of the contents in the ZX_PROP_VMO_CONTENT_SIZE // property. type Buffer struct { _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"`
diff --git a/src/syscall/zx/net/impl.go b/src/syscall/zx/net/impl.go index 194f4fa..9391fb8 100644 --- a/src/syscall/zx/net/impl.go +++ b/src/syscall/zx/net/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package net import ( @@ -20,6 +18,10 @@ MaxHostnameSize uint64 = 255 ) +type Hostname = string +type InterfaceId = uint64 +type RouteMetric = uint32 + var _ _bindings.Enum = IpVersion(0) // IpVersion is an IP version. @@ -184,10 +186,10 @@ _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` // The IPv4 or IPv6 address. Addr IpAddress `fidl_offset_v2:"0"` - // The prefix length of the netmask. E.g. for 192.168.1.0/24, the prefix - // length is 24, corresponding to a netmask of 255.255.255.0. - // For Ipv4, prefix_len must be in the range [0, 32]. - // For Ipv6, prefix_len must be in the range [0, 128]. + // The number of bits set to 1 in the subnet mask. + // + // When [`addr`] is [`IpAddress.ipv4`], must be in the range `[0, 32]`. + // When [`addr`] is [`IpAddress.ipv6`], must be in the range `[0, 128]`. PrefixLen uint8 `fidl_offset_v2:"16"` }
diff --git a/src/syscall/zx/net/interfaces/impl.go b/src/syscall/zx/net/interfaces/impl.go index 108c521..aa9d0e3 100644 --- a/src/syscall/zx/net/interfaces/impl.go +++ b/src/syscall/zx/net/interfaces/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package interfaces import ( @@ -23,6 +21,67 @@ InterfaceNameLength uint8 = 15 ) +type Name_ = string + +var _ _bindings.Enum = AddressAssignmentState(0) + +// Assignment state of an IP address. +type AddressAssignmentState uint32 + +const ( + + // Address assignment is in progress, e.g. Duplicate Address Detection + // is being performed. The address cannot be used when in this state + // (cannot bind to it yet or receive packets destined to it). + // + // The Duplicate Address Detection mechanism is described in + // [RFC 4862, section 5.4](https://tools.ietf.org/html/rfc4862#section-5.4) + AddressAssignmentStateTentative AddressAssignmentState = 1 + + // The address is assigned to an interface. + AddressAssignmentStateAssigned AddressAssignmentState = 2 + + // The address is unavailable, e.g. if the interface holding the address + // is offline. + AddressAssignmentStateUnavailable AddressAssignmentState = 3 +) + +func (_ AddressAssignmentState) I_EnumValues() []AddressAssignmentState { + return []AddressAssignmentState{ + AddressAssignmentStateTentative, + AddressAssignmentStateAssigned, + AddressAssignmentStateUnavailable, + } +} + +func (_ AddressAssignmentState) I_EnumIsStrict() bool { + return true +} + +func (x AddressAssignmentState) IsUnknown() bool { + switch x { + case 1: + return false + case 2: + return false + case 3: + return false + } + return true +} + +func (x AddressAssignmentState) String() string { + switch x { + case 1: + return "Tentative" + case 2: + return "Assigned" + case 3: + return "Unavailable" + } + return "Unknown" +} + var _ _bindings.Bits = AddressPropertiesInterest(0) type AddressPropertiesInterest uint64 @@ -93,28 +152,28 @@ return _mEmpty } -type stateWithCtxGetWatcherRequest struct { +type StateGetWatcherRequest struct { _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` // Options for configuring the interface state watcher. Options WatcherOptions `fidl_offset_v2:"0"` Watcher WatcherWithCtxInterfaceRequest `fidl_offset_v2:"16" fidl_handle_subtype:"4" fidl_bounds:"0"` } -var _mstateWithCtxGetWatcherRequest = _bindings.CreateLazyMarshaler(stateWithCtxGetWatcherRequest{}) +var _mStateGetWatcherRequest = _bindings.CreateLazyMarshaler(StateGetWatcherRequest{}) -func (msg *stateWithCtxGetWatcherRequest) Marshaler() _bindings.Marshaler { - return _mstateWithCtxGetWatcherRequest +func (msg *StateGetWatcherRequest) Marshaler() _bindings.Marshaler { + return _mStateGetWatcherRequest } -type watcherWithCtxWatchResponse struct { +type WatcherWatchResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` Event Event `fidl_offset_v2:"0"` } -var _mwatcherWithCtxWatchResponse = _bindings.CreateLazyMarshaler(watcherWithCtxWatchResponse{}) +var _mWatcherWatchResponse = _bindings.CreateLazyMarshaler(WatcherWatchResponse{}) -func (msg *watcherWithCtxWatchResponse) Marshaler() _bindings.Marshaler { - return _mwatcherWithCtxWatchResponse +func (msg *WatcherWatchResponse) Marshaler() _bindings.Marshaler { + return _mWatcherWatchResponse } type I_deviceClassTag uint64 @@ -320,7 +379,7 @@ I_preferredLifetimeInfoTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` // The end of the preferred lifetime. // - // The address/prefix should *not* be considered deprecated if `zx.time` + // The address/prefix should *not* be considered deprecated if `zx.Time` // is in the past. `preferred_until` is exchanged as a means to inform // the deadline where deprecation is expected to happen. // @@ -331,7 +390,7 @@ // lifetime no longer than that of the prefix according to // [RFC 8415, section 6.3](https://datatracker.ietf.org/doc/html/rfc8415#section-6.3). // - // Must be greater than 0. If `zx.time.INFINITE`, the preferred lifetime + // Must be greater than 0. If `zx.Time.INFINITE`, the preferred lifetime // does not expire. PreferredUntil int64 `fidl_ordinal:"1"` // The address/prefix is deprecated. @@ -413,7 +472,7 @@ // indicates that the address will always be valid. The value is // derived from the monotonic clock. // - // As a `zx.time`, the value has + // As a `zx.Time`, the value has // [monotonic clock semantics](https://fuchsia.dev/fuchsia-src/concepts/time/monotonic), // which implies that it has no meaning outside of the host on which it // was generated and no meaning across host restarts. @@ -426,6 +485,11 @@ // Optional; may be omitted due to disinterest. PreferredLifetimeInfo PreferredLifetimeInfo `fidl_ordinal:"3"` PreferredLifetimeInfoPresent bool + // The address's assignment state. + // + // Required. + AssignmentState AddressAssignmentState `fidl_ordinal:"4"` + AssignmentStatePresent bool } var _mAddress = _bindings.CreateLazyMarshaler(Address{}) @@ -506,6 +570,30 @@ u.PreferredLifetimeInfoPresent = false } +func (u *Address) SetAssignmentState(assignmentState AddressAssignmentState) { + u.AssignmentState = assignmentState + u.AssignmentStatePresent = true +} + +func (u *Address) GetAssignmentState() AddressAssignmentState { + return u.AssignmentState +} + +func (u *Address) GetAssignmentStateWithDefault(_default AddressAssignmentState) AddressAssignmentState { + if !u.HasAssignmentState() { + return _default + } + return u.AssignmentState +} + +func (u *Address) HasAssignmentState() bool { + return u.AssignmentStatePresent +} + +func (u *Address) ClearAssignmentState() { + u.AssignmentStatePresent = false +} + func (u *Address) HasUnknownData() bool { return u.I_unknownData != nil } @@ -522,10 +610,13 @@ // even if the device is removed and subsequently re-added. Immutable. Id uint64 `fidl_ordinal:"1"` IdPresent bool - // The addresses currently assigned to the interface. + // The addresses currently installed on the interface. // - // Addresses are sorted on [`Address.addr`], and no two addresses can - // have the same `Address.addr` value. + // Addresses are sorted on [`Address.addr`], and no two addresses can have + // the same `Address.addr` value. + // + // Only assigned addresses are included unless the watcher was created with + // [`WatcherOptions.include_non_assigned_addresses`] set to `true`. Addresses []Address `fidl_bounds:"" fidl_ordinal:"2"` AddressesPresent bool // The device is enabled and its physical state is online. @@ -735,6 +826,13 @@ // Optional; interpreted as all bits set to 0 if not present. AddressPropertiesInterest AddressPropertiesInterest `fidl_ordinal:"1"` AddressPropertiesInterestPresent bool + // Flag to determine if only assigned addresses are returned (where + // the assignment state is [`AddressAssignmentState::Assigned`]) or + // all addresses are returned. + // + // Optional; interpreted as false if not present. + IncludeNonAssignedAddresses bool `fidl_ordinal:"2"` + IncludeNonAssignedAddressesPresent bool } var _mWatcherOptions = _bindings.CreateLazyMarshaler(WatcherOptions{}) @@ -767,6 +865,30 @@ u.AddressPropertiesInterestPresent = false } +func (u *WatcherOptions) SetIncludeNonAssignedAddresses(includeNonAssignedAddresses bool) { + u.IncludeNonAssignedAddresses = includeNonAssignedAddresses + u.IncludeNonAssignedAddressesPresent = true +} + +func (u *WatcherOptions) GetIncludeNonAssignedAddresses() bool { + return u.IncludeNonAssignedAddresses +} + +func (u *WatcherOptions) GetIncludeNonAssignedAddressesWithDefault(_default bool) bool { + if !u.HasIncludeNonAssignedAddresses() { + return _default + } + return u.IncludeNonAssignedAddresses +} + +func (u *WatcherOptions) HasIncludeNonAssignedAddresses() bool { + return u.IncludeNonAssignedAddressesPresent +} + +func (u *WatcherOptions) ClearIncludeNonAssignedAddresses() { + u.IncludeNonAssignedAddressesPresent = false +} + func (u *WatcherOptions) HasUnknownData() bool { return u.I_unknownData != nil } @@ -791,7 +913,7 @@ // cannot be allocated or if the queue is full when the server attempts // to enqueue an event. func (p *StateWithCtxInterface) GetWatcher(ctx_ _bindings.Context, options WatcherOptions, watcher WatcherWithCtxInterfaceRequest) error { - req_ := &stateWithCtxGetWatcherRequest{Options: options, Watcher: watcher} + req_ := &StateGetWatcherRequest{Options: options, Watcher: watcher} err_ := ((*_bindings.ChannelProxy)(p)).Send(StateGetWatcherOrdinal, req_) return err_ } @@ -836,7 +958,7 @@ func (s_ *StateWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case StateGetWatcherOrdinal: - in_ := &stateWithCtxGetWatcherRequest{} + in_ := &StateGetWatcherRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -879,7 +1001,7 @@ // - response `event` the interface change event. func (p *WatcherWithCtxInterface) Watch(ctx_ _bindings.Context) (Event, error) { var req_ _bindings.Message - resp_ := &watcherWithCtxWatchResponse{} + resp_ := &WatcherWatchResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(WatcherWatchOrdinal, req_, resp_) return (*resp_).Event, err_ } @@ -926,7 +1048,7 @@ switch args_.Ordinal { case WatcherWatchOrdinal: event, err_ := s_.Impl.Watch(args_.Ctx) - out_ := &watcherWithCtxWatchResponse{Event: event} + out_ := &WatcherWatchResponse{Event: event} return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal
diff --git a/src/syscall/zx/net/name/impl.go b/src/syscall/zx/net/name/impl.go index 40392ea..68f9f80 100644 --- a/src/syscall/zx/net/name/impl.go +++ b/src/syscall/zx/net/name/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package name import ( @@ -16,6 +14,11 @@ fuchsianet "syscall/zx/net" ) +const ( + // Maximum number of addresses that can be returned by a lookup. + MaxAddresses uint16 = 1024 +) + var _ _bindings.Enum = LookupError(0) // Lookup operation errors. @@ -79,6 +82,39 @@ return "Unknown" } +type DnsServerWatcherWatchServersResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Servers []DnsServer `fidl_offset_v2:"0" fidl_bounds:""` +} + +var _mDnsServerWatcherWatchServersResponse = _bindings.CreateLazyMarshaler(DnsServerWatcherWatchServersResponse{}) + +func (msg *DnsServerWatcherWatchServersResponse) Marshaler() _bindings.Marshaler { + return _mDnsServerWatcherWatchServersResponse +} + +type LookupAdminGetDnsServersResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Servers []fuchsianet.SocketAddress `fidl_offset_v2:"0" fidl_bounds:""` +} + +var _mLookupAdminGetDnsServersResponse = _bindings.CreateLazyMarshaler(LookupAdminGetDnsServersResponse{}) + +func (msg *LookupAdminGetDnsServersResponse) Marshaler() _bindings.Marshaler { + return _mLookupAdminGetDnsServersResponse +} + +type LookupAdminSetDnsServersRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Servers []fuchsianet.SocketAddress `fidl_offset_v2:"0" fidl_bounds:""` +} + +var _mLookupAdminSetDnsServersRequest = _bindings.CreateLazyMarshaler(LookupAdminSetDnsServersRequest{}) + +func (msg *LookupAdminSetDnsServersRequest) Marshaler() _bindings.Marshaler { + return _mLookupAdminSetDnsServersRequest +} + type LookupAdminSetDnsServersResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` } @@ -89,6 +125,36 @@ return _mLookupAdminSetDnsServersResponse } +type LookupLookupHostnameRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Addr fuchsianet.IpAddress `fidl_offset_v2:"0"` +} + +var _mLookupLookupHostnameRequest = _bindings.CreateLazyMarshaler(LookupLookupHostnameRequest{}) + +func (msg *LookupLookupHostnameRequest) Marshaler() _bindings.Marshaler { + return _mLookupLookupHostnameRequest +} + +type LookupLookupIpRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` + // The hostname to look up. + // + // Must be a valid host domain name; i.e. may not be an IP address in + // dotted-decimal notation. + // + // If it is an Internationalized Domain Name, it must be encoded as per + // RFC 3490. + Hostname string `fidl_offset_v2:"0" fidl_bounds:"255"` + Options LookupIpOptions `fidl_offset_v2:"16"` +} + +var _mLookupLookupIpRequest = _bindings.CreateLazyMarshaler(LookupLookupIpRequest{}) + +func (msg *LookupLookupIpRequest) Marshaler() _bindings.Marshaler { + return _mLookupLookupIpRequest +} + type LookupLookupHostnameResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` Hostname string `fidl_offset_v2:"0" fidl_bounds:"255"` @@ -111,102 +177,6 @@ return _mLookupLookupIpResponse } -type dnsServerWatcherWithCtxWatchServersResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Servers []DnsServer `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mdnsServerWatcherWithCtxWatchServersResponse = _bindings.CreateLazyMarshaler(dnsServerWatcherWithCtxWatchServersResponse{}) - -func (msg *dnsServerWatcherWithCtxWatchServersResponse) Marshaler() _bindings.Marshaler { - return _mdnsServerWatcherWithCtxWatchServersResponse -} - -type lookupWithCtxLookupIpRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"32" fidl_alignment_v2:"8"` - // The hostname to look up. - // - // Must be a valid host domain name; i.e. may not be an IP address in - // dotted-decimal notation. - // - // If it is an Internationalized Domain Name, it must be encoded as per - // RFC 3490. - Hostname string `fidl_offset_v2:"0" fidl_bounds:"255"` - Options LookupIpOptions `fidl_offset_v2:"16"` -} - -var _mlookupWithCtxLookupIpRequest = _bindings.CreateLazyMarshaler(lookupWithCtxLookupIpRequest{}) - -func (msg *lookupWithCtxLookupIpRequest) Marshaler() _bindings.Marshaler { - return _mlookupWithCtxLookupIpRequest -} - -type lookupWithCtxLookupIpResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result LookupLookupIpResult `fidl_offset_v2:"0"` -} - -var _mlookupWithCtxLookupIpResponse = _bindings.CreateLazyMarshaler(lookupWithCtxLookupIpResponse{}) - -func (msg *lookupWithCtxLookupIpResponse) Marshaler() _bindings.Marshaler { - return _mlookupWithCtxLookupIpResponse -} - -type lookupWithCtxLookupHostnameRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.IpAddress `fidl_offset_v2:"0"` -} - -var _mlookupWithCtxLookupHostnameRequest = _bindings.CreateLazyMarshaler(lookupWithCtxLookupHostnameRequest{}) - -func (msg *lookupWithCtxLookupHostnameRequest) Marshaler() _bindings.Marshaler { - return _mlookupWithCtxLookupHostnameRequest -} - -type lookupWithCtxLookupHostnameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result LookupLookupHostnameResult `fidl_offset_v2:"0"` -} - -var _mlookupWithCtxLookupHostnameResponse = _bindings.CreateLazyMarshaler(lookupWithCtxLookupHostnameResponse{}) - -func (msg *lookupWithCtxLookupHostnameResponse) Marshaler() _bindings.Marshaler { - return _mlookupWithCtxLookupHostnameResponse -} - -type lookupAdminWithCtxSetDnsServersRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Servers []fuchsianet.SocketAddress `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mlookupAdminWithCtxSetDnsServersRequest = _bindings.CreateLazyMarshaler(lookupAdminWithCtxSetDnsServersRequest{}) - -func (msg *lookupAdminWithCtxSetDnsServersRequest) Marshaler() _bindings.Marshaler { - return _mlookupAdminWithCtxSetDnsServersRequest -} - -type lookupAdminWithCtxSetDnsServersResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result LookupAdminSetDnsServersResult `fidl_offset_v2:"0"` -} - -var _mlookupAdminWithCtxSetDnsServersResponse = _bindings.CreateLazyMarshaler(lookupAdminWithCtxSetDnsServersResponse{}) - -func (msg *lookupAdminWithCtxSetDnsServersResponse) Marshaler() _bindings.Marshaler { - return _mlookupAdminWithCtxSetDnsServersResponse -} - -type lookupAdminWithCtxGetDnsServersResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Servers []fuchsianet.SocketAddress `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mlookupAdminWithCtxGetDnsServersResponse = _bindings.CreateLazyMarshaler(lookupAdminWithCtxGetDnsServersResponse{}) - -func (msg *lookupAdminWithCtxGetDnsServersResponse) Marshaler() _bindings.Marshaler { - return _mlookupAdminWithCtxGetDnsServersResponse -} - type I_dnsServerSourceTag uint64 const ( @@ -683,6 +653,11 @@ // If not set, interpreted as false. SortAddresses bool `fidl_ordinal:"3"` SortAddressesPresent bool + // Include the canonical name. + // + // If not set, interpreted as false. + CanonicalNameLookup bool `fidl_ordinal:"4"` + CanonicalNameLookupPresent bool } var _mLookupIpOptions = _bindings.CreateLazyMarshaler(LookupIpOptions{}) @@ -763,6 +738,30 @@ u.SortAddressesPresent = false } +func (u *LookupIpOptions) SetCanonicalNameLookup(canonicalNameLookup bool) { + u.CanonicalNameLookup = canonicalNameLookup + u.CanonicalNameLookupPresent = true +} + +func (u *LookupIpOptions) GetCanonicalNameLookup() bool { + return u.CanonicalNameLookup +} + +func (u *LookupIpOptions) GetCanonicalNameLookupWithDefault(_default bool) bool { + if !u.HasCanonicalNameLookup() { + return _default + } + return u.CanonicalNameLookup +} + +func (u *LookupIpOptions) HasCanonicalNameLookup() bool { + return u.CanonicalNameLookupPresent +} + +func (u *LookupIpOptions) ClearCanonicalNameLookup() { + u.CanonicalNameLookupPresent = false +} + func (u *LookupIpOptions) HasUnknownData() bool { return u.I_unknownData != nil } @@ -778,8 +777,13 @@ // // If sorting was requested, `addresses` is sorted in order of // preference, most preferred destination address first. - Addresses []fuchsianet.IpAddress `fidl_bounds:"" fidl_ordinal:"1"` + Addresses []fuchsianet.IpAddress `fidl_bounds:"1024" fidl_ordinal:"1"` AddressesPresent bool + // The canonical name of the requested hostname. + // + // Provided only if requested. + CanonicalName string `fidl_bounds:"255" fidl_ordinal:"2"` + CanonicalNamePresent bool } var _mLookupResult = _bindings.CreateLazyMarshaler(LookupResult{}) @@ -812,6 +816,30 @@ u.AddressesPresent = false } +func (u *LookupResult) SetCanonicalName(canonicalName string) { + u.CanonicalName = canonicalName + u.CanonicalNamePresent = true +} + +func (u *LookupResult) GetCanonicalName() string { + return u.CanonicalName +} + +func (u *LookupResult) GetCanonicalNameWithDefault(_default string) string { + if !u.HasCanonicalName() { + return _default + } + return u.CanonicalName +} + +func (u *LookupResult) HasCanonicalName() bool { + return u.CanonicalNamePresent +} + +func (u *LookupResult) ClearCanonicalName() { + u.CanonicalNamePresent = false +} + func (u *LookupResult) HasUnknownData() bool { return u.I_unknownData != nil } @@ -906,7 +934,7 @@ // - response `servers` The list of servers to use for DNS resolution, in priority order. func (p *DnsServerWatcherWithCtxInterface) WatchServers(ctx_ _bindings.Context) ([]DnsServer, error) { var req_ _bindings.Message - resp_ := &dnsServerWatcherWithCtxWatchServersResponse{} + resp_ := &DnsServerWatcherWatchServersResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DnsServerWatcherWatchServersOrdinal, req_, resp_) return (*resp_).Servers, err_ } @@ -938,6 +966,16 @@ return DnsServerWatcherWithCtxInterfaceRequest(req), (*DnsServerWatcherWithCtxInterface)(cli), err } +// Implements ServiceRequest. +func (_ DnsServerWatcherWithCtxInterfaceRequest) Name() string { + return "fuchsia.net.name.DnsServerWatcher" +} +func (c DnsServerWatcherWithCtxInterfaceRequest) ToChannel() _zx.Channel { + return c.Channel +} + +const DnsServerWatcherName = "fuchsia.net.name.DnsServerWatcher" + type DnsServerWatcherWithCtxStub struct { Impl DnsServerWatcherWithCtx } @@ -946,7 +984,7 @@ switch args_.Ordinal { case DnsServerWatcherWatchServersOrdinal: servers, err_ := s_.Impl.WatchServers(args_.Ctx) - out_ := &dnsServerWatcherWithCtxWatchServersResponse{Servers: servers} + out_ := &DnsServerWatcherWatchServersResponse{Servers: servers} return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -963,18 +1001,18 @@ // Lookup a list of IP addresses by hostname. func (p *LookupWithCtxInterface) LookupIp(ctx_ _bindings.Context, hostname string, options LookupIpOptions) (LookupLookupIpResult, error) { - req_ := &lookupWithCtxLookupIpRequest{Hostname: hostname, Options: options} - resp_ := &lookupWithCtxLookupIpResponse{} + req_ := &LookupLookupIpRequest{Hostname: hostname, Options: options} + resp_ := &LookupLookupIpResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(LookupLookupIpOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Look up a hostname by IP address. func (p *LookupWithCtxInterface) LookupHostname(ctx_ _bindings.Context, addr fuchsianet.IpAddress) (LookupLookupHostnameResult, error) { - req_ := &lookupWithCtxLookupHostnameRequest{Addr: addr} - resp_ := &lookupWithCtxLookupHostnameResponse{} + req_ := &LookupLookupHostnameRequest{Addr: addr} + resp_ := &LookupLookupHostnameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(LookupLookupHostnameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Provides name and address resolution. @@ -1011,7 +1049,7 @@ func (s_ *LookupWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case LookupLookupIpOrdinal: - in_ := &lookupWithCtxLookupIpRequest{} + in_ := &LookupLookupIpRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -1019,11 +1057,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.LookupIp(args_.Ctx, (*in_).Hostname, (*in_).Options) - out_ := &lookupWithCtxLookupIpResponse{Result: result} + payload, err_ := s_.Impl.LookupIp(args_.Ctx, (*in_).Hostname, (*in_).Options) + out_ := &payload return out_, true, err_ case LookupLookupHostnameOrdinal: - in_ := &lookupWithCtxLookupHostnameRequest{} + in_ := &LookupLookupHostnameRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -1031,8 +1069,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.LookupHostname(args_.Ctx, (*in_).Addr) - out_ := &lookupWithCtxLookupHostnameResponse{Result: result} + payload, err_ := s_.Impl.LookupHostname(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -1056,17 +1094,17 @@ // * error Returns `ZX_ERR_INVALID_ARGS` if any of the provided addresses does not meet the // conditions above. func (p *LookupAdminWithCtxInterface) SetDnsServers(ctx_ _bindings.Context, servers []fuchsianet.SocketAddress) (LookupAdminSetDnsServersResult, error) { - req_ := &lookupAdminWithCtxSetDnsServersRequest{Servers: servers} - resp_ := &lookupAdminWithCtxSetDnsServersResponse{} + req_ := &LookupAdminSetDnsServersRequest{Servers: servers} + resp_ := &LookupAdminSetDnsServersResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(LookupAdminSetDnsServersOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Gets the DNS servers currently in use to resolve name lookups. // - response `servers` The list of servers in use by `LookupAdmin`, in priority order. func (p *LookupAdminWithCtxInterface) GetDnsServers(ctx_ _bindings.Context) ([]fuchsianet.SocketAddress, error) { var req_ _bindings.Message - resp_ := &lookupAdminWithCtxGetDnsServersResponse{} + resp_ := &LookupAdminGetDnsServersResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(LookupAdminGetDnsServersOrdinal, req_, resp_) return (*resp_).Servers, err_ } @@ -1113,7 +1151,7 @@ func (s_ *LookupAdminWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case LookupAdminSetDnsServersOrdinal: - in_ := &lookupAdminWithCtxSetDnsServersRequest{} + in_ := &LookupAdminSetDnsServersRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -1121,12 +1159,12 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetDnsServers(args_.Ctx, (*in_).Servers) - out_ := &lookupAdminWithCtxSetDnsServersResponse{Result: result} + payload, err_ := s_.Impl.SetDnsServers(args_.Ctx, (*in_).Servers) + out_ := &payload return out_, true, err_ case LookupAdminGetDnsServersOrdinal: servers, err_ := s_.Impl.GetDnsServers(args_.Ctx) - out_ := &lookupAdminWithCtxGetDnsServersResponse{Servers: servers} + out_ := &LookupAdminGetDnsServersResponse{Servers: servers} return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal
diff --git a/src/syscall/zx/posix/impl.go b/src/syscall/zx/posix/impl.go index 81472d2..c90898e 100644 --- a/src/syscall/zx/posix/impl.go +++ b/src/syscall/zx/posix/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package posix import (
diff --git a/src/syscall/zx/posix/socket/impl.go b/src/syscall/zx/posix/socket/impl.go index 059374d..3006942 100644 --- a/src/syscall/zx/posix/socket/impl.go +++ b/src/syscall/zx/posix/socket/impl.go
@@ -6,8 +6,6 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package socket import ( @@ -20,7 +18,7 @@ ) const ( - DatagramSocketProtocolName string = "fuchsia.posix.socket/DatagramSocket" + DatagramSocketProtocolName_ string = "fuchsia.posix.socket/DatagramSocket" // Constant bounding the number of eventpairs returned by Netstack to clients // of the fast protocol. // @@ -28,22 +26,22 @@ // is defined in `//zircon/system/public/zircon/types.h` and bounds the number of eventpairs // in a single call to `zx_object_wait_many`. The bias leaves room to allow clients to wait // for errors on the zircon socket in the same call. - FastUdpWaitManyMaximumItems uint32 = 63 - SignalDatagramError uint32 = UserSignal2 - SignalDatagramIncoming uint32 = UserSignal0 - SignalDatagramOutgoing uint32 = UserSignal1 - SignalDatagramShutdownRead uint32 = UserSignal4 - SignalDatagramShutdownWrite uint32 = UserSignal5 - SignalStreamConnected uint32 = UserSignal3 - SignalStreamIncoming uint32 = UserSignal0 - StreamSocketProtocolName string = "fuchsia.posix.socket/StreamSocket" - SynchronousDatagramSocketProtocolName string = "fuchsia.posix.socket/SynchronousDatagramSocket" - UserSignal0 uint32 = 16777216 - UserSignal1 uint32 = 33554432 - UserSignal2 uint32 = 67108864 - UserSignal3 uint32 = 134217728 - UserSignal4 uint32 = 268435456 - UserSignal5 uint32 = 536870912 + FastUdpWaitManyMaximumItems uint32 = 63 + SignalDatagramError uint32 = UserSignal2 + SignalDatagramIncoming uint32 = UserSignal0 + SignalDatagramOutgoing uint32 = UserSignal1 + SignalDatagramShutdownRead uint32 = UserSignal4 + SignalDatagramShutdownWrite uint32 = UserSignal5 + SignalStreamConnected uint32 = UserSignal3 + SignalStreamIncoming uint32 = UserSignal0 + StreamSocketProtocolName_ string = "fuchsia.posix.socket/StreamSocket" + SynchronousDatagramSocketProtocolName_ string = "fuchsia.posix.socket/SynchronousDatagramSocket" + UserSignal0 uint32 = 16777216 + UserSignal1 uint32 = 33554432 + UserSignal2 uint32 = 67108864 + UserSignal3 uint32 = 134217728 + UserSignal4 uint32 = 268435456 + UserSignal5 uint32 = 536870912 ) var _ _bindings.Enum = DatagramSocketProtocol(0) @@ -484,12 +482,13 @@ type CmsgRequests uint32 const ( - CmsgRequestsIpTos CmsgRequests = 1 - CmsgRequestsIpTtl CmsgRequests = 2 - CmsgRequestsIpv6Tclass CmsgRequests = 4 - CmsgRequestsIpv6Hoplimit CmsgRequests = 8 - CmsgRequestsIpv6Pktinfo CmsgRequests = 16 - CmsgRequests_Mask CmsgRequests = 31 + CmsgRequestsIpTos CmsgRequests = 1 + CmsgRequestsIpTtl CmsgRequests = 2 + CmsgRequestsIpv6Tclass CmsgRequests = 4 + CmsgRequestsIpv6Hoplimit CmsgRequests = 8 + CmsgRequestsIpv6Pktinfo CmsgRequests = 16 + CmsgRequestsIpRecvorigdstaddr CmsgRequests = 32 + CmsgRequests_Mask CmsgRequests = 63 ) func (_ CmsgRequests) I_BitsMask() CmsgRequests { @@ -554,6 +553,12 @@ } buf.WriteString("Ipv6Pktinfo") } + if 32&x != 0 { + if buf.Len() != 0 { + buf.WriteRune('|') + } + buf.WriteString("IpRecvorigdstaddr") + } if buf.Len() == 0 { buf.WriteString("<empty bits>") } @@ -901,6 +906,293 @@ return _mBaseDatagramSocketGetInfoResponse } +type BaseNetworkSocketAddIpMembershipRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Membership IpMulticastMembership `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketAddIpMembershipRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketAddIpMembershipRequest{}) + +func (msg *BaseNetworkSocketAddIpMembershipRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketAddIpMembershipRequest +} + +type BaseNetworkSocketAddIpv6MembershipRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketAddIpv6MembershipRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketAddIpv6MembershipRequest{}) + +func (msg *BaseNetworkSocketAddIpv6MembershipRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketAddIpv6MembershipRequest +} + +type BaseNetworkSocketBindRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketBindRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketBindRequest{}) + +func (msg *BaseNetworkSocketBindRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketBindRequest +} + +type BaseNetworkSocketConnectRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketConnectRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketConnectRequest{}) + +func (msg *BaseNetworkSocketConnectRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketConnectRequest +} + +type BaseNetworkSocketDropIpMembershipRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Membership IpMulticastMembership `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketDropIpMembershipRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketDropIpMembershipRequest{}) + +func (msg *BaseNetworkSocketDropIpMembershipRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketDropIpMembershipRequest +} + +type BaseNetworkSocketDropIpv6MembershipRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` + Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketDropIpv6MembershipRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketDropIpv6MembershipRequest{}) + +func (msg *BaseNetworkSocketDropIpv6MembershipRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketDropIpv6MembershipRequest +} + +type BaseNetworkSocketSetIpMulticastInterfaceRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Iface uint64 `fidl_offset_v2:"0"` + Address fuchsianet.Ipv4Address `fidl_offset_v2:"8"` +} + +var _mBaseNetworkSocketSetIpMulticastInterfaceRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpMulticastInterfaceRequest{}) + +func (msg *BaseNetworkSocketSetIpMulticastInterfaceRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpMulticastInterfaceRequest +} + +type BaseNetworkSocketSetIpMulticastLoopbackRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpMulticastLoopbackRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpMulticastLoopbackRequest{}) + +func (msg *BaseNetworkSocketSetIpMulticastLoopbackRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpMulticastLoopbackRequest +} + +type BaseNetworkSocketSetIpMulticastTtlRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Value OptionalUint8 `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpMulticastTtlRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpMulticastTtlRequest{}) + +func (msg *BaseNetworkSocketSetIpMulticastTtlRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpMulticastTtlRequest +} + +type BaseNetworkSocketSetIpPacketInfoRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpPacketInfoRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpPacketInfoRequest{}) + +func (msg *BaseNetworkSocketSetIpPacketInfoRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpPacketInfoRequest +} + +type BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{}) + +func (msg *BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest +} + +type BaseNetworkSocketSetIpReceiveTtlRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpReceiveTtlRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpReceiveTtlRequest{}) + +func (msg *BaseNetworkSocketSetIpReceiveTtlRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpReceiveTtlRequest +} + +type BaseNetworkSocketSetIpReceiveTypeOfServiceRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpReceiveTypeOfServiceRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{}) + +func (msg *BaseNetworkSocketSetIpReceiveTypeOfServiceRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpReceiveTypeOfServiceRequest +} + +type BaseNetworkSocketSetIpTransparentRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpTransparentRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpTransparentRequest{}) + +func (msg *BaseNetworkSocketSetIpTransparentRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpTransparentRequest +} + +type BaseNetworkSocketSetIpTtlRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Value OptionalUint8 `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpTtlRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpTtlRequest{}) + +func (msg *BaseNetworkSocketSetIpTtlRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpTtlRequest +} + +type BaseNetworkSocketSetIpTypeOfServiceRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value uint8 `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpTypeOfServiceRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpTypeOfServiceRequest{}) + +func (msg *BaseNetworkSocketSetIpTypeOfServiceRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpTypeOfServiceRequest +} + +type BaseNetworkSocketSetIpv6MulticastHopsRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Value OptionalUint8 `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpv6MulticastHopsRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpv6MulticastHopsRequest{}) + +func (msg *BaseNetworkSocketSetIpv6MulticastHopsRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpv6MulticastHopsRequest +} + +type BaseNetworkSocketSetIpv6MulticastInterfaceRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` + Value uint64 `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpv6MulticastInterfaceRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpv6MulticastInterfaceRequest{}) + +func (msg *BaseNetworkSocketSetIpv6MulticastInterfaceRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpv6MulticastInterfaceRequest +} + +type BaseNetworkSocketSetIpv6MulticastLoopbackRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpv6MulticastLoopbackRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpv6MulticastLoopbackRequest{}) + +func (msg *BaseNetworkSocketSetIpv6MulticastLoopbackRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpv6MulticastLoopbackRequest +} + +type BaseNetworkSocketSetIpv6OnlyRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpv6OnlyRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpv6OnlyRequest{}) + +func (msg *BaseNetworkSocketSetIpv6OnlyRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpv6OnlyRequest +} + +type BaseNetworkSocketSetIpv6ReceiveHopLimitRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpv6ReceiveHopLimitRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{}) + +func (msg *BaseNetworkSocketSetIpv6ReceiveHopLimitRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpv6ReceiveHopLimitRequest +} + +type BaseNetworkSocketSetIpv6ReceivePacketInfoRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpv6ReceivePacketInfoRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{}) + +func (msg *BaseNetworkSocketSetIpv6ReceivePacketInfoRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpv6ReceivePacketInfoRequest +} + +type BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpv6ReceiveTrafficClassRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{}) + +func (msg *BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpv6ReceiveTrafficClassRequest +} + +type BaseNetworkSocketSetIpv6TrafficClassRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Value OptionalUint8 `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpv6TrafficClassRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpv6TrafficClassRequest{}) + +func (msg *BaseNetworkSocketSetIpv6TrafficClassRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpv6TrafficClassRequest +} + +type BaseNetworkSocketSetIpv6UnicastHopsRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Value OptionalUint8 `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketSetIpv6UnicastHopsRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpv6UnicastHopsRequest{}) + +func (msg *BaseNetworkSocketSetIpv6UnicastHopsRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpv6UnicastHopsRequest +} + +type BaseNetworkSocketShutdownRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"2"` + Mode ShutdownMode `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketShutdownRequest = _bindings.CreateLazyMarshaler(BaseNetworkSocketShutdownRequest{}) + +func (msg *BaseNetworkSocketShutdownRequest) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketShutdownRequest +} + type BaseNetworkSocketAddIpMembershipResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` } @@ -1015,6 +1307,17 @@ return _mBaseNetworkSocketGetIpPacketInfoResponse } +type BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse = _bindings.CreateLazyMarshaler(BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse{}) + +func (msg *BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse +} + type BaseNetworkSocketGetIpReceiveTtlResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` Value bool `fidl_offset_v2:"0"` @@ -1037,6 +1340,17 @@ return _mBaseNetworkSocketGetIpReceiveTypeOfServiceResponse } +type BaseNetworkSocketGetIpTransparentResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketGetIpTransparentResponse = _bindings.CreateLazyMarshaler(BaseNetworkSocketGetIpTransparentResponse{}) + +func (msg *BaseNetworkSocketGetIpTransparentResponse) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketGetIpTransparentResponse +} + type BaseNetworkSocketGetIpTtlResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` Value uint8 `fidl_offset_v2:"0"` @@ -1158,6 +1472,17 @@ return _mBaseNetworkSocketGetIpv6UnicastHopsResponse } +type BaseNetworkSocketGetOriginalDestinationResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Value fuchsianet.SocketAddress `fidl_offset_v2:"0"` +} + +var _mBaseNetworkSocketGetOriginalDestinationResponse = _bindings.CreateLazyMarshaler(BaseNetworkSocketGetOriginalDestinationResponse{}) + +func (msg *BaseNetworkSocketGetOriginalDestinationResponse) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketGetOriginalDestinationResponse +} + type BaseNetworkSocketGetPeerNameResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` @@ -1220,6 +1545,16 @@ return _mBaseNetworkSocketSetIpPacketInfoResponse } +type BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` +} + +var _mBaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse{}) + +func (msg *BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse +} + type BaseNetworkSocketSetIpReceiveTtlResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` } @@ -1240,6 +1575,16 @@ return _mBaseNetworkSocketSetIpReceiveTypeOfServiceResponse } +type BaseNetworkSocketSetIpTransparentResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` +} + +var _mBaseNetworkSocketSetIpTransparentResponse = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpTransparentResponse{}) + +func (msg *BaseNetworkSocketSetIpTransparentResponse) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpTransparentResponse +} + type BaseNetworkSocketSetIpTtlResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` } @@ -1360,6 +1705,128 @@ return _mBaseNetworkSocketShutdownResponse } +type BaseSocketSetBindToDeviceRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Value string `fidl_offset_v2:"0" fidl_bounds:"15"` +} + +var _mBaseSocketSetBindToDeviceRequest = _bindings.CreateLazyMarshaler(BaseSocketSetBindToDeviceRequest{}) + +func (msg *BaseSocketSetBindToDeviceRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetBindToDeviceRequest +} + +type BaseSocketSetBroadcastRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseSocketSetBroadcastRequest = _bindings.CreateLazyMarshaler(BaseSocketSetBroadcastRequest{}) + +func (msg *BaseSocketSetBroadcastRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetBroadcastRequest +} + +type BaseSocketSetKeepAliveRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseSocketSetKeepAliveRequest = _bindings.CreateLazyMarshaler(BaseSocketSetKeepAliveRequest{}) + +func (msg *BaseSocketSetKeepAliveRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetKeepAliveRequest +} + +type BaseSocketSetLingerRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` + Linger bool `fidl_offset_v2:"0"` + LengthSecs uint32 `fidl_offset_v2:"4"` +} + +var _mBaseSocketSetLingerRequest = _bindings.CreateLazyMarshaler(BaseSocketSetLingerRequest{}) + +func (msg *BaseSocketSetLingerRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetLingerRequest +} + +type BaseSocketSetNoCheckRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseSocketSetNoCheckRequest = _bindings.CreateLazyMarshaler(BaseSocketSetNoCheckRequest{}) + +func (msg *BaseSocketSetNoCheckRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetNoCheckRequest +} + +type BaseSocketSetOutOfBandInlineRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseSocketSetOutOfBandInlineRequest = _bindings.CreateLazyMarshaler(BaseSocketSetOutOfBandInlineRequest{}) + +func (msg *BaseSocketSetOutOfBandInlineRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetOutOfBandInlineRequest +} + +type BaseSocketSetReceiveBufferRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` + ValueBytes uint64 `fidl_offset_v2:"0"` +} + +var _mBaseSocketSetReceiveBufferRequest = _bindings.CreateLazyMarshaler(BaseSocketSetReceiveBufferRequest{}) + +func (msg *BaseSocketSetReceiveBufferRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetReceiveBufferRequest +} + +type BaseSocketSetReuseAddressRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseSocketSetReuseAddressRequest = _bindings.CreateLazyMarshaler(BaseSocketSetReuseAddressRequest{}) + +func (msg *BaseSocketSetReuseAddressRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetReuseAddressRequest +} + +type BaseSocketSetReusePortRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mBaseSocketSetReusePortRequest = _bindings.CreateLazyMarshaler(BaseSocketSetReusePortRequest{}) + +func (msg *BaseSocketSetReusePortRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetReusePortRequest +} + +type BaseSocketSetSendBufferRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` + ValueBytes uint64 `fidl_offset_v2:"0"` +} + +var _mBaseSocketSetSendBufferRequest = _bindings.CreateLazyMarshaler(BaseSocketSetSendBufferRequest{}) + +func (msg *BaseSocketSetSendBufferRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetSendBufferRequest +} + +type BaseSocketSetTimestampRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Value TimestampOption `fidl_offset_v2:"0"` +} + +var _mBaseSocketSetTimestampRequest = _bindings.CreateLazyMarshaler(BaseSocketSetTimestampRequest{}) + +func (msg *BaseSocketSetTimestampRequest) Marshaler() _bindings.Marshaler { + return _mBaseSocketSetTimestampRequest +} + type BaseSocketGetAcceptConnResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` Value bool `fidl_offset_v2:"0"` @@ -1695,6 +2162,86 @@ return _mIpv6PktInfoSendControlData } +type ProviderDatagramSocketDeprecatedRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` + Domain Domain `fidl_offset_v2:"0"` + Proto DatagramSocketProtocol `fidl_offset_v2:"4"` +} + +var _mProviderDatagramSocketDeprecatedRequest = _bindings.CreateLazyMarshaler(ProviderDatagramSocketDeprecatedRequest{}) + +func (msg *ProviderDatagramSocketDeprecatedRequest) Marshaler() _bindings.Marshaler { + return _mProviderDatagramSocketDeprecatedRequest +} + +type ProviderDatagramSocketRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` + Domain Domain `fidl_offset_v2:"0"` + Proto DatagramSocketProtocol `fidl_offset_v2:"4"` +} + +var _mProviderDatagramSocketRequest = _bindings.CreateLazyMarshaler(ProviderDatagramSocketRequest{}) + +func (msg *ProviderDatagramSocketRequest) Marshaler() _bindings.Marshaler { + return _mProviderDatagramSocketRequest +} + +type ProviderGetInterfaceAddressesResponse struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Interfaces []InterfaceAddresses `fidl_offset_v2:"0" fidl_bounds:""` +} + +var _mProviderGetInterfaceAddressesResponse = _bindings.CreateLazyMarshaler(ProviderGetInterfaceAddressesResponse{}) + +func (msg *ProviderGetInterfaceAddressesResponse) Marshaler() _bindings.Marshaler { + return _mProviderGetInterfaceAddressesResponse +} + +type ProviderInterfaceIndexToNameRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` + Index uint64 `fidl_offset_v2:"0"` +} + +var _mProviderInterfaceIndexToNameRequest = _bindings.CreateLazyMarshaler(ProviderInterfaceIndexToNameRequest{}) + +func (msg *ProviderInterfaceIndexToNameRequest) Marshaler() _bindings.Marshaler { + return _mProviderInterfaceIndexToNameRequest +} + +type ProviderInterfaceNameToFlagsRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Name string `fidl_offset_v2:"0" fidl_bounds:"15"` +} + +var _mProviderInterfaceNameToFlagsRequest = _bindings.CreateLazyMarshaler(ProviderInterfaceNameToFlagsRequest{}) + +func (msg *ProviderInterfaceNameToFlagsRequest) Marshaler() _bindings.Marshaler { + return _mProviderInterfaceNameToFlagsRequest +} + +type ProviderInterfaceNameToIndexRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + Name string `fidl_offset_v2:"0" fidl_bounds:"15"` +} + +var _mProviderInterfaceNameToIndexRequest = _bindings.CreateLazyMarshaler(ProviderInterfaceNameToIndexRequest{}) + +func (msg *ProviderInterfaceNameToIndexRequest) Marshaler() _bindings.Marshaler { + return _mProviderInterfaceNameToIndexRequest +} + +type ProviderStreamSocketRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` + Domain Domain `fidl_offset_v2:"0"` + Proto StreamSocketProtocol `fidl_offset_v2:"4"` +} + +var _mProviderStreamSocketRequest = _bindings.CreateLazyMarshaler(ProviderStreamSocketRequest{}) + +func (msg *ProviderStreamSocketRequest) Marshaler() _bindings.Marshaler { + return _mProviderStreamSocketRequest +} + type ProviderDatagramSocketDeprecatedResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` S SynchronousDatagramSocketWithCtxInterface `fidl_offset_v2:"0" fidl_handle_subtype:"4"` @@ -1750,6 +2297,171 @@ return _mProviderStreamSocketResponse } +type StreamSocketAcceptRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + WantAddr bool `fidl_offset_v2:"0"` +} + +var _mStreamSocketAcceptRequest = _bindings.CreateLazyMarshaler(StreamSocketAcceptRequest{}) + +func (msg *StreamSocketAcceptRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketAcceptRequest +} + +type StreamSocketListenRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"2"` + Backlog int16 `fidl_offset_v2:"0"` +} + +var _mStreamSocketListenRequest = _bindings.CreateLazyMarshaler(StreamSocketListenRequest{}) + +func (msg *StreamSocketListenRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketListenRequest +} + +type StreamSocketSetTcpCongestionRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Value TcpCongestionControl `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpCongestionRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpCongestionRequest{}) + +func (msg *StreamSocketSetTcpCongestionRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpCongestionRequest +} + +type StreamSocketSetTcpCorkRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpCorkRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpCorkRequest{}) + +func (msg *StreamSocketSetTcpCorkRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpCorkRequest +} + +type StreamSocketSetTcpDeferAcceptRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + ValueSecs uint32 `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpDeferAcceptRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpDeferAcceptRequest{}) + +func (msg *StreamSocketSetTcpDeferAcceptRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpDeferAcceptRequest +} + +type StreamSocketSetTcpKeepAliveCountRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Value uint32 `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpKeepAliveCountRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpKeepAliveCountRequest{}) + +func (msg *StreamSocketSetTcpKeepAliveCountRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpKeepAliveCountRequest +} + +type StreamSocketSetTcpKeepAliveIdleRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + ValueSecs uint32 `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpKeepAliveIdleRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpKeepAliveIdleRequest{}) + +func (msg *StreamSocketSetTcpKeepAliveIdleRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpKeepAliveIdleRequest +} + +type StreamSocketSetTcpKeepAliveIntervalRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + ValueSecs uint32 `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpKeepAliveIntervalRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpKeepAliveIntervalRequest{}) + +func (msg *StreamSocketSetTcpKeepAliveIntervalRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpKeepAliveIntervalRequest +} + +type StreamSocketSetTcpLingerRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` + ValueSecs OptionalUint32 `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpLingerRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpLingerRequest{}) + +func (msg *StreamSocketSetTcpLingerRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpLingerRequest +} + +type StreamSocketSetTcpMaxSegmentRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + ValueBytes uint32 `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpMaxSegmentRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpMaxSegmentRequest{}) + +func (msg *StreamSocketSetTcpMaxSegmentRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpMaxSegmentRequest +} + +type StreamSocketSetTcpNoDelayRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpNoDelayRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpNoDelayRequest{}) + +func (msg *StreamSocketSetTcpNoDelayRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpNoDelayRequest +} + +type StreamSocketSetTcpQuickAckRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` + Value bool `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpQuickAckRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpQuickAckRequest{}) + +func (msg *StreamSocketSetTcpQuickAckRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpQuickAckRequest +} + +type StreamSocketSetTcpSynCountRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Value uint32 `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpSynCountRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpSynCountRequest{}) + +func (msg *StreamSocketSetTcpSynCountRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpSynCountRequest +} + +type StreamSocketSetTcpUserTimeoutRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + ValueMillis uint32 `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpUserTimeoutRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpUserTimeoutRequest{}) + +func (msg *StreamSocketSetTcpUserTimeoutRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpUserTimeoutRequest +} + +type StreamSocketSetTcpWindowClampRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Value uint32 `fidl_offset_v2:"0"` +} + +var _mStreamSocketSetTcpWindowClampRequest = _bindings.CreateLazyMarshaler(StreamSocketSetTcpWindowClampRequest{}) + +func (msg *StreamSocketSetTcpWindowClampRequest) Marshaler() _bindings.Marshaler { + return _mStreamSocketSetTcpWindowClampRequest +} + type StreamSocketAcceptResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` Addr *fuchsianet.SocketAddress `fidl_offset_v2:"0"` @@ -2068,6 +2780,34 @@ return _mStreamSocketSetTcpWindowClampResponse } +type SynchronousDatagramSocketRecvMsgRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"12" fidl_alignment_v2:"4"` + WantAddr bool `fidl_offset_v2:"0"` + DataLen uint32 `fidl_offset_v2:"4"` + WantControl bool `fidl_offset_v2:"8"` + Flags RecvMsgFlags `fidl_offset_v2:"10"` +} + +var _mSynchronousDatagramSocketRecvMsgRequest = _bindings.CreateLazyMarshaler(SynchronousDatagramSocketRecvMsgRequest{}) + +func (msg *SynchronousDatagramSocketRecvMsgRequest) Marshaler() _bindings.Marshaler { + return _mSynchronousDatagramSocketRecvMsgRequest +} + +type SynchronousDatagramSocketSendMsgRequest struct { + _ struct{} `fidl:"s" fidl_size_v2:"56" fidl_alignment_v2:"8"` + Addr *fuchsianet.SocketAddress `fidl_offset_v2:"0"` + Data []uint8 `fidl_offset_v2:"16" fidl_bounds:""` + Control DatagramSocketSendControlData `fidl_offset_v2:"32"` + Flags SendMsgFlags `fidl_offset_v2:"48"` +} + +var _mSynchronousDatagramSocketSendMsgRequest = _bindings.CreateLazyMarshaler(SynchronousDatagramSocketSendMsgRequest{}) + +func (msg *SynchronousDatagramSocketSendMsgRequest) Marshaler() _bindings.Marshaler { + return _mSynchronousDatagramSocketSendMsgRequest +} + type SynchronousDatagramSocketRecvMsgResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"56" fidl_alignment_v2:"8"` Addr *fuchsianet.SocketAddress `fidl_offset_v2:"0"` @@ -2108,7017 +2848,6 @@ return _mTimestamp } -type baseDatagramSocketWithCtxClone2Request struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Request fuchsiaunknown.CloneableWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mbaseDatagramSocketWithCtxClone2Request = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxClone2Request{}) - -func (msg *baseDatagramSocketWithCtxClone2Request) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxClone2Request -} - -type baseDatagramSocketWithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxCloseResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxCloseResponse{}) - -func (msg *baseDatagramSocketWithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxCloseResponse -} - -type baseDatagramSocketWithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mbaseDatagramSocketWithCtxQueryResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxQueryResponse{}) - -func (msg *baseDatagramSocketWithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxQueryResponse -} - -type baseDatagramSocketWithCtxSetReuseAddressRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetReuseAddressRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetReuseAddressRequest{}) - -func (msg *baseDatagramSocketWithCtxSetReuseAddressRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetReuseAddressRequest -} - -type baseDatagramSocketWithCtxSetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetReuseAddressResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetReuseAddressResponse{}) - -func (msg *baseDatagramSocketWithCtxSetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetReuseAddressResponse -} - -type baseDatagramSocketWithCtxGetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetReuseAddressResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetReuseAddressResponse{}) - -func (msg *baseDatagramSocketWithCtxGetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetReuseAddressResponse -} - -type baseDatagramSocketWithCtxGetErrorResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetErrorResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetErrorResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetErrorResponse{}) - -func (msg *baseDatagramSocketWithCtxGetErrorResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetErrorResponse -} - -type baseDatagramSocketWithCtxSetBroadcastRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetBroadcastRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetBroadcastRequest{}) - -func (msg *baseDatagramSocketWithCtxSetBroadcastRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetBroadcastRequest -} - -type baseDatagramSocketWithCtxSetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBroadcastResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetBroadcastResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetBroadcastResponse{}) - -func (msg *baseDatagramSocketWithCtxSetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetBroadcastResponse -} - -type baseDatagramSocketWithCtxGetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBroadcastResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetBroadcastResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetBroadcastResponse{}) - -func (msg *baseDatagramSocketWithCtxGetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetBroadcastResponse -} - -type baseDatagramSocketWithCtxSetSendBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetSendBufferRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetSendBufferRequest{}) - -func (msg *baseDatagramSocketWithCtxSetSendBufferRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetSendBufferRequest -} - -type baseDatagramSocketWithCtxSetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetSendBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetSendBufferResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetSendBufferResponse{}) - -func (msg *baseDatagramSocketWithCtxSetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetSendBufferResponse -} - -type baseDatagramSocketWithCtxGetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetSendBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetSendBufferResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetSendBufferResponse{}) - -func (msg *baseDatagramSocketWithCtxGetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetSendBufferResponse -} - -type baseDatagramSocketWithCtxSetReceiveBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetReceiveBufferRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetReceiveBufferRequest{}) - -func (msg *baseDatagramSocketWithCtxSetReceiveBufferRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetReceiveBufferRequest -} - -type baseDatagramSocketWithCtxSetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetReceiveBufferResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetReceiveBufferResponse{}) - -func (msg *baseDatagramSocketWithCtxSetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetReceiveBufferResponse -} - -type baseDatagramSocketWithCtxGetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetReceiveBufferResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetReceiveBufferResponse{}) - -func (msg *baseDatagramSocketWithCtxGetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetReceiveBufferResponse -} - -type baseDatagramSocketWithCtxSetKeepAliveRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetKeepAliveRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetKeepAliveRequest{}) - -func (msg *baseDatagramSocketWithCtxSetKeepAliveRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetKeepAliveRequest -} - -type baseDatagramSocketWithCtxSetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetKeepAliveResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetKeepAliveResponse{}) - -func (msg *baseDatagramSocketWithCtxSetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetKeepAliveResponse -} - -type baseDatagramSocketWithCtxGetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetKeepAliveResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetKeepAliveResponse{}) - -func (msg *baseDatagramSocketWithCtxGetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetKeepAliveResponse -} - -type baseDatagramSocketWithCtxSetOutOfBandInlineRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetOutOfBandInlineRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetOutOfBandInlineRequest{}) - -func (msg *baseDatagramSocketWithCtxSetOutOfBandInlineRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetOutOfBandInlineRequest -} - -type baseDatagramSocketWithCtxSetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetOutOfBandInlineResponse{}) - -func (msg *baseDatagramSocketWithCtxSetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetOutOfBandInlineResponse -} - -type baseDatagramSocketWithCtxGetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetOutOfBandInlineResponse{}) - -func (msg *baseDatagramSocketWithCtxGetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetOutOfBandInlineResponse -} - -type baseDatagramSocketWithCtxSetNoCheckRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetNoCheckRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetNoCheckRequest{}) - -func (msg *baseDatagramSocketWithCtxSetNoCheckRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetNoCheckRequest -} - -type baseDatagramSocketWithCtxSetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetNoCheckResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetNoCheckResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetNoCheckResponse{}) - -func (msg *baseDatagramSocketWithCtxSetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetNoCheckResponse -} - -type baseDatagramSocketWithCtxGetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetNoCheckResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetNoCheckResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetNoCheckResponse{}) - -func (msg *baseDatagramSocketWithCtxGetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetNoCheckResponse -} - -type baseDatagramSocketWithCtxSetLingerRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Linger bool `fidl_offset_v2:"0"` - LengthSecs uint32 `fidl_offset_v2:"4"` -} - -var _mbaseDatagramSocketWithCtxSetLingerRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetLingerRequest{}) - -func (msg *baseDatagramSocketWithCtxSetLingerRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetLingerRequest -} - -type baseDatagramSocketWithCtxSetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetLingerResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetLingerResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetLingerResponse{}) - -func (msg *baseDatagramSocketWithCtxSetLingerResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetLingerResponse -} - -type baseDatagramSocketWithCtxGetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetLingerResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetLingerResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetLingerResponse{}) - -func (msg *baseDatagramSocketWithCtxGetLingerResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetLingerResponse -} - -type baseDatagramSocketWithCtxSetReusePortRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetReusePortRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetReusePortRequest{}) - -func (msg *baseDatagramSocketWithCtxSetReusePortRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetReusePortRequest -} - -type baseDatagramSocketWithCtxSetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReusePortResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetReusePortResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetReusePortResponse{}) - -func (msg *baseDatagramSocketWithCtxSetReusePortResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetReusePortResponse -} - -type baseDatagramSocketWithCtxGetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReusePortResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetReusePortResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetReusePortResponse{}) - -func (msg *baseDatagramSocketWithCtxGetReusePortResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetReusePortResponse -} - -type baseDatagramSocketWithCtxGetAcceptConnResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetAcceptConnResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetAcceptConnResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetAcceptConnResponse{}) - -func (msg *baseDatagramSocketWithCtxGetAcceptConnResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetAcceptConnResponse -} - -type baseDatagramSocketWithCtxSetBindToDeviceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value string `fidl_offset_v2:"0" fidl_bounds:"15"` -} - -var _mbaseDatagramSocketWithCtxSetBindToDeviceRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetBindToDeviceRequest{}) - -func (msg *baseDatagramSocketWithCtxSetBindToDeviceRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetBindToDeviceRequest -} - -type baseDatagramSocketWithCtxSetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetBindToDeviceResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetBindToDeviceResponse{}) - -func (msg *baseDatagramSocketWithCtxSetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetBindToDeviceResponse -} - -type baseDatagramSocketWithCtxGetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetBindToDeviceResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetBindToDeviceResponse{}) - -func (msg *baseDatagramSocketWithCtxGetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetBindToDeviceResponse -} - -type baseDatagramSocketWithCtxSetTimestampRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Value TimestampOption `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetTimestampRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetTimestampRequest{}) - -func (msg *baseDatagramSocketWithCtxSetTimestampRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetTimestampRequest -} - -type baseDatagramSocketWithCtxSetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetTimestampResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetTimestampResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetTimestampResponse{}) - -func (msg *baseDatagramSocketWithCtxSetTimestampResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetTimestampResponse -} - -type baseDatagramSocketWithCtxGetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetTimestampResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetTimestampResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetTimestampResponse{}) - -func (msg *baseDatagramSocketWithCtxGetTimestampResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetTimestampResponse -} - -type baseDatagramSocketWithCtxBindRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxBindRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxBindRequest{}) - -func (msg *baseDatagramSocketWithCtxBindRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxBindRequest -} - -type baseDatagramSocketWithCtxBindResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketBindResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxBindResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxBindResponse{}) - -func (msg *baseDatagramSocketWithCtxBindResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxBindResponse -} - -type baseDatagramSocketWithCtxConnectRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxConnectRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxConnectRequest{}) - -func (msg *baseDatagramSocketWithCtxConnectRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxConnectRequest -} - -type baseDatagramSocketWithCtxConnectResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketConnectResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxConnectResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxConnectResponse{}) - -func (msg *baseDatagramSocketWithCtxConnectResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxConnectResponse -} - -type baseDatagramSocketWithCtxDisconnectResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDisconnectResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxDisconnectResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxDisconnectResponse{}) - -func (msg *baseDatagramSocketWithCtxDisconnectResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxDisconnectResponse -} - -type baseDatagramSocketWithCtxGetSockNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetSockNameResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetSockNameResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetSockNameResponse{}) - -func (msg *baseDatagramSocketWithCtxGetSockNameResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetSockNameResponse -} - -type baseDatagramSocketWithCtxGetPeerNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetPeerNameResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetPeerNameResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetPeerNameResponse{}) - -func (msg *baseDatagramSocketWithCtxGetPeerNameResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetPeerNameResponse -} - -type baseDatagramSocketWithCtxShutdownRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"2"` - Mode ShutdownMode `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxShutdownRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxShutdownRequest{}) - -func (msg *baseDatagramSocketWithCtxShutdownRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxShutdownRequest -} - -type baseDatagramSocketWithCtxShutdownResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketShutdownResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxShutdownResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxShutdownResponse{}) - -func (msg *baseDatagramSocketWithCtxShutdownResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxShutdownResponse -} - -type baseDatagramSocketWithCtxSetIpTypeOfServiceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value uint8 `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpTypeOfServiceRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpTypeOfServiceRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpTypeOfServiceRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpTypeOfServiceRequest -} - -type baseDatagramSocketWithCtxSetIpTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpTypeOfServiceResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpTypeOfServiceResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpTypeOfServiceResponse -} - -type baseDatagramSocketWithCtxGetIpTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpTypeOfServiceResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpTypeOfServiceResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpTypeOfServiceResponse -} - -type baseDatagramSocketWithCtxSetIpTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpTtlRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpTtlRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpTtlRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpTtlRequest -} - -type baseDatagramSocketWithCtxSetIpTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpTtlResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpTtlResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpTtlResponse -} - -type baseDatagramSocketWithCtxGetIpTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpTtlResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpTtlResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpTtlResponse -} - -type baseDatagramSocketWithCtxSetIpPacketInfoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpPacketInfoRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpPacketInfoRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpPacketInfoRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpPacketInfoRequest -} - -type baseDatagramSocketWithCtxSetIpPacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpPacketInfoResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpPacketInfoResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpPacketInfoResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpPacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpPacketInfoResponse -} - -type baseDatagramSocketWithCtxGetIpPacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpPacketInfoResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpPacketInfoResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpPacketInfoResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpPacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpPacketInfoResponse -} - -type baseDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest -} - -type baseDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpReceiveTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse -} - -type baseDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpReceiveTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse -} - -type baseDatagramSocketWithCtxSetIpReceiveTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpReceiveTtlRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpReceiveTtlRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpReceiveTtlRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpReceiveTtlRequest -} - -type baseDatagramSocketWithCtxSetIpReceiveTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpReceiveTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpReceiveTtlResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpReceiveTtlResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpReceiveTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpReceiveTtlResponse -} - -type baseDatagramSocketWithCtxGetIpReceiveTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpReceiveTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpReceiveTtlResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpReceiveTtlResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpReceiveTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpReceiveTtlResponse -} - -type baseDatagramSocketWithCtxSetIpMulticastInterfaceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Iface uint64 `fidl_offset_v2:"0"` - Address fuchsianet.Ipv4Address `fidl_offset_v2:"8"` -} - -var _mbaseDatagramSocketWithCtxSetIpMulticastInterfaceRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpMulticastInterfaceRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpMulticastInterfaceRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpMulticastInterfaceRequest -} - -type baseDatagramSocketWithCtxSetIpMulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpMulticastInterfaceResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpMulticastInterfaceResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpMulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpMulticastInterfaceResponse -} - -type baseDatagramSocketWithCtxGetIpMulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpMulticastInterfaceResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpMulticastInterfaceResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpMulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpMulticastInterfaceResponse -} - -type baseDatagramSocketWithCtxSetIpMulticastTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpMulticastTtlRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpMulticastTtlRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpMulticastTtlRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpMulticastTtlRequest -} - -type baseDatagramSocketWithCtxSetIpMulticastTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpMulticastTtlResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpMulticastTtlResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpMulticastTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpMulticastTtlResponse -} - -type baseDatagramSocketWithCtxGetIpMulticastTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpMulticastTtlResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpMulticastTtlResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpMulticastTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpMulticastTtlResponse -} - -type baseDatagramSocketWithCtxSetIpMulticastLoopbackRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpMulticastLoopbackRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpMulticastLoopbackRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpMulticastLoopbackRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpMulticastLoopbackRequest -} - -type baseDatagramSocketWithCtxSetIpMulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpMulticastLoopbackResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpMulticastLoopbackResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpMulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpMulticastLoopbackResponse -} - -type baseDatagramSocketWithCtxGetIpMulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpMulticastLoopbackResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpMulticastLoopbackResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpMulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpMulticastLoopbackResponse -} - -type baseDatagramSocketWithCtxAddIpMembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Membership IpMulticastMembership `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxAddIpMembershipRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxAddIpMembershipRequest{}) - -func (msg *baseDatagramSocketWithCtxAddIpMembershipRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxAddIpMembershipRequest -} - -type baseDatagramSocketWithCtxAddIpMembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketAddIpMembershipResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxAddIpMembershipResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxAddIpMembershipResponse{}) - -func (msg *baseDatagramSocketWithCtxAddIpMembershipResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxAddIpMembershipResponse -} - -type baseDatagramSocketWithCtxDropIpMembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Membership IpMulticastMembership `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxDropIpMembershipRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxDropIpMembershipRequest{}) - -func (msg *baseDatagramSocketWithCtxDropIpMembershipRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxDropIpMembershipRequest -} - -type baseDatagramSocketWithCtxDropIpMembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDropIpMembershipResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxDropIpMembershipResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxDropIpMembershipResponse{}) - -func (msg *baseDatagramSocketWithCtxDropIpMembershipResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxDropIpMembershipResponse -} - -type baseDatagramSocketWithCtxAddIpv6MembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxAddIpv6MembershipRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxAddIpv6MembershipRequest{}) - -func (msg *baseDatagramSocketWithCtxAddIpv6MembershipRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxAddIpv6MembershipRequest -} - -type baseDatagramSocketWithCtxAddIpv6MembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketAddIpv6MembershipResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxAddIpv6MembershipResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxAddIpv6MembershipResponse{}) - -func (msg *baseDatagramSocketWithCtxAddIpv6MembershipResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxAddIpv6MembershipResponse -} - -type baseDatagramSocketWithCtxDropIpv6MembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxDropIpv6MembershipRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxDropIpv6MembershipRequest{}) - -func (msg *baseDatagramSocketWithCtxDropIpv6MembershipRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxDropIpv6MembershipRequest -} - -type baseDatagramSocketWithCtxDropIpv6MembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDropIpv6MembershipResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxDropIpv6MembershipResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxDropIpv6MembershipResponse{}) - -func (msg *baseDatagramSocketWithCtxDropIpv6MembershipResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxDropIpv6MembershipResponse -} - -type baseDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - Value uint64 `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest -} - -type baseDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse -} - -type baseDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse -} - -type baseDatagramSocketWithCtxSetIpv6UnicastHopsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6UnicastHopsRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6UnicastHopsRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6UnicastHopsRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6UnicastHopsRequest -} - -type baseDatagramSocketWithCtxSetIpv6UnicastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6UnicastHopsResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6UnicastHopsResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6UnicastHopsResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6UnicastHopsResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6UnicastHopsResponse -} - -type baseDatagramSocketWithCtxGetIpv6UnicastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6UnicastHopsResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpv6UnicastHopsResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpv6UnicastHopsResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpv6UnicastHopsResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpv6UnicastHopsResponse -} - -type baseDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest -} - -type baseDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceiveHopLimitResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse -} - -type baseDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceiveHopLimitResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse -} - -type baseDatagramSocketWithCtxSetIpv6MulticastHopsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6MulticastHopsRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6MulticastHopsRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6MulticastHopsRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6MulticastHopsRequest -} - -type baseDatagramSocketWithCtxSetIpv6MulticastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastHopsResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6MulticastHopsResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6MulticastHopsResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6MulticastHopsResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6MulticastHopsResponse -} - -type baseDatagramSocketWithCtxGetIpv6MulticastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastHopsResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpv6MulticastHopsResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpv6MulticastHopsResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpv6MulticastHopsResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpv6MulticastHopsResponse -} - -type baseDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest -} - -type baseDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse -} - -type baseDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse -} - -type baseDatagramSocketWithCtxSetIpv6OnlyRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6OnlyRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6OnlyRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6OnlyRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6OnlyRequest -} - -type baseDatagramSocketWithCtxSetIpv6OnlyResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6OnlyResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6OnlyResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6OnlyResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6OnlyResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6OnlyResponse -} - -type baseDatagramSocketWithCtxGetIpv6OnlyResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6OnlyResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpv6OnlyResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpv6OnlyResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpv6OnlyResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpv6OnlyResponse -} - -type baseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest -} - -type baseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceiveTrafficClassResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse -} - -type baseDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceiveTrafficClassResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse -} - -type baseDatagramSocketWithCtxSetIpv6TrafficClassRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6TrafficClassRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6TrafficClassRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6TrafficClassRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6TrafficClassRequest -} - -type baseDatagramSocketWithCtxSetIpv6TrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6TrafficClassResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6TrafficClassResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6TrafficClassResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6TrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6TrafficClassResponse -} - -type baseDatagramSocketWithCtxGetIpv6TrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6TrafficClassResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpv6TrafficClassResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpv6TrafficClassResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpv6TrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpv6TrafficClassResponse -} - -type baseDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest -} - -type baseDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceivePacketInfoResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse{}) - -func (msg *baseDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse -} - -type baseDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceivePacketInfoResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse{}) - -func (msg *baseDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse -} - -type baseDatagramSocketWithCtxGetInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseDatagramSocketGetInfoResult `fidl_offset_v2:"0"` -} - -var _mbaseDatagramSocketWithCtxGetInfoResponse = _bindings.CreateLazyMarshaler(baseDatagramSocketWithCtxGetInfoResponse{}) - -func (msg *baseDatagramSocketWithCtxGetInfoResponse) Marshaler() _bindings.Marshaler { - return _mbaseDatagramSocketWithCtxGetInfoResponse -} - -type baseNetworkSocketWithCtxClone2Request struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Request fuchsiaunknown.CloneableWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mbaseNetworkSocketWithCtxClone2Request = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxClone2Request{}) - -func (msg *baseNetworkSocketWithCtxClone2Request) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxClone2Request -} - -type baseNetworkSocketWithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxCloseResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxCloseResponse{}) - -func (msg *baseNetworkSocketWithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxCloseResponse -} - -type baseNetworkSocketWithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mbaseNetworkSocketWithCtxQueryResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxQueryResponse{}) - -func (msg *baseNetworkSocketWithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxQueryResponse -} - -type baseNetworkSocketWithCtxSetReuseAddressRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetReuseAddressRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetReuseAddressRequest{}) - -func (msg *baseNetworkSocketWithCtxSetReuseAddressRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetReuseAddressRequest -} - -type baseNetworkSocketWithCtxSetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetReuseAddressResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetReuseAddressResponse{}) - -func (msg *baseNetworkSocketWithCtxSetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetReuseAddressResponse -} - -type baseNetworkSocketWithCtxGetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetReuseAddressResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetReuseAddressResponse{}) - -func (msg *baseNetworkSocketWithCtxGetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetReuseAddressResponse -} - -type baseNetworkSocketWithCtxGetErrorResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetErrorResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetErrorResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetErrorResponse{}) - -func (msg *baseNetworkSocketWithCtxGetErrorResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetErrorResponse -} - -type baseNetworkSocketWithCtxSetBroadcastRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetBroadcastRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetBroadcastRequest{}) - -func (msg *baseNetworkSocketWithCtxSetBroadcastRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetBroadcastRequest -} - -type baseNetworkSocketWithCtxSetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBroadcastResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetBroadcastResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetBroadcastResponse{}) - -func (msg *baseNetworkSocketWithCtxSetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetBroadcastResponse -} - -type baseNetworkSocketWithCtxGetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBroadcastResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetBroadcastResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetBroadcastResponse{}) - -func (msg *baseNetworkSocketWithCtxGetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetBroadcastResponse -} - -type baseNetworkSocketWithCtxSetSendBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetSendBufferRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetSendBufferRequest{}) - -func (msg *baseNetworkSocketWithCtxSetSendBufferRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetSendBufferRequest -} - -type baseNetworkSocketWithCtxSetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetSendBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetSendBufferResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetSendBufferResponse{}) - -func (msg *baseNetworkSocketWithCtxSetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetSendBufferResponse -} - -type baseNetworkSocketWithCtxGetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetSendBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetSendBufferResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetSendBufferResponse{}) - -func (msg *baseNetworkSocketWithCtxGetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetSendBufferResponse -} - -type baseNetworkSocketWithCtxSetReceiveBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetReceiveBufferRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetReceiveBufferRequest{}) - -func (msg *baseNetworkSocketWithCtxSetReceiveBufferRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetReceiveBufferRequest -} - -type baseNetworkSocketWithCtxSetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetReceiveBufferResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetReceiveBufferResponse{}) - -func (msg *baseNetworkSocketWithCtxSetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetReceiveBufferResponse -} - -type baseNetworkSocketWithCtxGetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetReceiveBufferResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetReceiveBufferResponse{}) - -func (msg *baseNetworkSocketWithCtxGetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetReceiveBufferResponse -} - -type baseNetworkSocketWithCtxSetKeepAliveRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetKeepAliveRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetKeepAliveRequest{}) - -func (msg *baseNetworkSocketWithCtxSetKeepAliveRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetKeepAliveRequest -} - -type baseNetworkSocketWithCtxSetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetKeepAliveResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetKeepAliveResponse{}) - -func (msg *baseNetworkSocketWithCtxSetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetKeepAliveResponse -} - -type baseNetworkSocketWithCtxGetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetKeepAliveResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetKeepAliveResponse{}) - -func (msg *baseNetworkSocketWithCtxGetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetKeepAliveResponse -} - -type baseNetworkSocketWithCtxSetOutOfBandInlineRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetOutOfBandInlineRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetOutOfBandInlineRequest{}) - -func (msg *baseNetworkSocketWithCtxSetOutOfBandInlineRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetOutOfBandInlineRequest -} - -type baseNetworkSocketWithCtxSetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetOutOfBandInlineResponse{}) - -func (msg *baseNetworkSocketWithCtxSetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetOutOfBandInlineResponse -} - -type baseNetworkSocketWithCtxGetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetOutOfBandInlineResponse{}) - -func (msg *baseNetworkSocketWithCtxGetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetOutOfBandInlineResponse -} - -type baseNetworkSocketWithCtxSetNoCheckRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetNoCheckRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetNoCheckRequest{}) - -func (msg *baseNetworkSocketWithCtxSetNoCheckRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetNoCheckRequest -} - -type baseNetworkSocketWithCtxSetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetNoCheckResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetNoCheckResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetNoCheckResponse{}) - -func (msg *baseNetworkSocketWithCtxSetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetNoCheckResponse -} - -type baseNetworkSocketWithCtxGetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetNoCheckResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetNoCheckResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetNoCheckResponse{}) - -func (msg *baseNetworkSocketWithCtxGetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetNoCheckResponse -} - -type baseNetworkSocketWithCtxSetLingerRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Linger bool `fidl_offset_v2:"0"` - LengthSecs uint32 `fidl_offset_v2:"4"` -} - -var _mbaseNetworkSocketWithCtxSetLingerRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetLingerRequest{}) - -func (msg *baseNetworkSocketWithCtxSetLingerRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetLingerRequest -} - -type baseNetworkSocketWithCtxSetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetLingerResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetLingerResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetLingerResponse{}) - -func (msg *baseNetworkSocketWithCtxSetLingerResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetLingerResponse -} - -type baseNetworkSocketWithCtxGetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetLingerResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetLingerResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetLingerResponse{}) - -func (msg *baseNetworkSocketWithCtxGetLingerResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetLingerResponse -} - -type baseNetworkSocketWithCtxSetReusePortRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetReusePortRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetReusePortRequest{}) - -func (msg *baseNetworkSocketWithCtxSetReusePortRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetReusePortRequest -} - -type baseNetworkSocketWithCtxSetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReusePortResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetReusePortResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetReusePortResponse{}) - -func (msg *baseNetworkSocketWithCtxSetReusePortResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetReusePortResponse -} - -type baseNetworkSocketWithCtxGetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReusePortResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetReusePortResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetReusePortResponse{}) - -func (msg *baseNetworkSocketWithCtxGetReusePortResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetReusePortResponse -} - -type baseNetworkSocketWithCtxGetAcceptConnResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetAcceptConnResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetAcceptConnResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetAcceptConnResponse{}) - -func (msg *baseNetworkSocketWithCtxGetAcceptConnResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetAcceptConnResponse -} - -type baseNetworkSocketWithCtxSetBindToDeviceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value string `fidl_offset_v2:"0" fidl_bounds:"15"` -} - -var _mbaseNetworkSocketWithCtxSetBindToDeviceRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetBindToDeviceRequest{}) - -func (msg *baseNetworkSocketWithCtxSetBindToDeviceRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetBindToDeviceRequest -} - -type baseNetworkSocketWithCtxSetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetBindToDeviceResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetBindToDeviceResponse{}) - -func (msg *baseNetworkSocketWithCtxSetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetBindToDeviceResponse -} - -type baseNetworkSocketWithCtxGetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetBindToDeviceResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetBindToDeviceResponse{}) - -func (msg *baseNetworkSocketWithCtxGetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetBindToDeviceResponse -} - -type baseNetworkSocketWithCtxSetTimestampRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Value TimestampOption `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetTimestampRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetTimestampRequest{}) - -func (msg *baseNetworkSocketWithCtxSetTimestampRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetTimestampRequest -} - -type baseNetworkSocketWithCtxSetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetTimestampResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetTimestampResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetTimestampResponse{}) - -func (msg *baseNetworkSocketWithCtxSetTimestampResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetTimestampResponse -} - -type baseNetworkSocketWithCtxGetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetTimestampResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetTimestampResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetTimestampResponse{}) - -func (msg *baseNetworkSocketWithCtxGetTimestampResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetTimestampResponse -} - -type baseNetworkSocketWithCtxBindRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxBindRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxBindRequest{}) - -func (msg *baseNetworkSocketWithCtxBindRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxBindRequest -} - -type baseNetworkSocketWithCtxBindResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketBindResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxBindResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxBindResponse{}) - -func (msg *baseNetworkSocketWithCtxBindResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxBindResponse -} - -type baseNetworkSocketWithCtxConnectRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxConnectRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxConnectRequest{}) - -func (msg *baseNetworkSocketWithCtxConnectRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxConnectRequest -} - -type baseNetworkSocketWithCtxConnectResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketConnectResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxConnectResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxConnectResponse{}) - -func (msg *baseNetworkSocketWithCtxConnectResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxConnectResponse -} - -type baseNetworkSocketWithCtxDisconnectResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDisconnectResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxDisconnectResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxDisconnectResponse{}) - -func (msg *baseNetworkSocketWithCtxDisconnectResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxDisconnectResponse -} - -type baseNetworkSocketWithCtxGetSockNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetSockNameResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetSockNameResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetSockNameResponse{}) - -func (msg *baseNetworkSocketWithCtxGetSockNameResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetSockNameResponse -} - -type baseNetworkSocketWithCtxGetPeerNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetPeerNameResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetPeerNameResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetPeerNameResponse{}) - -func (msg *baseNetworkSocketWithCtxGetPeerNameResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetPeerNameResponse -} - -type baseNetworkSocketWithCtxShutdownRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"2"` - Mode ShutdownMode `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxShutdownRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxShutdownRequest{}) - -func (msg *baseNetworkSocketWithCtxShutdownRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxShutdownRequest -} - -type baseNetworkSocketWithCtxShutdownResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketShutdownResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxShutdownResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxShutdownResponse{}) - -func (msg *baseNetworkSocketWithCtxShutdownResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxShutdownResponse -} - -type baseNetworkSocketWithCtxSetIpTypeOfServiceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value uint8 `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpTypeOfServiceRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpTypeOfServiceRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpTypeOfServiceRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpTypeOfServiceRequest -} - -type baseNetworkSocketWithCtxSetIpTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpTypeOfServiceResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpTypeOfServiceResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpTypeOfServiceResponse -} - -type baseNetworkSocketWithCtxGetIpTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpTypeOfServiceResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpTypeOfServiceResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpTypeOfServiceResponse -} - -type baseNetworkSocketWithCtxSetIpTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpTtlRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpTtlRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpTtlRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpTtlRequest -} - -type baseNetworkSocketWithCtxSetIpTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpTtlResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpTtlResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpTtlResponse -} - -type baseNetworkSocketWithCtxGetIpTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpTtlResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpTtlResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpTtlResponse -} - -type baseNetworkSocketWithCtxSetIpPacketInfoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpPacketInfoRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpPacketInfoRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpPacketInfoRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpPacketInfoRequest -} - -type baseNetworkSocketWithCtxSetIpPacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpPacketInfoResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpPacketInfoResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpPacketInfoResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpPacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpPacketInfoResponse -} - -type baseNetworkSocketWithCtxGetIpPacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpPacketInfoResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpPacketInfoResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpPacketInfoResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpPacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpPacketInfoResponse -} - -type baseNetworkSocketWithCtxSetIpReceiveTypeOfServiceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpReceiveTypeOfServiceRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpReceiveTypeOfServiceRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpReceiveTypeOfServiceRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpReceiveTypeOfServiceRequest -} - -type baseNetworkSocketWithCtxSetIpReceiveTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpReceiveTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpReceiveTypeOfServiceResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpReceiveTypeOfServiceResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpReceiveTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpReceiveTypeOfServiceResponse -} - -type baseNetworkSocketWithCtxGetIpReceiveTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpReceiveTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpReceiveTypeOfServiceResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpReceiveTypeOfServiceResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpReceiveTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpReceiveTypeOfServiceResponse -} - -type baseNetworkSocketWithCtxSetIpReceiveTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpReceiveTtlRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpReceiveTtlRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpReceiveTtlRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpReceiveTtlRequest -} - -type baseNetworkSocketWithCtxSetIpReceiveTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpReceiveTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpReceiveTtlResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpReceiveTtlResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpReceiveTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpReceiveTtlResponse -} - -type baseNetworkSocketWithCtxGetIpReceiveTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpReceiveTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpReceiveTtlResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpReceiveTtlResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpReceiveTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpReceiveTtlResponse -} - -type baseNetworkSocketWithCtxSetIpMulticastInterfaceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Iface uint64 `fidl_offset_v2:"0"` - Address fuchsianet.Ipv4Address `fidl_offset_v2:"8"` -} - -var _mbaseNetworkSocketWithCtxSetIpMulticastInterfaceRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpMulticastInterfaceRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpMulticastInterfaceRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpMulticastInterfaceRequest -} - -type baseNetworkSocketWithCtxSetIpMulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpMulticastInterfaceResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpMulticastInterfaceResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpMulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpMulticastInterfaceResponse -} - -type baseNetworkSocketWithCtxGetIpMulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpMulticastInterfaceResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpMulticastInterfaceResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpMulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpMulticastInterfaceResponse -} - -type baseNetworkSocketWithCtxSetIpMulticastTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpMulticastTtlRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpMulticastTtlRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpMulticastTtlRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpMulticastTtlRequest -} - -type baseNetworkSocketWithCtxSetIpMulticastTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpMulticastTtlResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpMulticastTtlResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpMulticastTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpMulticastTtlResponse -} - -type baseNetworkSocketWithCtxGetIpMulticastTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastTtlResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpMulticastTtlResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpMulticastTtlResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpMulticastTtlResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpMulticastTtlResponse -} - -type baseNetworkSocketWithCtxSetIpMulticastLoopbackRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpMulticastLoopbackRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpMulticastLoopbackRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpMulticastLoopbackRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpMulticastLoopbackRequest -} - -type baseNetworkSocketWithCtxSetIpMulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpMulticastLoopbackResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpMulticastLoopbackResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpMulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpMulticastLoopbackResponse -} - -type baseNetworkSocketWithCtxGetIpMulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpMulticastLoopbackResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpMulticastLoopbackResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpMulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpMulticastLoopbackResponse -} - -type baseNetworkSocketWithCtxAddIpMembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Membership IpMulticastMembership `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxAddIpMembershipRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxAddIpMembershipRequest{}) - -func (msg *baseNetworkSocketWithCtxAddIpMembershipRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxAddIpMembershipRequest -} - -type baseNetworkSocketWithCtxAddIpMembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketAddIpMembershipResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxAddIpMembershipResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxAddIpMembershipResponse{}) - -func (msg *baseNetworkSocketWithCtxAddIpMembershipResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxAddIpMembershipResponse -} - -type baseNetworkSocketWithCtxDropIpMembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Membership IpMulticastMembership `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxDropIpMembershipRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxDropIpMembershipRequest{}) - -func (msg *baseNetworkSocketWithCtxDropIpMembershipRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxDropIpMembershipRequest -} - -type baseNetworkSocketWithCtxDropIpMembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDropIpMembershipResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxDropIpMembershipResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxDropIpMembershipResponse{}) - -func (msg *baseNetworkSocketWithCtxDropIpMembershipResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxDropIpMembershipResponse -} - -type baseNetworkSocketWithCtxAddIpv6MembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxAddIpv6MembershipRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxAddIpv6MembershipRequest{}) - -func (msg *baseNetworkSocketWithCtxAddIpv6MembershipRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxAddIpv6MembershipRequest -} - -type baseNetworkSocketWithCtxAddIpv6MembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketAddIpv6MembershipResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxAddIpv6MembershipResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxAddIpv6MembershipResponse{}) - -func (msg *baseNetworkSocketWithCtxAddIpv6MembershipResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxAddIpv6MembershipResponse -} - -type baseNetworkSocketWithCtxDropIpv6MembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxDropIpv6MembershipRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxDropIpv6MembershipRequest{}) - -func (msg *baseNetworkSocketWithCtxDropIpv6MembershipRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxDropIpv6MembershipRequest -} - -type baseNetworkSocketWithCtxDropIpv6MembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDropIpv6MembershipResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxDropIpv6MembershipResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxDropIpv6MembershipResponse{}) - -func (msg *baseNetworkSocketWithCtxDropIpv6MembershipResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxDropIpv6MembershipResponse -} - -type baseNetworkSocketWithCtxSetIpv6MulticastInterfaceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - Value uint64 `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6MulticastInterfaceRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6MulticastInterfaceRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6MulticastInterfaceRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6MulticastInterfaceRequest -} - -type baseNetworkSocketWithCtxSetIpv6MulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6MulticastInterfaceResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6MulticastInterfaceResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6MulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6MulticastInterfaceResponse -} - -type baseNetworkSocketWithCtxGetIpv6MulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpv6MulticastInterfaceResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpv6MulticastInterfaceResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpv6MulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpv6MulticastInterfaceResponse -} - -type baseNetworkSocketWithCtxSetIpv6UnicastHopsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6UnicastHopsRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6UnicastHopsRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6UnicastHopsRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6UnicastHopsRequest -} - -type baseNetworkSocketWithCtxSetIpv6UnicastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6UnicastHopsResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6UnicastHopsResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6UnicastHopsResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6UnicastHopsResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6UnicastHopsResponse -} - -type baseNetworkSocketWithCtxGetIpv6UnicastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6UnicastHopsResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpv6UnicastHopsResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpv6UnicastHopsResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpv6UnicastHopsResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpv6UnicastHopsResponse -} - -type baseNetworkSocketWithCtxSetIpv6ReceiveHopLimitRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6ReceiveHopLimitRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6ReceiveHopLimitRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6ReceiveHopLimitRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6ReceiveHopLimitRequest -} - -type baseNetworkSocketWithCtxSetIpv6ReceiveHopLimitResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceiveHopLimitResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6ReceiveHopLimitResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6ReceiveHopLimitResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6ReceiveHopLimitResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6ReceiveHopLimitResponse -} - -type baseNetworkSocketWithCtxGetIpv6ReceiveHopLimitResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceiveHopLimitResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpv6ReceiveHopLimitResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpv6ReceiveHopLimitResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpv6ReceiveHopLimitResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpv6ReceiveHopLimitResponse -} - -type baseNetworkSocketWithCtxSetIpv6MulticastHopsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6MulticastHopsRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6MulticastHopsRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6MulticastHopsRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6MulticastHopsRequest -} - -type baseNetworkSocketWithCtxSetIpv6MulticastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastHopsResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6MulticastHopsResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6MulticastHopsResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6MulticastHopsResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6MulticastHopsResponse -} - -type baseNetworkSocketWithCtxGetIpv6MulticastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastHopsResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpv6MulticastHopsResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpv6MulticastHopsResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpv6MulticastHopsResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpv6MulticastHopsResponse -} - -type baseNetworkSocketWithCtxSetIpv6MulticastLoopbackRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6MulticastLoopbackRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6MulticastLoopbackRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6MulticastLoopbackRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6MulticastLoopbackRequest -} - -type baseNetworkSocketWithCtxSetIpv6MulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6MulticastLoopbackResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6MulticastLoopbackResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6MulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6MulticastLoopbackResponse -} - -type baseNetworkSocketWithCtxGetIpv6MulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpv6MulticastLoopbackResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpv6MulticastLoopbackResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpv6MulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpv6MulticastLoopbackResponse -} - -type baseNetworkSocketWithCtxSetIpv6OnlyRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6OnlyRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6OnlyRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6OnlyRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6OnlyRequest -} - -type baseNetworkSocketWithCtxSetIpv6OnlyResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6OnlyResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6OnlyResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6OnlyResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6OnlyResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6OnlyResponse -} - -type baseNetworkSocketWithCtxGetIpv6OnlyResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6OnlyResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpv6OnlyResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpv6OnlyResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpv6OnlyResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpv6OnlyResponse -} - -type baseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassRequest -} - -type baseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceiveTrafficClassResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassResponse -} - -type baseNetworkSocketWithCtxGetIpv6ReceiveTrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceiveTrafficClassResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpv6ReceiveTrafficClassResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpv6ReceiveTrafficClassResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpv6ReceiveTrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpv6ReceiveTrafficClassResponse -} - -type baseNetworkSocketWithCtxSetIpv6TrafficClassRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6TrafficClassRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6TrafficClassRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6TrafficClassRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6TrafficClassRequest -} - -type baseNetworkSocketWithCtxSetIpv6TrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6TrafficClassResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6TrafficClassResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6TrafficClassResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6TrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6TrafficClassResponse -} - -type baseNetworkSocketWithCtxGetIpv6TrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6TrafficClassResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpv6TrafficClassResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpv6TrafficClassResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpv6TrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpv6TrafficClassResponse -} - -type baseNetworkSocketWithCtxSetIpv6ReceivePacketInfoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6ReceivePacketInfoRequest = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6ReceivePacketInfoRequest{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6ReceivePacketInfoRequest) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6ReceivePacketInfoRequest -} - -type baseNetworkSocketWithCtxSetIpv6ReceivePacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceivePacketInfoResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxSetIpv6ReceivePacketInfoResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxSetIpv6ReceivePacketInfoResponse{}) - -func (msg *baseNetworkSocketWithCtxSetIpv6ReceivePacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxSetIpv6ReceivePacketInfoResponse -} - -type baseNetworkSocketWithCtxGetIpv6ReceivePacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceivePacketInfoResult `fidl_offset_v2:"0"` -} - -var _mbaseNetworkSocketWithCtxGetIpv6ReceivePacketInfoResponse = _bindings.CreateLazyMarshaler(baseNetworkSocketWithCtxGetIpv6ReceivePacketInfoResponse{}) - -func (msg *baseNetworkSocketWithCtxGetIpv6ReceivePacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mbaseNetworkSocketWithCtxGetIpv6ReceivePacketInfoResponse -} - -type baseSocketWithCtxClone2Request struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Request fuchsiaunknown.CloneableWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mbaseSocketWithCtxClone2Request = _bindings.CreateLazyMarshaler(baseSocketWithCtxClone2Request{}) - -func (msg *baseSocketWithCtxClone2Request) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxClone2Request -} - -type baseSocketWithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxCloseResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxCloseResponse{}) - -func (msg *baseSocketWithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxCloseResponse -} - -type baseSocketWithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mbaseSocketWithCtxQueryResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxQueryResponse{}) - -func (msg *baseSocketWithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxQueryResponse -} - -type baseSocketWithCtxSetReuseAddressRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetReuseAddressRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetReuseAddressRequest{}) - -func (msg *baseSocketWithCtxSetReuseAddressRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetReuseAddressRequest -} - -type baseSocketWithCtxSetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetReuseAddressResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetReuseAddressResponse{}) - -func (msg *baseSocketWithCtxSetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetReuseAddressResponse -} - -type baseSocketWithCtxGetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetReuseAddressResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetReuseAddressResponse{}) - -func (msg *baseSocketWithCtxGetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetReuseAddressResponse -} - -type baseSocketWithCtxGetErrorResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetErrorResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetErrorResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetErrorResponse{}) - -func (msg *baseSocketWithCtxGetErrorResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetErrorResponse -} - -type baseSocketWithCtxSetBroadcastRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetBroadcastRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetBroadcastRequest{}) - -func (msg *baseSocketWithCtxSetBroadcastRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetBroadcastRequest -} - -type baseSocketWithCtxSetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBroadcastResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetBroadcastResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetBroadcastResponse{}) - -func (msg *baseSocketWithCtxSetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetBroadcastResponse -} - -type baseSocketWithCtxGetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBroadcastResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetBroadcastResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetBroadcastResponse{}) - -func (msg *baseSocketWithCtxGetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetBroadcastResponse -} - -type baseSocketWithCtxSetSendBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetSendBufferRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetSendBufferRequest{}) - -func (msg *baseSocketWithCtxSetSendBufferRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetSendBufferRequest -} - -type baseSocketWithCtxSetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetSendBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetSendBufferResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetSendBufferResponse{}) - -func (msg *baseSocketWithCtxSetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetSendBufferResponse -} - -type baseSocketWithCtxGetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetSendBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetSendBufferResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetSendBufferResponse{}) - -func (msg *baseSocketWithCtxGetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetSendBufferResponse -} - -type baseSocketWithCtxSetReceiveBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetReceiveBufferRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetReceiveBufferRequest{}) - -func (msg *baseSocketWithCtxSetReceiveBufferRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetReceiveBufferRequest -} - -type baseSocketWithCtxSetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetReceiveBufferResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetReceiveBufferResponse{}) - -func (msg *baseSocketWithCtxSetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetReceiveBufferResponse -} - -type baseSocketWithCtxGetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetReceiveBufferResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetReceiveBufferResponse{}) - -func (msg *baseSocketWithCtxGetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetReceiveBufferResponse -} - -type baseSocketWithCtxSetKeepAliveRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetKeepAliveRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetKeepAliveRequest{}) - -func (msg *baseSocketWithCtxSetKeepAliveRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetKeepAliveRequest -} - -type baseSocketWithCtxSetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetKeepAliveResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetKeepAliveResponse{}) - -func (msg *baseSocketWithCtxSetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetKeepAliveResponse -} - -type baseSocketWithCtxGetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetKeepAliveResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetKeepAliveResponse{}) - -func (msg *baseSocketWithCtxGetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetKeepAliveResponse -} - -type baseSocketWithCtxSetOutOfBandInlineRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetOutOfBandInlineRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetOutOfBandInlineRequest{}) - -func (msg *baseSocketWithCtxSetOutOfBandInlineRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetOutOfBandInlineRequest -} - -type baseSocketWithCtxSetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetOutOfBandInlineResponse{}) - -func (msg *baseSocketWithCtxSetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetOutOfBandInlineResponse -} - -type baseSocketWithCtxGetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetOutOfBandInlineResponse{}) - -func (msg *baseSocketWithCtxGetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetOutOfBandInlineResponse -} - -type baseSocketWithCtxSetNoCheckRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetNoCheckRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetNoCheckRequest{}) - -func (msg *baseSocketWithCtxSetNoCheckRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetNoCheckRequest -} - -type baseSocketWithCtxSetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetNoCheckResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetNoCheckResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetNoCheckResponse{}) - -func (msg *baseSocketWithCtxSetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetNoCheckResponse -} - -type baseSocketWithCtxGetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetNoCheckResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetNoCheckResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetNoCheckResponse{}) - -func (msg *baseSocketWithCtxGetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetNoCheckResponse -} - -type baseSocketWithCtxSetLingerRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Linger bool `fidl_offset_v2:"0"` - LengthSecs uint32 `fidl_offset_v2:"4"` -} - -var _mbaseSocketWithCtxSetLingerRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetLingerRequest{}) - -func (msg *baseSocketWithCtxSetLingerRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetLingerRequest -} - -type baseSocketWithCtxSetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetLingerResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetLingerResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetLingerResponse{}) - -func (msg *baseSocketWithCtxSetLingerResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetLingerResponse -} - -type baseSocketWithCtxGetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetLingerResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetLingerResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetLingerResponse{}) - -func (msg *baseSocketWithCtxGetLingerResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetLingerResponse -} - -type baseSocketWithCtxSetReusePortRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetReusePortRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetReusePortRequest{}) - -func (msg *baseSocketWithCtxSetReusePortRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetReusePortRequest -} - -type baseSocketWithCtxSetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReusePortResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetReusePortResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetReusePortResponse{}) - -func (msg *baseSocketWithCtxSetReusePortResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetReusePortResponse -} - -type baseSocketWithCtxGetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReusePortResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetReusePortResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetReusePortResponse{}) - -func (msg *baseSocketWithCtxGetReusePortResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetReusePortResponse -} - -type baseSocketWithCtxGetAcceptConnResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetAcceptConnResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetAcceptConnResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetAcceptConnResponse{}) - -func (msg *baseSocketWithCtxGetAcceptConnResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetAcceptConnResponse -} - -type baseSocketWithCtxSetBindToDeviceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value string `fidl_offset_v2:"0" fidl_bounds:"15"` -} - -var _mbaseSocketWithCtxSetBindToDeviceRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetBindToDeviceRequest{}) - -func (msg *baseSocketWithCtxSetBindToDeviceRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetBindToDeviceRequest -} - -type baseSocketWithCtxSetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetBindToDeviceResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetBindToDeviceResponse{}) - -func (msg *baseSocketWithCtxSetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetBindToDeviceResponse -} - -type baseSocketWithCtxGetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetBindToDeviceResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetBindToDeviceResponse{}) - -func (msg *baseSocketWithCtxGetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetBindToDeviceResponse -} - -type baseSocketWithCtxSetTimestampRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Value TimestampOption `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetTimestampRequest = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetTimestampRequest{}) - -func (msg *baseSocketWithCtxSetTimestampRequest) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetTimestampRequest -} - -type baseSocketWithCtxSetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetTimestampResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxSetTimestampResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxSetTimestampResponse{}) - -func (msg *baseSocketWithCtxSetTimestampResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxSetTimestampResponse -} - -type baseSocketWithCtxGetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetTimestampResult `fidl_offset_v2:"0"` -} - -var _mbaseSocketWithCtxGetTimestampResponse = _bindings.CreateLazyMarshaler(baseSocketWithCtxGetTimestampResponse{}) - -func (msg *baseSocketWithCtxGetTimestampResponse) Marshaler() _bindings.Marshaler { - return _mbaseSocketWithCtxGetTimestampResponse -} - -type datagramSocketWithCtxClone2Request struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Request fuchsiaunknown.CloneableWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mdatagramSocketWithCtxClone2Request = _bindings.CreateLazyMarshaler(datagramSocketWithCtxClone2Request{}) - -func (msg *datagramSocketWithCtxClone2Request) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxClone2Request -} - -type datagramSocketWithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxCloseResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxCloseResponse{}) - -func (msg *datagramSocketWithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxCloseResponse -} - -type datagramSocketWithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mdatagramSocketWithCtxQueryResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxQueryResponse{}) - -func (msg *datagramSocketWithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxQueryResponse -} - -type datagramSocketWithCtxSetReuseAddressRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetReuseAddressRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetReuseAddressRequest{}) - -func (msg *datagramSocketWithCtxSetReuseAddressRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetReuseAddressRequest -} - -type datagramSocketWithCtxSetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetReuseAddressResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetReuseAddressResponse{}) - -func (msg *datagramSocketWithCtxSetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetReuseAddressResponse -} - -type datagramSocketWithCtxGetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetReuseAddressResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetReuseAddressResponse{}) - -func (msg *datagramSocketWithCtxGetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetReuseAddressResponse -} - -type datagramSocketWithCtxGetErrorResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetErrorResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetErrorResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetErrorResponse{}) - -func (msg *datagramSocketWithCtxGetErrorResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetErrorResponse -} - -type datagramSocketWithCtxSetBroadcastRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetBroadcastRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetBroadcastRequest{}) - -func (msg *datagramSocketWithCtxSetBroadcastRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetBroadcastRequest -} - -type datagramSocketWithCtxSetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBroadcastResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetBroadcastResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetBroadcastResponse{}) - -func (msg *datagramSocketWithCtxSetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetBroadcastResponse -} - -type datagramSocketWithCtxGetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBroadcastResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetBroadcastResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetBroadcastResponse{}) - -func (msg *datagramSocketWithCtxGetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetBroadcastResponse -} - -type datagramSocketWithCtxSetSendBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetSendBufferRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetSendBufferRequest{}) - -func (msg *datagramSocketWithCtxSetSendBufferRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetSendBufferRequest -} - -type datagramSocketWithCtxSetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetSendBufferResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetSendBufferResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetSendBufferResponse{}) - -func (msg *datagramSocketWithCtxSetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetSendBufferResponse -} - -type datagramSocketWithCtxGetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetSendBufferResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetSendBufferResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetSendBufferResponse{}) - -func (msg *datagramSocketWithCtxGetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetSendBufferResponse -} - -type datagramSocketWithCtxSetReceiveBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetReceiveBufferRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetReceiveBufferRequest{}) - -func (msg *datagramSocketWithCtxSetReceiveBufferRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetReceiveBufferRequest -} - -type datagramSocketWithCtxSetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetReceiveBufferResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetReceiveBufferResponse{}) - -func (msg *datagramSocketWithCtxSetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetReceiveBufferResponse -} - -type datagramSocketWithCtxGetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetReceiveBufferResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetReceiveBufferResponse{}) - -func (msg *datagramSocketWithCtxGetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetReceiveBufferResponse -} - -type datagramSocketWithCtxSetKeepAliveRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetKeepAliveRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetKeepAliveRequest{}) - -func (msg *datagramSocketWithCtxSetKeepAliveRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetKeepAliveRequest -} - -type datagramSocketWithCtxSetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetKeepAliveResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetKeepAliveResponse{}) - -func (msg *datagramSocketWithCtxSetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetKeepAliveResponse -} - -type datagramSocketWithCtxGetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetKeepAliveResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetKeepAliveResponse{}) - -func (msg *datagramSocketWithCtxGetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetKeepAliveResponse -} - -type datagramSocketWithCtxSetOutOfBandInlineRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetOutOfBandInlineRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetOutOfBandInlineRequest{}) - -func (msg *datagramSocketWithCtxSetOutOfBandInlineRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetOutOfBandInlineRequest -} - -type datagramSocketWithCtxSetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetOutOfBandInlineResponse{}) - -func (msg *datagramSocketWithCtxSetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetOutOfBandInlineResponse -} - -type datagramSocketWithCtxGetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetOutOfBandInlineResponse{}) - -func (msg *datagramSocketWithCtxGetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetOutOfBandInlineResponse -} - -type datagramSocketWithCtxSetNoCheckRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetNoCheckRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetNoCheckRequest{}) - -func (msg *datagramSocketWithCtxSetNoCheckRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetNoCheckRequest -} - -type datagramSocketWithCtxSetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetNoCheckResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetNoCheckResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetNoCheckResponse{}) - -func (msg *datagramSocketWithCtxSetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetNoCheckResponse -} - -type datagramSocketWithCtxGetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetNoCheckResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetNoCheckResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetNoCheckResponse{}) - -func (msg *datagramSocketWithCtxGetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetNoCheckResponse -} - -type datagramSocketWithCtxSetLingerRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Linger bool `fidl_offset_v2:"0"` - LengthSecs uint32 `fidl_offset_v2:"4"` -} - -var _mdatagramSocketWithCtxSetLingerRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetLingerRequest{}) - -func (msg *datagramSocketWithCtxSetLingerRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetLingerRequest -} - -type datagramSocketWithCtxSetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetLingerResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetLingerResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetLingerResponse{}) - -func (msg *datagramSocketWithCtxSetLingerResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetLingerResponse -} - -type datagramSocketWithCtxGetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetLingerResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetLingerResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetLingerResponse{}) - -func (msg *datagramSocketWithCtxGetLingerResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetLingerResponse -} - -type datagramSocketWithCtxSetReusePortRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetReusePortRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetReusePortRequest{}) - -func (msg *datagramSocketWithCtxSetReusePortRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetReusePortRequest -} - -type datagramSocketWithCtxSetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReusePortResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetReusePortResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetReusePortResponse{}) - -func (msg *datagramSocketWithCtxSetReusePortResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetReusePortResponse -} - -type datagramSocketWithCtxGetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReusePortResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetReusePortResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetReusePortResponse{}) - -func (msg *datagramSocketWithCtxGetReusePortResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetReusePortResponse -} - -type datagramSocketWithCtxGetAcceptConnResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetAcceptConnResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetAcceptConnResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetAcceptConnResponse{}) - -func (msg *datagramSocketWithCtxGetAcceptConnResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetAcceptConnResponse -} - -type datagramSocketWithCtxSetBindToDeviceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value string `fidl_offset_v2:"0" fidl_bounds:"15"` -} - -var _mdatagramSocketWithCtxSetBindToDeviceRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetBindToDeviceRequest{}) - -func (msg *datagramSocketWithCtxSetBindToDeviceRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetBindToDeviceRequest -} - -type datagramSocketWithCtxSetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetBindToDeviceResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetBindToDeviceResponse{}) - -func (msg *datagramSocketWithCtxSetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetBindToDeviceResponse -} - -type datagramSocketWithCtxGetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetBindToDeviceResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetBindToDeviceResponse{}) - -func (msg *datagramSocketWithCtxGetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetBindToDeviceResponse -} - -type datagramSocketWithCtxSetTimestampRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Value TimestampOption `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetTimestampRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetTimestampRequest{}) - -func (msg *datagramSocketWithCtxSetTimestampRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetTimestampRequest -} - -type datagramSocketWithCtxSetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetTimestampResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetTimestampResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetTimestampResponse{}) - -func (msg *datagramSocketWithCtxSetTimestampResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetTimestampResponse -} - -type datagramSocketWithCtxGetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetTimestampResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetTimestampResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetTimestampResponse{}) - -func (msg *datagramSocketWithCtxGetTimestampResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetTimestampResponse -} - -type datagramSocketWithCtxBindRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxBindRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxBindRequest{}) - -func (msg *datagramSocketWithCtxBindRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxBindRequest -} - -type datagramSocketWithCtxBindResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketBindResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxBindResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxBindResponse{}) - -func (msg *datagramSocketWithCtxBindResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxBindResponse -} - -type datagramSocketWithCtxConnectRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxConnectRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxConnectRequest{}) - -func (msg *datagramSocketWithCtxConnectRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxConnectRequest -} - -type datagramSocketWithCtxConnectResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketConnectResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxConnectResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxConnectResponse{}) - -func (msg *datagramSocketWithCtxConnectResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxConnectResponse -} - -type datagramSocketWithCtxDisconnectResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDisconnectResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxDisconnectResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxDisconnectResponse{}) - -func (msg *datagramSocketWithCtxDisconnectResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxDisconnectResponse -} - -type datagramSocketWithCtxGetSockNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetSockNameResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetSockNameResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetSockNameResponse{}) - -func (msg *datagramSocketWithCtxGetSockNameResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetSockNameResponse -} - -type datagramSocketWithCtxGetPeerNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetPeerNameResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetPeerNameResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetPeerNameResponse{}) - -func (msg *datagramSocketWithCtxGetPeerNameResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetPeerNameResponse -} - -type datagramSocketWithCtxShutdownRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"2"` - Mode ShutdownMode `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxShutdownRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxShutdownRequest{}) - -func (msg *datagramSocketWithCtxShutdownRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxShutdownRequest -} - -type datagramSocketWithCtxShutdownResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketShutdownResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxShutdownResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxShutdownResponse{}) - -func (msg *datagramSocketWithCtxShutdownResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxShutdownResponse -} - -type datagramSocketWithCtxSetIpTypeOfServiceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value uint8 `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpTypeOfServiceRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpTypeOfServiceRequest{}) - -func (msg *datagramSocketWithCtxSetIpTypeOfServiceRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpTypeOfServiceRequest -} - -type datagramSocketWithCtxSetIpTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpTypeOfServiceResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpTypeOfServiceResponse{}) - -func (msg *datagramSocketWithCtxSetIpTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpTypeOfServiceResponse -} - -type datagramSocketWithCtxGetIpTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpTypeOfServiceResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpTypeOfServiceResponse{}) - -func (msg *datagramSocketWithCtxGetIpTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpTypeOfServiceResponse -} - -type datagramSocketWithCtxSetIpTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpTtlRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpTtlRequest{}) - -func (msg *datagramSocketWithCtxSetIpTtlRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpTtlRequest -} - -type datagramSocketWithCtxSetIpTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpTtlResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpTtlResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpTtlResponse{}) - -func (msg *datagramSocketWithCtxSetIpTtlResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpTtlResponse -} - -type datagramSocketWithCtxGetIpTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpTtlResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpTtlResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpTtlResponse{}) - -func (msg *datagramSocketWithCtxGetIpTtlResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpTtlResponse -} - -type datagramSocketWithCtxSetIpPacketInfoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpPacketInfoRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpPacketInfoRequest{}) - -func (msg *datagramSocketWithCtxSetIpPacketInfoRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpPacketInfoRequest -} - -type datagramSocketWithCtxSetIpPacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpPacketInfoResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpPacketInfoResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpPacketInfoResponse{}) - -func (msg *datagramSocketWithCtxSetIpPacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpPacketInfoResponse -} - -type datagramSocketWithCtxGetIpPacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpPacketInfoResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpPacketInfoResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpPacketInfoResponse{}) - -func (msg *datagramSocketWithCtxGetIpPacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpPacketInfoResponse -} - -type datagramSocketWithCtxSetIpReceiveTypeOfServiceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpReceiveTypeOfServiceRequest{}) - -func (msg *datagramSocketWithCtxSetIpReceiveTypeOfServiceRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest -} - -type datagramSocketWithCtxSetIpReceiveTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpReceiveTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpReceiveTypeOfServiceResponse{}) - -func (msg *datagramSocketWithCtxSetIpReceiveTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse -} - -type datagramSocketWithCtxGetIpReceiveTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpReceiveTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpReceiveTypeOfServiceResponse{}) - -func (msg *datagramSocketWithCtxGetIpReceiveTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse -} - -type datagramSocketWithCtxSetIpReceiveTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpReceiveTtlRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpReceiveTtlRequest{}) - -func (msg *datagramSocketWithCtxSetIpReceiveTtlRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpReceiveTtlRequest -} - -type datagramSocketWithCtxSetIpReceiveTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpReceiveTtlResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpReceiveTtlResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpReceiveTtlResponse{}) - -func (msg *datagramSocketWithCtxSetIpReceiveTtlResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpReceiveTtlResponse -} - -type datagramSocketWithCtxGetIpReceiveTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpReceiveTtlResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpReceiveTtlResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpReceiveTtlResponse{}) - -func (msg *datagramSocketWithCtxGetIpReceiveTtlResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpReceiveTtlResponse -} - -type datagramSocketWithCtxSetIpMulticastInterfaceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Iface uint64 `fidl_offset_v2:"0"` - Address fuchsianet.Ipv4Address `fidl_offset_v2:"8"` -} - -var _mdatagramSocketWithCtxSetIpMulticastInterfaceRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpMulticastInterfaceRequest{}) - -func (msg *datagramSocketWithCtxSetIpMulticastInterfaceRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpMulticastInterfaceRequest -} - -type datagramSocketWithCtxSetIpMulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpMulticastInterfaceResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpMulticastInterfaceResponse{}) - -func (msg *datagramSocketWithCtxSetIpMulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpMulticastInterfaceResponse -} - -type datagramSocketWithCtxGetIpMulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpMulticastInterfaceResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpMulticastInterfaceResponse{}) - -func (msg *datagramSocketWithCtxGetIpMulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpMulticastInterfaceResponse -} - -type datagramSocketWithCtxSetIpMulticastTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpMulticastTtlRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpMulticastTtlRequest{}) - -func (msg *datagramSocketWithCtxSetIpMulticastTtlRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpMulticastTtlRequest -} - -type datagramSocketWithCtxSetIpMulticastTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastTtlResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpMulticastTtlResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpMulticastTtlResponse{}) - -func (msg *datagramSocketWithCtxSetIpMulticastTtlResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpMulticastTtlResponse -} - -type datagramSocketWithCtxGetIpMulticastTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastTtlResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpMulticastTtlResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpMulticastTtlResponse{}) - -func (msg *datagramSocketWithCtxGetIpMulticastTtlResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpMulticastTtlResponse -} - -type datagramSocketWithCtxSetIpMulticastLoopbackRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpMulticastLoopbackRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpMulticastLoopbackRequest{}) - -func (msg *datagramSocketWithCtxSetIpMulticastLoopbackRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpMulticastLoopbackRequest -} - -type datagramSocketWithCtxSetIpMulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpMulticastLoopbackResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpMulticastLoopbackResponse{}) - -func (msg *datagramSocketWithCtxSetIpMulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpMulticastLoopbackResponse -} - -type datagramSocketWithCtxGetIpMulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpMulticastLoopbackResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpMulticastLoopbackResponse{}) - -func (msg *datagramSocketWithCtxGetIpMulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpMulticastLoopbackResponse -} - -type datagramSocketWithCtxAddIpMembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Membership IpMulticastMembership `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxAddIpMembershipRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxAddIpMembershipRequest{}) - -func (msg *datagramSocketWithCtxAddIpMembershipRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxAddIpMembershipRequest -} - -type datagramSocketWithCtxAddIpMembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketAddIpMembershipResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxAddIpMembershipResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxAddIpMembershipResponse{}) - -func (msg *datagramSocketWithCtxAddIpMembershipResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxAddIpMembershipResponse -} - -type datagramSocketWithCtxDropIpMembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Membership IpMulticastMembership `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxDropIpMembershipRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxDropIpMembershipRequest{}) - -func (msg *datagramSocketWithCtxDropIpMembershipRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxDropIpMembershipRequest -} - -type datagramSocketWithCtxDropIpMembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDropIpMembershipResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxDropIpMembershipResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxDropIpMembershipResponse{}) - -func (msg *datagramSocketWithCtxDropIpMembershipResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxDropIpMembershipResponse -} - -type datagramSocketWithCtxAddIpv6MembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxAddIpv6MembershipRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxAddIpv6MembershipRequest{}) - -func (msg *datagramSocketWithCtxAddIpv6MembershipRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxAddIpv6MembershipRequest -} - -type datagramSocketWithCtxAddIpv6MembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketAddIpv6MembershipResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxAddIpv6MembershipResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxAddIpv6MembershipResponse{}) - -func (msg *datagramSocketWithCtxAddIpv6MembershipResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxAddIpv6MembershipResponse -} - -type datagramSocketWithCtxDropIpv6MembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxDropIpv6MembershipRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxDropIpv6MembershipRequest{}) - -func (msg *datagramSocketWithCtxDropIpv6MembershipRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxDropIpv6MembershipRequest -} - -type datagramSocketWithCtxDropIpv6MembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDropIpv6MembershipResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxDropIpv6MembershipResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxDropIpv6MembershipResponse{}) - -func (msg *datagramSocketWithCtxDropIpv6MembershipResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxDropIpv6MembershipResponse -} - -type datagramSocketWithCtxSetIpv6MulticastInterfaceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - Value uint64 `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6MulticastInterfaceRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6MulticastInterfaceRequest{}) - -func (msg *datagramSocketWithCtxSetIpv6MulticastInterfaceRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6MulticastInterfaceRequest -} - -type datagramSocketWithCtxSetIpv6MulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6MulticastInterfaceResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6MulticastInterfaceResponse{}) - -func (msg *datagramSocketWithCtxSetIpv6MulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6MulticastInterfaceResponse -} - -type datagramSocketWithCtxGetIpv6MulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpv6MulticastInterfaceResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpv6MulticastInterfaceResponse{}) - -func (msg *datagramSocketWithCtxGetIpv6MulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpv6MulticastInterfaceResponse -} - -type datagramSocketWithCtxSetIpv6UnicastHopsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6UnicastHopsRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6UnicastHopsRequest{}) - -func (msg *datagramSocketWithCtxSetIpv6UnicastHopsRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6UnicastHopsRequest -} - -type datagramSocketWithCtxSetIpv6UnicastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6UnicastHopsResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6UnicastHopsResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6UnicastHopsResponse{}) - -func (msg *datagramSocketWithCtxSetIpv6UnicastHopsResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6UnicastHopsResponse -} - -type datagramSocketWithCtxGetIpv6UnicastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6UnicastHopsResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpv6UnicastHopsResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpv6UnicastHopsResponse{}) - -func (msg *datagramSocketWithCtxGetIpv6UnicastHopsResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpv6UnicastHopsResponse -} - -type datagramSocketWithCtxSetIpv6ReceiveHopLimitRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6ReceiveHopLimitRequest{}) - -func (msg *datagramSocketWithCtxSetIpv6ReceiveHopLimitRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest -} - -type datagramSocketWithCtxSetIpv6ReceiveHopLimitResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceiveHopLimitResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6ReceiveHopLimitResponse{}) - -func (msg *datagramSocketWithCtxSetIpv6ReceiveHopLimitResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse -} - -type datagramSocketWithCtxGetIpv6ReceiveHopLimitResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceiveHopLimitResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpv6ReceiveHopLimitResponse{}) - -func (msg *datagramSocketWithCtxGetIpv6ReceiveHopLimitResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse -} - -type datagramSocketWithCtxSetIpv6MulticastHopsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6MulticastHopsRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6MulticastHopsRequest{}) - -func (msg *datagramSocketWithCtxSetIpv6MulticastHopsRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6MulticastHopsRequest -} - -type datagramSocketWithCtxSetIpv6MulticastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastHopsResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6MulticastHopsResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6MulticastHopsResponse{}) - -func (msg *datagramSocketWithCtxSetIpv6MulticastHopsResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6MulticastHopsResponse -} - -type datagramSocketWithCtxGetIpv6MulticastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastHopsResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpv6MulticastHopsResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpv6MulticastHopsResponse{}) - -func (msg *datagramSocketWithCtxGetIpv6MulticastHopsResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpv6MulticastHopsResponse -} - -type datagramSocketWithCtxSetIpv6MulticastLoopbackRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6MulticastLoopbackRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6MulticastLoopbackRequest{}) - -func (msg *datagramSocketWithCtxSetIpv6MulticastLoopbackRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6MulticastLoopbackRequest -} - -type datagramSocketWithCtxSetIpv6MulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6MulticastLoopbackResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6MulticastLoopbackResponse{}) - -func (msg *datagramSocketWithCtxSetIpv6MulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6MulticastLoopbackResponse -} - -type datagramSocketWithCtxGetIpv6MulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpv6MulticastLoopbackResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpv6MulticastLoopbackResponse{}) - -func (msg *datagramSocketWithCtxGetIpv6MulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpv6MulticastLoopbackResponse -} - -type datagramSocketWithCtxSetIpv6OnlyRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6OnlyRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6OnlyRequest{}) - -func (msg *datagramSocketWithCtxSetIpv6OnlyRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6OnlyRequest -} - -type datagramSocketWithCtxSetIpv6OnlyResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6OnlyResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6OnlyResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6OnlyResponse{}) - -func (msg *datagramSocketWithCtxSetIpv6OnlyResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6OnlyResponse -} - -type datagramSocketWithCtxGetIpv6OnlyResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6OnlyResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpv6OnlyResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpv6OnlyResponse{}) - -func (msg *datagramSocketWithCtxGetIpv6OnlyResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpv6OnlyResponse -} - -type datagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest{}) - -func (msg *datagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest -} - -type datagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceiveTrafficClassResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse{}) - -func (msg *datagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse -} - -type datagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceiveTrafficClassResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse{}) - -func (msg *datagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse -} - -type datagramSocketWithCtxSetIpv6TrafficClassRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6TrafficClassRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6TrafficClassRequest{}) - -func (msg *datagramSocketWithCtxSetIpv6TrafficClassRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6TrafficClassRequest -} - -type datagramSocketWithCtxSetIpv6TrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6TrafficClassResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6TrafficClassResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6TrafficClassResponse{}) - -func (msg *datagramSocketWithCtxSetIpv6TrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6TrafficClassResponse -} - -type datagramSocketWithCtxGetIpv6TrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6TrafficClassResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpv6TrafficClassResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpv6TrafficClassResponse{}) - -func (msg *datagramSocketWithCtxGetIpv6TrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpv6TrafficClassResponse -} - -type datagramSocketWithCtxSetIpv6ReceivePacketInfoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6ReceivePacketInfoRequest{}) - -func (msg *datagramSocketWithCtxSetIpv6ReceivePacketInfoRequest) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest -} - -type datagramSocketWithCtxSetIpv6ReceivePacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceivePacketInfoResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSetIpv6ReceivePacketInfoResponse{}) - -func (msg *datagramSocketWithCtxSetIpv6ReceivePacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse -} - -type datagramSocketWithCtxGetIpv6ReceivePacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceivePacketInfoResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetIpv6ReceivePacketInfoResponse{}) - -func (msg *datagramSocketWithCtxGetIpv6ReceivePacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse -} - -type datagramSocketWithCtxGetInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseDatagramSocketGetInfoResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxGetInfoResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxGetInfoResponse{}) - -func (msg *datagramSocketWithCtxGetInfoResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxGetInfoResponse -} - -type datagramSocketWithCtxSendMsgPreflightResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result DatagramSocketSendMsgPreflightResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxSendMsgPreflightResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxSendMsgPreflightResponse{}) - -func (msg *datagramSocketWithCtxSendMsgPreflightResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxSendMsgPreflightResponse -} - -type datagramSocketWithCtxRecvMsgPostflightResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result DatagramSocketRecvMsgPostflightResult `fidl_offset_v2:"0"` -} - -var _mdatagramSocketWithCtxRecvMsgPostflightResponse = _bindings.CreateLazyMarshaler(datagramSocketWithCtxRecvMsgPostflightResponse{}) - -func (msg *datagramSocketWithCtxRecvMsgPostflightResponse) Marshaler() _bindings.Marshaler { - return _mdatagramSocketWithCtxRecvMsgPostflightResponse -} - -type providerWithCtxStreamSocketRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Domain Domain `fidl_offset_v2:"0"` - Proto StreamSocketProtocol `fidl_offset_v2:"4"` -} - -var _mproviderWithCtxStreamSocketRequest = _bindings.CreateLazyMarshaler(providerWithCtxStreamSocketRequest{}) - -func (msg *providerWithCtxStreamSocketRequest) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxStreamSocketRequest -} - -type providerWithCtxStreamSocketResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result ProviderStreamSocketResult `fidl_offset_v2:"0"` -} - -var _mproviderWithCtxStreamSocketResponse = _bindings.CreateLazyMarshaler(providerWithCtxStreamSocketResponse{}) - -func (msg *providerWithCtxStreamSocketResponse) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxStreamSocketResponse -} - -type providerWithCtxDatagramSocketDeprecatedRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Domain Domain `fidl_offset_v2:"0"` - Proto DatagramSocketProtocol `fidl_offset_v2:"4"` -} - -var _mproviderWithCtxDatagramSocketDeprecatedRequest = _bindings.CreateLazyMarshaler(providerWithCtxDatagramSocketDeprecatedRequest{}) - -func (msg *providerWithCtxDatagramSocketDeprecatedRequest) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxDatagramSocketDeprecatedRequest -} - -type providerWithCtxDatagramSocketDeprecatedResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result ProviderDatagramSocketDeprecatedResult `fidl_offset_v2:"0"` -} - -var _mproviderWithCtxDatagramSocketDeprecatedResponse = _bindings.CreateLazyMarshaler(providerWithCtxDatagramSocketDeprecatedResponse{}) - -func (msg *providerWithCtxDatagramSocketDeprecatedResponse) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxDatagramSocketDeprecatedResponse -} - -type providerWithCtxDatagramSocketRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Domain Domain `fidl_offset_v2:"0"` - Proto DatagramSocketProtocol `fidl_offset_v2:"4"` -} - -var _mproviderWithCtxDatagramSocketRequest = _bindings.CreateLazyMarshaler(providerWithCtxDatagramSocketRequest{}) - -func (msg *providerWithCtxDatagramSocketRequest) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxDatagramSocketRequest -} - -type providerWithCtxDatagramSocketResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result ProviderDatagramSocketResult `fidl_offset_v2:"0"` -} - -var _mproviderWithCtxDatagramSocketResponse = _bindings.CreateLazyMarshaler(providerWithCtxDatagramSocketResponse{}) - -func (msg *providerWithCtxDatagramSocketResponse) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxDatagramSocketResponse -} - -type providerWithCtxInterfaceIndexToNameRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - Index uint64 `fidl_offset_v2:"0"` -} - -var _mproviderWithCtxInterfaceIndexToNameRequest = _bindings.CreateLazyMarshaler(providerWithCtxInterfaceIndexToNameRequest{}) - -func (msg *providerWithCtxInterfaceIndexToNameRequest) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxInterfaceIndexToNameRequest -} - -type providerWithCtxInterfaceIndexToNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result ProviderInterfaceIndexToNameResult `fidl_offset_v2:"0"` -} - -var _mproviderWithCtxInterfaceIndexToNameResponse = _bindings.CreateLazyMarshaler(providerWithCtxInterfaceIndexToNameResponse{}) - -func (msg *providerWithCtxInterfaceIndexToNameResponse) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxInterfaceIndexToNameResponse -} - -type providerWithCtxInterfaceNameToIndexRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Name string `fidl_offset_v2:"0" fidl_bounds:"15"` -} - -var _mproviderWithCtxInterfaceNameToIndexRequest = _bindings.CreateLazyMarshaler(providerWithCtxInterfaceNameToIndexRequest{}) - -func (msg *providerWithCtxInterfaceNameToIndexRequest) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxInterfaceNameToIndexRequest -} - -type providerWithCtxInterfaceNameToIndexResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result ProviderInterfaceNameToIndexResult `fidl_offset_v2:"0"` -} - -var _mproviderWithCtxInterfaceNameToIndexResponse = _bindings.CreateLazyMarshaler(providerWithCtxInterfaceNameToIndexResponse{}) - -func (msg *providerWithCtxInterfaceNameToIndexResponse) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxInterfaceNameToIndexResponse -} - -type providerWithCtxInterfaceNameToFlagsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Name string `fidl_offset_v2:"0" fidl_bounds:"15"` -} - -var _mproviderWithCtxInterfaceNameToFlagsRequest = _bindings.CreateLazyMarshaler(providerWithCtxInterfaceNameToFlagsRequest{}) - -func (msg *providerWithCtxInterfaceNameToFlagsRequest) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxInterfaceNameToFlagsRequest -} - -type providerWithCtxInterfaceNameToFlagsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result ProviderInterfaceNameToFlagsResult `fidl_offset_v2:"0"` -} - -var _mproviderWithCtxInterfaceNameToFlagsResponse = _bindings.CreateLazyMarshaler(providerWithCtxInterfaceNameToFlagsResponse{}) - -func (msg *providerWithCtxInterfaceNameToFlagsResponse) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxInterfaceNameToFlagsResponse -} - -type providerWithCtxGetInterfaceAddressesResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Interfaces []InterfaceAddresses `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mproviderWithCtxGetInterfaceAddressesResponse = _bindings.CreateLazyMarshaler(providerWithCtxGetInterfaceAddressesResponse{}) - -func (msg *providerWithCtxGetInterfaceAddressesResponse) Marshaler() _bindings.Marshaler { - return _mproviderWithCtxGetInterfaceAddressesResponse -} - -type streamSocketWithCtxClone2Request struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Request fuchsiaunknown.CloneableWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mstreamSocketWithCtxClone2Request = _bindings.CreateLazyMarshaler(streamSocketWithCtxClone2Request{}) - -func (msg *streamSocketWithCtxClone2Request) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxClone2Request -} - -type streamSocketWithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxCloseResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxCloseResponse{}) - -func (msg *streamSocketWithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxCloseResponse -} - -type streamSocketWithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _mstreamSocketWithCtxQueryResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxQueryResponse{}) - -func (msg *streamSocketWithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxQueryResponse -} - -type streamSocketWithCtxSetReuseAddressRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetReuseAddressRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetReuseAddressRequest{}) - -func (msg *streamSocketWithCtxSetReuseAddressRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetReuseAddressRequest -} - -type streamSocketWithCtxSetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetReuseAddressResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetReuseAddressResponse{}) - -func (msg *streamSocketWithCtxSetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetReuseAddressResponse -} - -type streamSocketWithCtxGetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetReuseAddressResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetReuseAddressResponse{}) - -func (msg *streamSocketWithCtxGetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetReuseAddressResponse -} - -type streamSocketWithCtxGetErrorResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetErrorResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetErrorResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetErrorResponse{}) - -func (msg *streamSocketWithCtxGetErrorResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetErrorResponse -} - -type streamSocketWithCtxSetBroadcastRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetBroadcastRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetBroadcastRequest{}) - -func (msg *streamSocketWithCtxSetBroadcastRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetBroadcastRequest -} - -type streamSocketWithCtxSetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBroadcastResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetBroadcastResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetBroadcastResponse{}) - -func (msg *streamSocketWithCtxSetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetBroadcastResponse -} - -type streamSocketWithCtxGetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBroadcastResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetBroadcastResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetBroadcastResponse{}) - -func (msg *streamSocketWithCtxGetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetBroadcastResponse -} - -type streamSocketWithCtxSetSendBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetSendBufferRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetSendBufferRequest{}) - -func (msg *streamSocketWithCtxSetSendBufferRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetSendBufferRequest -} - -type streamSocketWithCtxSetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetSendBufferResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetSendBufferResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetSendBufferResponse{}) - -func (msg *streamSocketWithCtxSetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetSendBufferResponse -} - -type streamSocketWithCtxGetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetSendBufferResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetSendBufferResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetSendBufferResponse{}) - -func (msg *streamSocketWithCtxGetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetSendBufferResponse -} - -type streamSocketWithCtxSetReceiveBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetReceiveBufferRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetReceiveBufferRequest{}) - -func (msg *streamSocketWithCtxSetReceiveBufferRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetReceiveBufferRequest -} - -type streamSocketWithCtxSetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetReceiveBufferResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetReceiveBufferResponse{}) - -func (msg *streamSocketWithCtxSetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetReceiveBufferResponse -} - -type streamSocketWithCtxGetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetReceiveBufferResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetReceiveBufferResponse{}) - -func (msg *streamSocketWithCtxGetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetReceiveBufferResponse -} - -type streamSocketWithCtxSetKeepAliveRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetKeepAliveRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetKeepAliveRequest{}) - -func (msg *streamSocketWithCtxSetKeepAliveRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetKeepAliveRequest -} - -type streamSocketWithCtxSetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetKeepAliveResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetKeepAliveResponse{}) - -func (msg *streamSocketWithCtxSetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetKeepAliveResponse -} - -type streamSocketWithCtxGetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetKeepAliveResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetKeepAliveResponse{}) - -func (msg *streamSocketWithCtxGetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetKeepAliveResponse -} - -type streamSocketWithCtxSetOutOfBandInlineRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetOutOfBandInlineRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetOutOfBandInlineRequest{}) - -func (msg *streamSocketWithCtxSetOutOfBandInlineRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetOutOfBandInlineRequest -} - -type streamSocketWithCtxSetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetOutOfBandInlineResponse{}) - -func (msg *streamSocketWithCtxSetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetOutOfBandInlineResponse -} - -type streamSocketWithCtxGetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetOutOfBandInlineResponse{}) - -func (msg *streamSocketWithCtxGetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetOutOfBandInlineResponse -} - -type streamSocketWithCtxSetNoCheckRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetNoCheckRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetNoCheckRequest{}) - -func (msg *streamSocketWithCtxSetNoCheckRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetNoCheckRequest -} - -type streamSocketWithCtxSetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetNoCheckResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetNoCheckResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetNoCheckResponse{}) - -func (msg *streamSocketWithCtxSetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetNoCheckResponse -} - -type streamSocketWithCtxGetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetNoCheckResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetNoCheckResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetNoCheckResponse{}) - -func (msg *streamSocketWithCtxGetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetNoCheckResponse -} - -type streamSocketWithCtxSetLingerRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Linger bool `fidl_offset_v2:"0"` - LengthSecs uint32 `fidl_offset_v2:"4"` -} - -var _mstreamSocketWithCtxSetLingerRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetLingerRequest{}) - -func (msg *streamSocketWithCtxSetLingerRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetLingerRequest -} - -type streamSocketWithCtxSetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetLingerResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetLingerResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetLingerResponse{}) - -func (msg *streamSocketWithCtxSetLingerResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetLingerResponse -} - -type streamSocketWithCtxGetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetLingerResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetLingerResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetLingerResponse{}) - -func (msg *streamSocketWithCtxGetLingerResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetLingerResponse -} - -type streamSocketWithCtxSetReusePortRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetReusePortRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetReusePortRequest{}) - -func (msg *streamSocketWithCtxSetReusePortRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetReusePortRequest -} - -type streamSocketWithCtxSetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReusePortResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetReusePortResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetReusePortResponse{}) - -func (msg *streamSocketWithCtxSetReusePortResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetReusePortResponse -} - -type streamSocketWithCtxGetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReusePortResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetReusePortResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetReusePortResponse{}) - -func (msg *streamSocketWithCtxGetReusePortResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetReusePortResponse -} - -type streamSocketWithCtxGetAcceptConnResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetAcceptConnResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetAcceptConnResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetAcceptConnResponse{}) - -func (msg *streamSocketWithCtxGetAcceptConnResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetAcceptConnResponse -} - -type streamSocketWithCtxSetBindToDeviceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value string `fidl_offset_v2:"0" fidl_bounds:"15"` -} - -var _mstreamSocketWithCtxSetBindToDeviceRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetBindToDeviceRequest{}) - -func (msg *streamSocketWithCtxSetBindToDeviceRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetBindToDeviceRequest -} - -type streamSocketWithCtxSetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetBindToDeviceResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetBindToDeviceResponse{}) - -func (msg *streamSocketWithCtxSetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetBindToDeviceResponse -} - -type streamSocketWithCtxGetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetBindToDeviceResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetBindToDeviceResponse{}) - -func (msg *streamSocketWithCtxGetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetBindToDeviceResponse -} - -type streamSocketWithCtxSetTimestampRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Value TimestampOption `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTimestampRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTimestampRequest{}) - -func (msg *streamSocketWithCtxSetTimestampRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTimestampRequest -} - -type streamSocketWithCtxSetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetTimestampResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTimestampResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTimestampResponse{}) - -func (msg *streamSocketWithCtxSetTimestampResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTimestampResponse -} - -type streamSocketWithCtxGetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetTimestampResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTimestampResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTimestampResponse{}) - -func (msg *streamSocketWithCtxGetTimestampResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTimestampResponse -} - -type streamSocketWithCtxBindRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxBindRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxBindRequest{}) - -func (msg *streamSocketWithCtxBindRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxBindRequest -} - -type streamSocketWithCtxBindResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketBindResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxBindResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxBindResponse{}) - -func (msg *streamSocketWithCtxBindResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxBindResponse -} - -type streamSocketWithCtxConnectRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxConnectRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxConnectRequest{}) - -func (msg *streamSocketWithCtxConnectRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxConnectRequest -} - -type streamSocketWithCtxConnectResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketConnectResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxConnectResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxConnectResponse{}) - -func (msg *streamSocketWithCtxConnectResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxConnectResponse -} - -type streamSocketWithCtxDisconnectResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDisconnectResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxDisconnectResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxDisconnectResponse{}) - -func (msg *streamSocketWithCtxDisconnectResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxDisconnectResponse -} - -type streamSocketWithCtxGetSockNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetSockNameResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetSockNameResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetSockNameResponse{}) - -func (msg *streamSocketWithCtxGetSockNameResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetSockNameResponse -} - -type streamSocketWithCtxGetPeerNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetPeerNameResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetPeerNameResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetPeerNameResponse{}) - -func (msg *streamSocketWithCtxGetPeerNameResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetPeerNameResponse -} - -type streamSocketWithCtxShutdownRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"2"` - Mode ShutdownMode `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxShutdownRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxShutdownRequest{}) - -func (msg *streamSocketWithCtxShutdownRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxShutdownRequest -} - -type streamSocketWithCtxShutdownResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketShutdownResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxShutdownResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxShutdownResponse{}) - -func (msg *streamSocketWithCtxShutdownResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxShutdownResponse -} - -type streamSocketWithCtxSetIpTypeOfServiceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value uint8 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpTypeOfServiceRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpTypeOfServiceRequest{}) - -func (msg *streamSocketWithCtxSetIpTypeOfServiceRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpTypeOfServiceRequest -} - -type streamSocketWithCtxSetIpTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpTypeOfServiceResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpTypeOfServiceResponse{}) - -func (msg *streamSocketWithCtxSetIpTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpTypeOfServiceResponse -} - -type streamSocketWithCtxGetIpTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpTypeOfServiceResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpTypeOfServiceResponse{}) - -func (msg *streamSocketWithCtxGetIpTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpTypeOfServiceResponse -} - -type streamSocketWithCtxSetIpTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpTtlRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpTtlRequest{}) - -func (msg *streamSocketWithCtxSetIpTtlRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpTtlRequest -} - -type streamSocketWithCtxSetIpTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpTtlResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpTtlResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpTtlResponse{}) - -func (msg *streamSocketWithCtxSetIpTtlResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpTtlResponse -} - -type streamSocketWithCtxGetIpTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpTtlResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpTtlResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpTtlResponse{}) - -func (msg *streamSocketWithCtxGetIpTtlResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpTtlResponse -} - -type streamSocketWithCtxSetIpPacketInfoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpPacketInfoRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpPacketInfoRequest{}) - -func (msg *streamSocketWithCtxSetIpPacketInfoRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpPacketInfoRequest -} - -type streamSocketWithCtxSetIpPacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpPacketInfoResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpPacketInfoResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpPacketInfoResponse{}) - -func (msg *streamSocketWithCtxSetIpPacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpPacketInfoResponse -} - -type streamSocketWithCtxGetIpPacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpPacketInfoResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpPacketInfoResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpPacketInfoResponse{}) - -func (msg *streamSocketWithCtxGetIpPacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpPacketInfoResponse -} - -type streamSocketWithCtxSetIpReceiveTypeOfServiceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpReceiveTypeOfServiceRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpReceiveTypeOfServiceRequest{}) - -func (msg *streamSocketWithCtxSetIpReceiveTypeOfServiceRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpReceiveTypeOfServiceRequest -} - -type streamSocketWithCtxSetIpReceiveTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpReceiveTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpReceiveTypeOfServiceResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpReceiveTypeOfServiceResponse{}) - -func (msg *streamSocketWithCtxSetIpReceiveTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpReceiveTypeOfServiceResponse -} - -type streamSocketWithCtxGetIpReceiveTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpReceiveTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpReceiveTypeOfServiceResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpReceiveTypeOfServiceResponse{}) - -func (msg *streamSocketWithCtxGetIpReceiveTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpReceiveTypeOfServiceResponse -} - -type streamSocketWithCtxSetIpReceiveTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpReceiveTtlRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpReceiveTtlRequest{}) - -func (msg *streamSocketWithCtxSetIpReceiveTtlRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpReceiveTtlRequest -} - -type streamSocketWithCtxSetIpReceiveTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpReceiveTtlResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpReceiveTtlResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpReceiveTtlResponse{}) - -func (msg *streamSocketWithCtxSetIpReceiveTtlResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpReceiveTtlResponse -} - -type streamSocketWithCtxGetIpReceiveTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpReceiveTtlResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpReceiveTtlResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpReceiveTtlResponse{}) - -func (msg *streamSocketWithCtxGetIpReceiveTtlResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpReceiveTtlResponse -} - -type streamSocketWithCtxSetIpMulticastInterfaceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Iface uint64 `fidl_offset_v2:"0"` - Address fuchsianet.Ipv4Address `fidl_offset_v2:"8"` -} - -var _mstreamSocketWithCtxSetIpMulticastInterfaceRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpMulticastInterfaceRequest{}) - -func (msg *streamSocketWithCtxSetIpMulticastInterfaceRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpMulticastInterfaceRequest -} - -type streamSocketWithCtxSetIpMulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpMulticastInterfaceResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpMulticastInterfaceResponse{}) - -func (msg *streamSocketWithCtxSetIpMulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpMulticastInterfaceResponse -} - -type streamSocketWithCtxGetIpMulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpMulticastInterfaceResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpMulticastInterfaceResponse{}) - -func (msg *streamSocketWithCtxGetIpMulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpMulticastInterfaceResponse -} - -type streamSocketWithCtxSetIpMulticastTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpMulticastTtlRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpMulticastTtlRequest{}) - -func (msg *streamSocketWithCtxSetIpMulticastTtlRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpMulticastTtlRequest -} - -type streamSocketWithCtxSetIpMulticastTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastTtlResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpMulticastTtlResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpMulticastTtlResponse{}) - -func (msg *streamSocketWithCtxSetIpMulticastTtlResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpMulticastTtlResponse -} - -type streamSocketWithCtxGetIpMulticastTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastTtlResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpMulticastTtlResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpMulticastTtlResponse{}) - -func (msg *streamSocketWithCtxGetIpMulticastTtlResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpMulticastTtlResponse -} - -type streamSocketWithCtxSetIpMulticastLoopbackRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpMulticastLoopbackRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpMulticastLoopbackRequest{}) - -func (msg *streamSocketWithCtxSetIpMulticastLoopbackRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpMulticastLoopbackRequest -} - -type streamSocketWithCtxSetIpMulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpMulticastLoopbackResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpMulticastLoopbackResponse{}) - -func (msg *streamSocketWithCtxSetIpMulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpMulticastLoopbackResponse -} - -type streamSocketWithCtxGetIpMulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpMulticastLoopbackResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpMulticastLoopbackResponse{}) - -func (msg *streamSocketWithCtxGetIpMulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpMulticastLoopbackResponse -} - -type streamSocketWithCtxAddIpMembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Membership IpMulticastMembership `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxAddIpMembershipRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxAddIpMembershipRequest{}) - -func (msg *streamSocketWithCtxAddIpMembershipRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxAddIpMembershipRequest -} - -type streamSocketWithCtxAddIpMembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketAddIpMembershipResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxAddIpMembershipResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxAddIpMembershipResponse{}) - -func (msg *streamSocketWithCtxAddIpMembershipResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxAddIpMembershipResponse -} - -type streamSocketWithCtxDropIpMembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Membership IpMulticastMembership `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxDropIpMembershipRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxDropIpMembershipRequest{}) - -func (msg *streamSocketWithCtxDropIpMembershipRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxDropIpMembershipRequest -} - -type streamSocketWithCtxDropIpMembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDropIpMembershipResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxDropIpMembershipResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxDropIpMembershipResponse{}) - -func (msg *streamSocketWithCtxDropIpMembershipResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxDropIpMembershipResponse -} - -type streamSocketWithCtxAddIpv6MembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxAddIpv6MembershipRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxAddIpv6MembershipRequest{}) - -func (msg *streamSocketWithCtxAddIpv6MembershipRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxAddIpv6MembershipRequest -} - -type streamSocketWithCtxAddIpv6MembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketAddIpv6MembershipResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxAddIpv6MembershipResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxAddIpv6MembershipResponse{}) - -func (msg *streamSocketWithCtxAddIpv6MembershipResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxAddIpv6MembershipResponse -} - -type streamSocketWithCtxDropIpv6MembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxDropIpv6MembershipRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxDropIpv6MembershipRequest{}) - -func (msg *streamSocketWithCtxDropIpv6MembershipRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxDropIpv6MembershipRequest -} - -type streamSocketWithCtxDropIpv6MembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDropIpv6MembershipResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxDropIpv6MembershipResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxDropIpv6MembershipResponse{}) - -func (msg *streamSocketWithCtxDropIpv6MembershipResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxDropIpv6MembershipResponse -} - -type streamSocketWithCtxSetIpv6MulticastInterfaceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - Value uint64 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6MulticastInterfaceRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6MulticastInterfaceRequest{}) - -func (msg *streamSocketWithCtxSetIpv6MulticastInterfaceRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6MulticastInterfaceRequest -} - -type streamSocketWithCtxSetIpv6MulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6MulticastInterfaceResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6MulticastInterfaceResponse{}) - -func (msg *streamSocketWithCtxSetIpv6MulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6MulticastInterfaceResponse -} - -type streamSocketWithCtxGetIpv6MulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpv6MulticastInterfaceResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpv6MulticastInterfaceResponse{}) - -func (msg *streamSocketWithCtxGetIpv6MulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpv6MulticastInterfaceResponse -} - -type streamSocketWithCtxSetIpv6UnicastHopsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6UnicastHopsRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6UnicastHopsRequest{}) - -func (msg *streamSocketWithCtxSetIpv6UnicastHopsRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6UnicastHopsRequest -} - -type streamSocketWithCtxSetIpv6UnicastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6UnicastHopsResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6UnicastHopsResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6UnicastHopsResponse{}) - -func (msg *streamSocketWithCtxSetIpv6UnicastHopsResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6UnicastHopsResponse -} - -type streamSocketWithCtxGetIpv6UnicastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6UnicastHopsResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpv6UnicastHopsResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpv6UnicastHopsResponse{}) - -func (msg *streamSocketWithCtxGetIpv6UnicastHopsResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpv6UnicastHopsResponse -} - -type streamSocketWithCtxSetIpv6ReceiveHopLimitRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6ReceiveHopLimitRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6ReceiveHopLimitRequest{}) - -func (msg *streamSocketWithCtxSetIpv6ReceiveHopLimitRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6ReceiveHopLimitRequest -} - -type streamSocketWithCtxSetIpv6ReceiveHopLimitResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceiveHopLimitResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6ReceiveHopLimitResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6ReceiveHopLimitResponse{}) - -func (msg *streamSocketWithCtxSetIpv6ReceiveHopLimitResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6ReceiveHopLimitResponse -} - -type streamSocketWithCtxGetIpv6ReceiveHopLimitResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceiveHopLimitResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpv6ReceiveHopLimitResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpv6ReceiveHopLimitResponse{}) - -func (msg *streamSocketWithCtxGetIpv6ReceiveHopLimitResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpv6ReceiveHopLimitResponse -} - -type streamSocketWithCtxSetIpv6MulticastHopsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6MulticastHopsRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6MulticastHopsRequest{}) - -func (msg *streamSocketWithCtxSetIpv6MulticastHopsRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6MulticastHopsRequest -} - -type streamSocketWithCtxSetIpv6MulticastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastHopsResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6MulticastHopsResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6MulticastHopsResponse{}) - -func (msg *streamSocketWithCtxSetIpv6MulticastHopsResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6MulticastHopsResponse -} - -type streamSocketWithCtxGetIpv6MulticastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastHopsResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpv6MulticastHopsResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpv6MulticastHopsResponse{}) - -func (msg *streamSocketWithCtxGetIpv6MulticastHopsResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpv6MulticastHopsResponse -} - -type streamSocketWithCtxSetIpv6MulticastLoopbackRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6MulticastLoopbackRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6MulticastLoopbackRequest{}) - -func (msg *streamSocketWithCtxSetIpv6MulticastLoopbackRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6MulticastLoopbackRequest -} - -type streamSocketWithCtxSetIpv6MulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6MulticastLoopbackResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6MulticastLoopbackResponse{}) - -func (msg *streamSocketWithCtxSetIpv6MulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6MulticastLoopbackResponse -} - -type streamSocketWithCtxGetIpv6MulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpv6MulticastLoopbackResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpv6MulticastLoopbackResponse{}) - -func (msg *streamSocketWithCtxGetIpv6MulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpv6MulticastLoopbackResponse -} - -type streamSocketWithCtxSetIpv6OnlyRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6OnlyRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6OnlyRequest{}) - -func (msg *streamSocketWithCtxSetIpv6OnlyRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6OnlyRequest -} - -type streamSocketWithCtxSetIpv6OnlyResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6OnlyResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6OnlyResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6OnlyResponse{}) - -func (msg *streamSocketWithCtxSetIpv6OnlyResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6OnlyResponse -} - -type streamSocketWithCtxGetIpv6OnlyResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6OnlyResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpv6OnlyResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpv6OnlyResponse{}) - -func (msg *streamSocketWithCtxGetIpv6OnlyResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpv6OnlyResponse -} - -type streamSocketWithCtxSetIpv6ReceiveTrafficClassRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6ReceiveTrafficClassRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6ReceiveTrafficClassRequest{}) - -func (msg *streamSocketWithCtxSetIpv6ReceiveTrafficClassRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6ReceiveTrafficClassRequest -} - -type streamSocketWithCtxSetIpv6ReceiveTrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceiveTrafficClassResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6ReceiveTrafficClassResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6ReceiveTrafficClassResponse{}) - -func (msg *streamSocketWithCtxSetIpv6ReceiveTrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6ReceiveTrafficClassResponse -} - -type streamSocketWithCtxGetIpv6ReceiveTrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceiveTrafficClassResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpv6ReceiveTrafficClassResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpv6ReceiveTrafficClassResponse{}) - -func (msg *streamSocketWithCtxGetIpv6ReceiveTrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpv6ReceiveTrafficClassResponse -} - -type streamSocketWithCtxSetIpv6TrafficClassRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6TrafficClassRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6TrafficClassRequest{}) - -func (msg *streamSocketWithCtxSetIpv6TrafficClassRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6TrafficClassRequest -} - -type streamSocketWithCtxSetIpv6TrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6TrafficClassResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6TrafficClassResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6TrafficClassResponse{}) - -func (msg *streamSocketWithCtxSetIpv6TrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6TrafficClassResponse -} - -type streamSocketWithCtxGetIpv6TrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6TrafficClassResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpv6TrafficClassResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpv6TrafficClassResponse{}) - -func (msg *streamSocketWithCtxGetIpv6TrafficClassResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpv6TrafficClassResponse -} - -type streamSocketWithCtxSetIpv6ReceivePacketInfoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6ReceivePacketInfoRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6ReceivePacketInfoRequest{}) - -func (msg *streamSocketWithCtxSetIpv6ReceivePacketInfoRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6ReceivePacketInfoRequest -} - -type streamSocketWithCtxSetIpv6ReceivePacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceivePacketInfoResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetIpv6ReceivePacketInfoResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetIpv6ReceivePacketInfoResponse{}) - -func (msg *streamSocketWithCtxSetIpv6ReceivePacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetIpv6ReceivePacketInfoResponse -} - -type streamSocketWithCtxGetIpv6ReceivePacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceivePacketInfoResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetIpv6ReceivePacketInfoResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetIpv6ReceivePacketInfoResponse{}) - -func (msg *streamSocketWithCtxGetIpv6ReceivePacketInfoResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetIpv6ReceivePacketInfoResponse -} - -type streamSocketWithCtxListenRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"2"` - Backlog int16 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxListenRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxListenRequest{}) - -func (msg *streamSocketWithCtxListenRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxListenRequest -} - -type streamSocketWithCtxListenResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketListenResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxListenResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxListenResponse{}) - -func (msg *streamSocketWithCtxListenResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxListenResponse -} - -type streamSocketWithCtxAcceptRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - WantAddr bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxAcceptRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxAcceptRequest{}) - -func (msg *streamSocketWithCtxAcceptRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxAcceptRequest -} - -type streamSocketWithCtxAcceptResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketAcceptResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxAcceptResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxAcceptResponse{}) - -func (msg *streamSocketWithCtxAcceptResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxAcceptResponse -} - -type streamSocketWithCtxGetInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetInfoResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetInfoResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetInfoResponse{}) - -func (msg *streamSocketWithCtxGetInfoResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetInfoResponse -} - -type streamSocketWithCtxSetTcpNoDelayRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpNoDelayRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpNoDelayRequest{}) - -func (msg *streamSocketWithCtxSetTcpNoDelayRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpNoDelayRequest -} - -type streamSocketWithCtxSetTcpNoDelayResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpNoDelayResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpNoDelayResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpNoDelayResponse{}) - -func (msg *streamSocketWithCtxSetTcpNoDelayResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpNoDelayResponse -} - -type streamSocketWithCtxGetTcpNoDelayResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpNoDelayResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpNoDelayResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpNoDelayResponse{}) - -func (msg *streamSocketWithCtxGetTcpNoDelayResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpNoDelayResponse -} - -type streamSocketWithCtxSetTcpMaxSegmentRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - ValueBytes uint32 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpMaxSegmentRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpMaxSegmentRequest{}) - -func (msg *streamSocketWithCtxSetTcpMaxSegmentRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpMaxSegmentRequest -} - -type streamSocketWithCtxSetTcpMaxSegmentResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpMaxSegmentResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpMaxSegmentResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpMaxSegmentResponse{}) - -func (msg *streamSocketWithCtxSetTcpMaxSegmentResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpMaxSegmentResponse -} - -type streamSocketWithCtxGetTcpMaxSegmentResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpMaxSegmentResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpMaxSegmentResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpMaxSegmentResponse{}) - -func (msg *streamSocketWithCtxGetTcpMaxSegmentResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpMaxSegmentResponse -} - -type streamSocketWithCtxSetTcpCorkRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpCorkRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpCorkRequest{}) - -func (msg *streamSocketWithCtxSetTcpCorkRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpCorkRequest -} - -type streamSocketWithCtxSetTcpCorkResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpCorkResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpCorkResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpCorkResponse{}) - -func (msg *streamSocketWithCtxSetTcpCorkResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpCorkResponse -} - -type streamSocketWithCtxGetTcpCorkResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpCorkResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpCorkResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpCorkResponse{}) - -func (msg *streamSocketWithCtxGetTcpCorkResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpCorkResponse -} - -type streamSocketWithCtxSetTcpKeepAliveIdleRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - ValueSecs uint32 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpKeepAliveIdleRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpKeepAliveIdleRequest{}) - -func (msg *streamSocketWithCtxSetTcpKeepAliveIdleRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpKeepAliveIdleRequest -} - -type streamSocketWithCtxSetTcpKeepAliveIdleResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpKeepAliveIdleResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpKeepAliveIdleResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpKeepAliveIdleResponse{}) - -func (msg *streamSocketWithCtxSetTcpKeepAliveIdleResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpKeepAliveIdleResponse -} - -type streamSocketWithCtxGetTcpKeepAliveIdleResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpKeepAliveIdleResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpKeepAliveIdleResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpKeepAliveIdleResponse{}) - -func (msg *streamSocketWithCtxGetTcpKeepAliveIdleResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpKeepAliveIdleResponse -} - -type streamSocketWithCtxSetTcpKeepAliveIntervalRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - ValueSecs uint32 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpKeepAliveIntervalRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpKeepAliveIntervalRequest{}) - -func (msg *streamSocketWithCtxSetTcpKeepAliveIntervalRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpKeepAliveIntervalRequest -} - -type streamSocketWithCtxSetTcpKeepAliveIntervalResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpKeepAliveIntervalResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpKeepAliveIntervalResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpKeepAliveIntervalResponse{}) - -func (msg *streamSocketWithCtxSetTcpKeepAliveIntervalResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpKeepAliveIntervalResponse -} - -type streamSocketWithCtxGetTcpKeepAliveIntervalResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpKeepAliveIntervalResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpKeepAliveIntervalResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpKeepAliveIntervalResponse{}) - -func (msg *streamSocketWithCtxGetTcpKeepAliveIntervalResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpKeepAliveIntervalResponse -} - -type streamSocketWithCtxSetTcpKeepAliveCountRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Value uint32 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpKeepAliveCountRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpKeepAliveCountRequest{}) - -func (msg *streamSocketWithCtxSetTcpKeepAliveCountRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpKeepAliveCountRequest -} - -type streamSocketWithCtxSetTcpKeepAliveCountResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpKeepAliveCountResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpKeepAliveCountResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpKeepAliveCountResponse{}) - -func (msg *streamSocketWithCtxSetTcpKeepAliveCountResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpKeepAliveCountResponse -} - -type streamSocketWithCtxGetTcpKeepAliveCountResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpKeepAliveCountResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpKeepAliveCountResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpKeepAliveCountResponse{}) - -func (msg *streamSocketWithCtxGetTcpKeepAliveCountResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpKeepAliveCountResponse -} - -type streamSocketWithCtxSetTcpSynCountRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Value uint32 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpSynCountRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpSynCountRequest{}) - -func (msg *streamSocketWithCtxSetTcpSynCountRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpSynCountRequest -} - -type streamSocketWithCtxSetTcpSynCountResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpSynCountResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpSynCountResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpSynCountResponse{}) - -func (msg *streamSocketWithCtxSetTcpSynCountResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpSynCountResponse -} - -type streamSocketWithCtxGetTcpSynCountResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpSynCountResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpSynCountResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpSynCountResponse{}) - -func (msg *streamSocketWithCtxGetTcpSynCountResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpSynCountResponse -} - -type streamSocketWithCtxSetTcpLingerRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - ValueSecs OptionalUint32 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpLingerRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpLingerRequest{}) - -func (msg *streamSocketWithCtxSetTcpLingerRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpLingerRequest -} - -type streamSocketWithCtxSetTcpLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpLingerResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpLingerResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpLingerResponse{}) - -func (msg *streamSocketWithCtxSetTcpLingerResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpLingerResponse -} - -type streamSocketWithCtxGetTcpLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpLingerResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpLingerResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpLingerResponse{}) - -func (msg *streamSocketWithCtxGetTcpLingerResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpLingerResponse -} - -type streamSocketWithCtxSetTcpDeferAcceptRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - ValueSecs uint32 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpDeferAcceptRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpDeferAcceptRequest{}) - -func (msg *streamSocketWithCtxSetTcpDeferAcceptRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpDeferAcceptRequest -} - -type streamSocketWithCtxSetTcpDeferAcceptResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpDeferAcceptResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpDeferAcceptResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpDeferAcceptResponse{}) - -func (msg *streamSocketWithCtxSetTcpDeferAcceptResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpDeferAcceptResponse -} - -type streamSocketWithCtxGetTcpDeferAcceptResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpDeferAcceptResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpDeferAcceptResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpDeferAcceptResponse{}) - -func (msg *streamSocketWithCtxGetTcpDeferAcceptResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpDeferAcceptResponse -} - -type streamSocketWithCtxSetTcpWindowClampRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Value uint32 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpWindowClampRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpWindowClampRequest{}) - -func (msg *streamSocketWithCtxSetTcpWindowClampRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpWindowClampRequest -} - -type streamSocketWithCtxSetTcpWindowClampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpWindowClampResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpWindowClampResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpWindowClampResponse{}) - -func (msg *streamSocketWithCtxSetTcpWindowClampResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpWindowClampResponse -} - -type streamSocketWithCtxGetTcpWindowClampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpWindowClampResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpWindowClampResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpWindowClampResponse{}) - -func (msg *streamSocketWithCtxGetTcpWindowClampResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpWindowClampResponse -} - -type streamSocketWithCtxGetTcpInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpInfoResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpInfoResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpInfoResponse{}) - -func (msg *streamSocketWithCtxGetTcpInfoResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpInfoResponse -} - -type streamSocketWithCtxSetTcpQuickAckRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpQuickAckRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpQuickAckRequest{}) - -func (msg *streamSocketWithCtxSetTcpQuickAckRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpQuickAckRequest -} - -type streamSocketWithCtxSetTcpQuickAckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpQuickAckResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpQuickAckResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpQuickAckResponse{}) - -func (msg *streamSocketWithCtxSetTcpQuickAckResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpQuickAckResponse -} - -type streamSocketWithCtxGetTcpQuickAckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpQuickAckResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpQuickAckResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpQuickAckResponse{}) - -func (msg *streamSocketWithCtxGetTcpQuickAckResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpQuickAckResponse -} - -type streamSocketWithCtxSetTcpCongestionRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Value TcpCongestionControl `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpCongestionRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpCongestionRequest{}) - -func (msg *streamSocketWithCtxSetTcpCongestionRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpCongestionRequest -} - -type streamSocketWithCtxSetTcpCongestionResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpCongestionResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpCongestionResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpCongestionResponse{}) - -func (msg *streamSocketWithCtxSetTcpCongestionResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpCongestionResponse -} - -type streamSocketWithCtxGetTcpCongestionResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpCongestionResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpCongestionResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpCongestionResponse{}) - -func (msg *streamSocketWithCtxGetTcpCongestionResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpCongestionResponse -} - -type streamSocketWithCtxSetTcpUserTimeoutRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - ValueMillis uint32 `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpUserTimeoutRequest = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpUserTimeoutRequest{}) - -func (msg *streamSocketWithCtxSetTcpUserTimeoutRequest) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpUserTimeoutRequest -} - -type streamSocketWithCtxSetTcpUserTimeoutResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketSetTcpUserTimeoutResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxSetTcpUserTimeoutResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxSetTcpUserTimeoutResponse{}) - -func (msg *streamSocketWithCtxSetTcpUserTimeoutResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxSetTcpUserTimeoutResponse -} - -type streamSocketWithCtxGetTcpUserTimeoutResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result StreamSocketGetTcpUserTimeoutResult `fidl_offset_v2:"0"` -} - -var _mstreamSocketWithCtxGetTcpUserTimeoutResponse = _bindings.CreateLazyMarshaler(streamSocketWithCtxGetTcpUserTimeoutResponse{}) - -func (msg *streamSocketWithCtxGetTcpUserTimeoutResponse) Marshaler() _bindings.Marshaler { - return _mstreamSocketWithCtxGetTcpUserTimeoutResponse -} - -type synchronousDatagramSocketWithCtxClone2Request struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Request fuchsiaunknown.CloneableWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _msynchronousDatagramSocketWithCtxClone2Request = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxClone2Request{}) - -func (msg *synchronousDatagramSocketWithCtxClone2Request) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxClone2Request -} - -type synchronousDatagramSocketWithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result fuchsiaunknown.CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxCloseResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxCloseResponse{}) - -func (msg *synchronousDatagramSocketWithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxCloseResponse -} - -type synchronousDatagramSocketWithCtxQueryResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - // Identifies the underlying protocol. - Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` -} - -var _msynchronousDatagramSocketWithCtxQueryResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxQueryResponse{}) - -func (msg *synchronousDatagramSocketWithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxQueryResponse -} - -type synchronousDatagramSocketWithCtxSetReuseAddressRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetReuseAddressRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetReuseAddressRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetReuseAddressRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetReuseAddressRequest -} - -type synchronousDatagramSocketWithCtxSetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetReuseAddressResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetReuseAddressResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetReuseAddressResponse -} - -type synchronousDatagramSocketWithCtxGetReuseAddressResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReuseAddressResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetReuseAddressResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetReuseAddressResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetReuseAddressResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetReuseAddressResponse -} - -type synchronousDatagramSocketWithCtxGetErrorResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetErrorResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetErrorResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetErrorResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetErrorResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetErrorResponse -} - -type synchronousDatagramSocketWithCtxSetBroadcastRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetBroadcastRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetBroadcastRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetBroadcastRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetBroadcastRequest -} - -type synchronousDatagramSocketWithCtxSetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBroadcastResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetBroadcastResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetBroadcastResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetBroadcastResponse -} - -type synchronousDatagramSocketWithCtxGetBroadcastResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBroadcastResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetBroadcastResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetBroadcastResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetBroadcastResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetBroadcastResponse -} - -type synchronousDatagramSocketWithCtxSetSendBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetSendBufferRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetSendBufferRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetSendBufferRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetSendBufferRequest -} - -type synchronousDatagramSocketWithCtxSetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetSendBufferResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetSendBufferResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetSendBufferResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetSendBufferResponse -} - -type synchronousDatagramSocketWithCtxGetSendBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetSendBufferResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetSendBufferResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetSendBufferResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetSendBufferResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetSendBufferResponse -} - -type synchronousDatagramSocketWithCtxSetReceiveBufferRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - ValueBytes uint64 `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetReceiveBufferRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetReceiveBufferRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetReceiveBufferRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetReceiveBufferRequest -} - -type synchronousDatagramSocketWithCtxSetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetReceiveBufferResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetReceiveBufferResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetReceiveBufferResponse -} - -type synchronousDatagramSocketWithCtxGetReceiveBufferResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReceiveBufferResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetReceiveBufferResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetReceiveBufferResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetReceiveBufferResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetReceiveBufferResponse -} - -type synchronousDatagramSocketWithCtxSetKeepAliveRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetKeepAliveRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetKeepAliveRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetKeepAliveRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetKeepAliveRequest -} - -type synchronousDatagramSocketWithCtxSetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetKeepAliveResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetKeepAliveResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetKeepAliveResponse -} - -type synchronousDatagramSocketWithCtxGetKeepAliveResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetKeepAliveResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetKeepAliveResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetKeepAliveResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetKeepAliveResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetKeepAliveResponse -} - -type synchronousDatagramSocketWithCtxSetOutOfBandInlineRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetOutOfBandInlineRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetOutOfBandInlineRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetOutOfBandInlineRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetOutOfBandInlineRequest -} - -type synchronousDatagramSocketWithCtxSetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetOutOfBandInlineResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetOutOfBandInlineResponse -} - -type synchronousDatagramSocketWithCtxGetOutOfBandInlineResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetOutOfBandInlineResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetOutOfBandInlineResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetOutOfBandInlineResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetOutOfBandInlineResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetOutOfBandInlineResponse -} - -type synchronousDatagramSocketWithCtxSetNoCheckRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetNoCheckRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetNoCheckRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetNoCheckRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetNoCheckRequest -} - -type synchronousDatagramSocketWithCtxSetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetNoCheckResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetNoCheckResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetNoCheckResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetNoCheckResponse -} - -type synchronousDatagramSocketWithCtxGetNoCheckResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetNoCheckResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetNoCheckResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetNoCheckResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetNoCheckResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetNoCheckResponse -} - -type synchronousDatagramSocketWithCtxSetLingerRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"4"` - Linger bool `fidl_offset_v2:"0"` - LengthSecs uint32 `fidl_offset_v2:"4"` -} - -var _msynchronousDatagramSocketWithCtxSetLingerRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetLingerRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetLingerRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetLingerRequest -} - -type synchronousDatagramSocketWithCtxSetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetLingerResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetLingerResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetLingerResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetLingerResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetLingerResponse -} - -type synchronousDatagramSocketWithCtxGetLingerResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetLingerResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetLingerResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetLingerResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetLingerResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetLingerResponse -} - -type synchronousDatagramSocketWithCtxSetReusePortRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetReusePortRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetReusePortRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetReusePortRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetReusePortRequest -} - -type synchronousDatagramSocketWithCtxSetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetReusePortResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetReusePortResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetReusePortResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetReusePortResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetReusePortResponse -} - -type synchronousDatagramSocketWithCtxGetReusePortResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetReusePortResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetReusePortResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetReusePortResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetReusePortResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetReusePortResponse -} - -type synchronousDatagramSocketWithCtxGetAcceptConnResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetAcceptConnResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetAcceptConnResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetAcceptConnResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetAcceptConnResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetAcceptConnResponse -} - -type synchronousDatagramSocketWithCtxSetBindToDeviceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value string `fidl_offset_v2:"0" fidl_bounds:"15"` -} - -var _msynchronousDatagramSocketWithCtxSetBindToDeviceRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetBindToDeviceRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetBindToDeviceRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetBindToDeviceRequest -} - -type synchronousDatagramSocketWithCtxSetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetBindToDeviceResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetBindToDeviceResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetBindToDeviceResponse -} - -type synchronousDatagramSocketWithCtxGetBindToDeviceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetBindToDeviceResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetBindToDeviceResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetBindToDeviceResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetBindToDeviceResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetBindToDeviceResponse -} - -type synchronousDatagramSocketWithCtxSetTimestampRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Value TimestampOption `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetTimestampRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetTimestampRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetTimestampRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetTimestampRequest -} - -type synchronousDatagramSocketWithCtxSetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketSetTimestampResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetTimestampResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetTimestampResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetTimestampResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetTimestampResponse -} - -type synchronousDatagramSocketWithCtxGetTimestampResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseSocketGetTimestampResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetTimestampResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetTimestampResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetTimestampResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetTimestampResponse -} - -type synchronousDatagramSocketWithCtxBindRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxBindRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxBindRequest{}) - -func (msg *synchronousDatagramSocketWithCtxBindRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxBindRequest -} - -type synchronousDatagramSocketWithCtxBindResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketBindResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxBindResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxBindResponse{}) - -func (msg *synchronousDatagramSocketWithCtxBindResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxBindResponse -} - -type synchronousDatagramSocketWithCtxConnectRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Addr fuchsianet.SocketAddress `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxConnectRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxConnectRequest{}) - -func (msg *synchronousDatagramSocketWithCtxConnectRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxConnectRequest -} - -type synchronousDatagramSocketWithCtxConnectResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketConnectResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxConnectResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxConnectResponse{}) - -func (msg *synchronousDatagramSocketWithCtxConnectResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxConnectResponse -} - -type synchronousDatagramSocketWithCtxDisconnectResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDisconnectResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxDisconnectResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxDisconnectResponse{}) - -func (msg *synchronousDatagramSocketWithCtxDisconnectResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxDisconnectResponse -} - -type synchronousDatagramSocketWithCtxGetSockNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetSockNameResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetSockNameResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetSockNameResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetSockNameResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetSockNameResponse -} - -type synchronousDatagramSocketWithCtxGetPeerNameResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetPeerNameResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetPeerNameResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetPeerNameResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetPeerNameResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetPeerNameResponse -} - -type synchronousDatagramSocketWithCtxShutdownRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"2" fidl_alignment_v2:"2"` - Mode ShutdownMode `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxShutdownRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxShutdownRequest{}) - -func (msg *synchronousDatagramSocketWithCtxShutdownRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxShutdownRequest -} - -type synchronousDatagramSocketWithCtxShutdownResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketShutdownResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxShutdownResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxShutdownResponse{}) - -func (msg *synchronousDatagramSocketWithCtxShutdownResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxShutdownResponse -} - -type synchronousDatagramSocketWithCtxSetIpTypeOfServiceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value uint8 `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpTypeOfServiceRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpTypeOfServiceRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpTypeOfServiceRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpTypeOfServiceRequest -} - -type synchronousDatagramSocketWithCtxSetIpTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpTypeOfServiceResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpTypeOfServiceResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpTypeOfServiceResponse -} - -type synchronousDatagramSocketWithCtxGetIpTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpTypeOfServiceResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpTypeOfServiceResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpTypeOfServiceResponse -} - -type synchronousDatagramSocketWithCtxSetIpTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpTtlRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpTtlRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpTtlRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpTtlRequest -} - -type synchronousDatagramSocketWithCtxSetIpTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpTtlResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpTtlResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpTtlResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpTtlResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpTtlResponse -} - -type synchronousDatagramSocketWithCtxGetIpTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpTtlResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpTtlResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpTtlResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpTtlResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpTtlResponse -} - -type synchronousDatagramSocketWithCtxSetIpPacketInfoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpPacketInfoRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpPacketInfoRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpPacketInfoRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpPacketInfoRequest -} - -type synchronousDatagramSocketWithCtxSetIpPacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpPacketInfoResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpPacketInfoResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpPacketInfoResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpPacketInfoResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpPacketInfoResponse -} - -type synchronousDatagramSocketWithCtxGetIpPacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpPacketInfoResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpPacketInfoResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpPacketInfoResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpPacketInfoResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpPacketInfoResponse -} - -type synchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest -} - -type synchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpReceiveTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse -} - -type synchronousDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpReceiveTypeOfServiceResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse -} - -type synchronousDatagramSocketWithCtxSetIpReceiveTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpReceiveTtlRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpReceiveTtlRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpReceiveTtlRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpReceiveTtlRequest -} - -type synchronousDatagramSocketWithCtxSetIpReceiveTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpReceiveTtlResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpReceiveTtlResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpReceiveTtlResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpReceiveTtlResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpReceiveTtlResponse -} - -type synchronousDatagramSocketWithCtxGetIpReceiveTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpReceiveTtlResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpReceiveTtlResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpReceiveTtlResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpReceiveTtlResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpReceiveTtlResponse -} - -type synchronousDatagramSocketWithCtxSetIpMulticastInterfaceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Iface uint64 `fidl_offset_v2:"0"` - Address fuchsianet.Ipv4Address `fidl_offset_v2:"8"` -} - -var _msynchronousDatagramSocketWithCtxSetIpMulticastInterfaceRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpMulticastInterfaceRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpMulticastInterfaceRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpMulticastInterfaceRequest -} - -type synchronousDatagramSocketWithCtxSetIpMulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpMulticastInterfaceResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpMulticastInterfaceResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpMulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpMulticastInterfaceResponse -} - -type synchronousDatagramSocketWithCtxGetIpMulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpMulticastInterfaceResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpMulticastInterfaceResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpMulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpMulticastInterfaceResponse -} - -type synchronousDatagramSocketWithCtxSetIpMulticastTtlRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpMulticastTtlRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpMulticastTtlRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpMulticastTtlRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpMulticastTtlRequest -} - -type synchronousDatagramSocketWithCtxSetIpMulticastTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastTtlResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpMulticastTtlResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpMulticastTtlResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpMulticastTtlResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpMulticastTtlResponse -} - -type synchronousDatagramSocketWithCtxGetIpMulticastTtlResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastTtlResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpMulticastTtlResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpMulticastTtlResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpMulticastTtlResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpMulticastTtlResponse -} - -type synchronousDatagramSocketWithCtxSetIpMulticastLoopbackRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpMulticastLoopbackRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpMulticastLoopbackRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpMulticastLoopbackRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpMulticastLoopbackRequest -} - -type synchronousDatagramSocketWithCtxSetIpMulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpMulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpMulticastLoopbackResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpMulticastLoopbackResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpMulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpMulticastLoopbackResponse -} - -type synchronousDatagramSocketWithCtxGetIpMulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpMulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpMulticastLoopbackResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpMulticastLoopbackResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpMulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpMulticastLoopbackResponse -} - -type synchronousDatagramSocketWithCtxAddIpMembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Membership IpMulticastMembership `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxAddIpMembershipRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxAddIpMembershipRequest{}) - -func (msg *synchronousDatagramSocketWithCtxAddIpMembershipRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxAddIpMembershipRequest -} - -type synchronousDatagramSocketWithCtxAddIpMembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketAddIpMembershipResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxAddIpMembershipResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxAddIpMembershipResponse{}) - -func (msg *synchronousDatagramSocketWithCtxAddIpMembershipResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxAddIpMembershipResponse -} - -type synchronousDatagramSocketWithCtxDropIpMembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Membership IpMulticastMembership `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxDropIpMembershipRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxDropIpMembershipRequest{}) - -func (msg *synchronousDatagramSocketWithCtxDropIpMembershipRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxDropIpMembershipRequest -} - -type synchronousDatagramSocketWithCtxDropIpMembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDropIpMembershipResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxDropIpMembershipResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxDropIpMembershipResponse{}) - -func (msg *synchronousDatagramSocketWithCtxDropIpMembershipResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxDropIpMembershipResponse -} - -type synchronousDatagramSocketWithCtxAddIpv6MembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxAddIpv6MembershipRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxAddIpv6MembershipRequest{}) - -func (msg *synchronousDatagramSocketWithCtxAddIpv6MembershipRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxAddIpv6MembershipRequest -} - -type synchronousDatagramSocketWithCtxAddIpv6MembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketAddIpv6MembershipResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxAddIpv6MembershipResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxAddIpv6MembershipResponse{}) - -func (msg *synchronousDatagramSocketWithCtxAddIpv6MembershipResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxAddIpv6MembershipResponse -} - -type synchronousDatagramSocketWithCtxDropIpv6MembershipRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"24" fidl_alignment_v2:"8"` - Membership Ipv6MulticastMembership `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxDropIpv6MembershipRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxDropIpv6MembershipRequest{}) - -func (msg *synchronousDatagramSocketWithCtxDropIpv6MembershipRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxDropIpv6MembershipRequest -} - -type synchronousDatagramSocketWithCtxDropIpv6MembershipResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketDropIpv6MembershipResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxDropIpv6MembershipResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxDropIpv6MembershipResponse{}) - -func (msg *synchronousDatagramSocketWithCtxDropIpv6MembershipResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxDropIpv6MembershipResponse -} - -type synchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"8" fidl_alignment_v2:"8"` - Value uint64 `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest -} - -type synchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse -} - -type synchronousDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastInterfaceResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse -} - -type synchronousDatagramSocketWithCtxSetIpv6UnicastHopsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6UnicastHopsRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6UnicastHopsRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6UnicastHopsRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6UnicastHopsRequest -} - -type synchronousDatagramSocketWithCtxSetIpv6UnicastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6UnicastHopsResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6UnicastHopsResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6UnicastHopsResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6UnicastHopsResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6UnicastHopsResponse -} - -type synchronousDatagramSocketWithCtxGetIpv6UnicastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6UnicastHopsResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpv6UnicastHopsResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpv6UnicastHopsResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpv6UnicastHopsResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpv6UnicastHopsResponse -} - -type synchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest -} - -type synchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceiveHopLimitResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse -} - -type synchronousDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceiveHopLimitResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse -} - -type synchronousDatagramSocketWithCtxSetIpv6MulticastHopsRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6MulticastHopsRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6MulticastHopsRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6MulticastHopsRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6MulticastHopsRequest -} - -type synchronousDatagramSocketWithCtxSetIpv6MulticastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastHopsResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6MulticastHopsResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6MulticastHopsResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6MulticastHopsResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6MulticastHopsResponse -} - -type synchronousDatagramSocketWithCtxGetIpv6MulticastHopsResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastHopsResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpv6MulticastHopsResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpv6MulticastHopsResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpv6MulticastHopsResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpv6MulticastHopsResponse -} - -type synchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest -} - -type synchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6MulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse -} - -type synchronousDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6MulticastLoopbackResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse -} - -type synchronousDatagramSocketWithCtxSetIpv6OnlyRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6OnlyRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6OnlyRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6OnlyRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6OnlyRequest -} - -type synchronousDatagramSocketWithCtxSetIpv6OnlyResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6OnlyResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6OnlyResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6OnlyResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6OnlyResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6OnlyResponse -} - -type synchronousDatagramSocketWithCtxGetIpv6OnlyResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6OnlyResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpv6OnlyResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpv6OnlyResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpv6OnlyResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpv6OnlyResponse -} - -type synchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest -} - -type synchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceiveTrafficClassResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse -} - -type synchronousDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceiveTrafficClassResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse -} - -type synchronousDatagramSocketWithCtxSetIpv6TrafficClassRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Value OptionalUint8 `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6TrafficClassRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6TrafficClassRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6TrafficClassRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6TrafficClassRequest -} - -type synchronousDatagramSocketWithCtxSetIpv6TrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6TrafficClassResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6TrafficClassResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6TrafficClassResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6TrafficClassResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6TrafficClassResponse -} - -type synchronousDatagramSocketWithCtxGetIpv6TrafficClassResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6TrafficClassResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpv6TrafficClassResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpv6TrafficClassResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpv6TrafficClassResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpv6TrafficClassResponse -} - -type synchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` - Value bool `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest -} - -type synchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketSetIpv6ReceivePacketInfoResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse -} - -type synchronousDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseNetworkSocketGetIpv6ReceivePacketInfoResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse -} - -type synchronousDatagramSocketWithCtxGetInfoResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result BaseDatagramSocketGetInfoResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxGetInfoResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxGetInfoResponse{}) - -func (msg *synchronousDatagramSocketWithCtxGetInfoResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxGetInfoResponse -} - -type synchronousDatagramSocketWithCtxRecvMsgRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"12" fidl_alignment_v2:"4"` - WantAddr bool `fidl_offset_v2:"0"` - DataLen uint32 `fidl_offset_v2:"4"` - WantControl bool `fidl_offset_v2:"8"` - Flags RecvMsgFlags `fidl_offset_v2:"10"` -} - -var _msynchronousDatagramSocketWithCtxRecvMsgRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxRecvMsgRequest{}) - -func (msg *synchronousDatagramSocketWithCtxRecvMsgRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxRecvMsgRequest -} - -type synchronousDatagramSocketWithCtxRecvMsgResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result SynchronousDatagramSocketRecvMsgResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxRecvMsgResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxRecvMsgResponse{}) - -func (msg *synchronousDatagramSocketWithCtxRecvMsgResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxRecvMsgResponse -} - -type synchronousDatagramSocketWithCtxSendMsgRequest struct { - _ struct{} `fidl:"s" fidl_size_v2:"56" fidl_alignment_v2:"8"` - Addr *fuchsianet.SocketAddress `fidl_offset_v2:"0"` - Data []uint8 `fidl_offset_v2:"16" fidl_bounds:""` - Control DatagramSocketSendControlData `fidl_offset_v2:"32"` - Flags SendMsgFlags `fidl_offset_v2:"48"` -} - -var _msynchronousDatagramSocketWithCtxSendMsgRequest = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSendMsgRequest{}) - -func (msg *synchronousDatagramSocketWithCtxSendMsgRequest) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSendMsgRequest -} - -type synchronousDatagramSocketWithCtxSendMsgResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result SynchronousDatagramSocketSendMsgResult `fidl_offset_v2:"0"` -} - -var _msynchronousDatagramSocketWithCtxSendMsgResponse = _bindings.CreateLazyMarshaler(synchronousDatagramSocketWithCtxSendMsgResponse{}) - -func (msg *synchronousDatagramSocketWithCtxSendMsgResponse) Marshaler() _bindings.Marshaler { - return _msynchronousDatagramSocketWithCtxSendMsgResponse -} - type I_baseDatagramSocketGetInfoResultTag uint64 const ( @@ -9863,6 +3592,68 @@ return _u } +type I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag uint64 + +const ( + BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultResponse = 1 // 0x00000001 + BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultErr = 2 // 0x00000002 +) + +type BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult struct { + I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse `fidl_ordinal:"1"` + Err fuchsiaposix.Errno `fidl_ordinal:"2"` +} + +var _mBaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult = _bindings.CreateLazyMarshaler(BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult{}) + +func (msg *BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult +} + +func (_m *BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) reset() { + switch _m.I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag { + case 1: + var _zeroed BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse + _m.Response = _zeroed + case 2: + var _zeroed fuchsiaposix.Errno + _m.Err = _zeroed + } +} + +func (_m *BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) Which() I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag { + return _m.I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag +} + +func (_m *BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) Ordinal() uint64 { + return uint64(_m.I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag) +} + +func (_m *BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) SetResponse(response BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse) { + _m.reset() + _m.I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag = BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultResponse + _m.Response = response +} + +func BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultWithResponse(response BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResponse) BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult { + var _u BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult + _u.SetResponse(response) + return _u +} + +func (_m *BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult) SetErr(err fuchsiaposix.Errno) { + _m.reset() + _m.I_baseNetworkSocketGetIpReceiveOriginalDestinationAddressResultTag = BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultErr + _m.Err = err +} + +func BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResultWithErr(err fuchsiaposix.Errno) BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult { + var _u BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult + _u.SetErr(err) + return _u +} + type I_baseNetworkSocketGetIpReceiveTtlResultTag uint64 const ( @@ -9987,6 +3778,68 @@ return _u } +type I_baseNetworkSocketGetIpTransparentResultTag uint64 + +const ( + BaseNetworkSocketGetIpTransparentResultResponse = 1 // 0x00000001 + BaseNetworkSocketGetIpTransparentResultErr = 2 // 0x00000002 +) + +type BaseNetworkSocketGetIpTransparentResult struct { + I_baseNetworkSocketGetIpTransparentResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response BaseNetworkSocketGetIpTransparentResponse `fidl_ordinal:"1"` + Err fuchsiaposix.Errno `fidl_ordinal:"2"` +} + +var _mBaseNetworkSocketGetIpTransparentResult = _bindings.CreateLazyMarshaler(BaseNetworkSocketGetIpTransparentResult{}) + +func (msg *BaseNetworkSocketGetIpTransparentResult) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketGetIpTransparentResult +} + +func (_m *BaseNetworkSocketGetIpTransparentResult) reset() { + switch _m.I_baseNetworkSocketGetIpTransparentResultTag { + case 1: + var _zeroed BaseNetworkSocketGetIpTransparentResponse + _m.Response = _zeroed + case 2: + var _zeroed fuchsiaposix.Errno + _m.Err = _zeroed + } +} + +func (_m *BaseNetworkSocketGetIpTransparentResult) Which() I_baseNetworkSocketGetIpTransparentResultTag { + return _m.I_baseNetworkSocketGetIpTransparentResultTag +} + +func (_m *BaseNetworkSocketGetIpTransparentResult) Ordinal() uint64 { + return uint64(_m.I_baseNetworkSocketGetIpTransparentResultTag) +} + +func (_m *BaseNetworkSocketGetIpTransparentResult) SetResponse(response BaseNetworkSocketGetIpTransparentResponse) { + _m.reset() + _m.I_baseNetworkSocketGetIpTransparentResultTag = BaseNetworkSocketGetIpTransparentResultResponse + _m.Response = response +} + +func BaseNetworkSocketGetIpTransparentResultWithResponse(response BaseNetworkSocketGetIpTransparentResponse) BaseNetworkSocketGetIpTransparentResult { + var _u BaseNetworkSocketGetIpTransparentResult + _u.SetResponse(response) + return _u +} + +func (_m *BaseNetworkSocketGetIpTransparentResult) SetErr(err fuchsiaposix.Errno) { + _m.reset() + _m.I_baseNetworkSocketGetIpTransparentResultTag = BaseNetworkSocketGetIpTransparentResultErr + _m.Err = err +} + +func BaseNetworkSocketGetIpTransparentResultWithErr(err fuchsiaposix.Errno) BaseNetworkSocketGetIpTransparentResult { + var _u BaseNetworkSocketGetIpTransparentResult + _u.SetErr(err) + return _u +} + type I_baseNetworkSocketGetIpTtlResultTag uint64 const ( @@ -10669,6 +4522,68 @@ return _u } +type I_baseNetworkSocketGetOriginalDestinationResultTag uint64 + +const ( + BaseNetworkSocketGetOriginalDestinationResultResponse = 1 // 0x00000001 + BaseNetworkSocketGetOriginalDestinationResultErr = 2 // 0x00000002 +) + +type BaseNetworkSocketGetOriginalDestinationResult struct { + I_baseNetworkSocketGetOriginalDestinationResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response BaseNetworkSocketGetOriginalDestinationResponse `fidl_ordinal:"1"` + Err fuchsiaposix.Errno `fidl_ordinal:"2"` +} + +var _mBaseNetworkSocketGetOriginalDestinationResult = _bindings.CreateLazyMarshaler(BaseNetworkSocketGetOriginalDestinationResult{}) + +func (msg *BaseNetworkSocketGetOriginalDestinationResult) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketGetOriginalDestinationResult +} + +func (_m *BaseNetworkSocketGetOriginalDestinationResult) reset() { + switch _m.I_baseNetworkSocketGetOriginalDestinationResultTag { + case 1: + var _zeroed BaseNetworkSocketGetOriginalDestinationResponse + _m.Response = _zeroed + case 2: + var _zeroed fuchsiaposix.Errno + _m.Err = _zeroed + } +} + +func (_m *BaseNetworkSocketGetOriginalDestinationResult) Which() I_baseNetworkSocketGetOriginalDestinationResultTag { + return _m.I_baseNetworkSocketGetOriginalDestinationResultTag +} + +func (_m *BaseNetworkSocketGetOriginalDestinationResult) Ordinal() uint64 { + return uint64(_m.I_baseNetworkSocketGetOriginalDestinationResultTag) +} + +func (_m *BaseNetworkSocketGetOriginalDestinationResult) SetResponse(response BaseNetworkSocketGetOriginalDestinationResponse) { + _m.reset() + _m.I_baseNetworkSocketGetOriginalDestinationResultTag = BaseNetworkSocketGetOriginalDestinationResultResponse + _m.Response = response +} + +func BaseNetworkSocketGetOriginalDestinationResultWithResponse(response BaseNetworkSocketGetOriginalDestinationResponse) BaseNetworkSocketGetOriginalDestinationResult { + var _u BaseNetworkSocketGetOriginalDestinationResult + _u.SetResponse(response) + return _u +} + +func (_m *BaseNetworkSocketGetOriginalDestinationResult) SetErr(err fuchsiaposix.Errno) { + _m.reset() + _m.I_baseNetworkSocketGetOriginalDestinationResultTag = BaseNetworkSocketGetOriginalDestinationResultErr + _m.Err = err +} + +func BaseNetworkSocketGetOriginalDestinationResultWithErr(err fuchsiaposix.Errno) BaseNetworkSocketGetOriginalDestinationResult { + var _u BaseNetworkSocketGetOriginalDestinationResult + _u.SetErr(err) + return _u +} + type I_baseNetworkSocketGetPeerNameResultTag uint64 const ( @@ -11041,6 +4956,68 @@ return _u } +type I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag uint64 + +const ( + BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultResponse = 1 // 0x00000001 + BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultErr = 2 // 0x00000002 +) + +type BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult struct { + I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse `fidl_ordinal:"1"` + Err fuchsiaposix.Errno `fidl_ordinal:"2"` +} + +var _mBaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult{}) + +func (msg *BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult +} + +func (_m *BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) reset() { + switch _m.I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag { + case 1: + var _zeroed BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse + _m.Response = _zeroed + case 2: + var _zeroed fuchsiaposix.Errno + _m.Err = _zeroed + } +} + +func (_m *BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) Which() I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag { + return _m.I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag +} + +func (_m *BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) Ordinal() uint64 { + return uint64(_m.I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag) +} + +func (_m *BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) SetResponse(response BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse) { + _m.reset() + _m.I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag = BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultResponse + _m.Response = response +} + +func BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultWithResponse(response BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResponse) BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult { + var _u BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult + _u.SetResponse(response) + return _u +} + +func (_m *BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult) SetErr(err fuchsiaposix.Errno) { + _m.reset() + _m.I_baseNetworkSocketSetIpReceiveOriginalDestinationAddressResultTag = BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultErr + _m.Err = err +} + +func BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResultWithErr(err fuchsiaposix.Errno) BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult { + var _u BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult + _u.SetErr(err) + return _u +} + type I_baseNetworkSocketSetIpReceiveTtlResultTag uint64 const ( @@ -11165,6 +5142,68 @@ return _u } +type I_baseNetworkSocketSetIpTransparentResultTag uint64 + +const ( + BaseNetworkSocketSetIpTransparentResultResponse = 1 // 0x00000001 + BaseNetworkSocketSetIpTransparentResultErr = 2 // 0x00000002 +) + +type BaseNetworkSocketSetIpTransparentResult struct { + I_baseNetworkSocketSetIpTransparentResultTag `fidl:"x!" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + Response BaseNetworkSocketSetIpTransparentResponse `fidl_ordinal:"1"` + Err fuchsiaposix.Errno `fidl_ordinal:"2"` +} + +var _mBaseNetworkSocketSetIpTransparentResult = _bindings.CreateLazyMarshaler(BaseNetworkSocketSetIpTransparentResult{}) + +func (msg *BaseNetworkSocketSetIpTransparentResult) Marshaler() _bindings.Marshaler { + return _mBaseNetworkSocketSetIpTransparentResult +} + +func (_m *BaseNetworkSocketSetIpTransparentResult) reset() { + switch _m.I_baseNetworkSocketSetIpTransparentResultTag { + case 1: + var _zeroed BaseNetworkSocketSetIpTransparentResponse + _m.Response = _zeroed + case 2: + var _zeroed fuchsiaposix.Errno + _m.Err = _zeroed + } +} + +func (_m *BaseNetworkSocketSetIpTransparentResult) Which() I_baseNetworkSocketSetIpTransparentResultTag { + return _m.I_baseNetworkSocketSetIpTransparentResultTag +} + +func (_m *BaseNetworkSocketSetIpTransparentResult) Ordinal() uint64 { + return uint64(_m.I_baseNetworkSocketSetIpTransparentResultTag) +} + +func (_m *BaseNetworkSocketSetIpTransparentResult) SetResponse(response BaseNetworkSocketSetIpTransparentResponse) { + _m.reset() + _m.I_baseNetworkSocketSetIpTransparentResultTag = BaseNetworkSocketSetIpTransparentResultResponse + _m.Response = response +} + +func BaseNetworkSocketSetIpTransparentResultWithResponse(response BaseNetworkSocketSetIpTransparentResponse) BaseNetworkSocketSetIpTransparentResult { + var _u BaseNetworkSocketSetIpTransparentResult + _u.SetResponse(response) + return _u +} + +func (_m *BaseNetworkSocketSetIpTransparentResult) SetErr(err fuchsiaposix.Errno) { + _m.reset() + _m.I_baseNetworkSocketSetIpTransparentResultTag = BaseNetworkSocketSetIpTransparentResultErr + _m.Err = err +} + +func BaseNetworkSocketSetIpTransparentResultWithErr(err fuchsiaposix.Errno) BaseNetworkSocketSetIpTransparentResult { + var _u BaseNetworkSocketSetIpTransparentResult + _u.SetErr(err) + return _u +} + type I_baseNetworkSocketSetIpTtlResultTag uint64 const ( @@ -16065,6 +10104,134 @@ return _u } +type DatagramSocketDescribeResponse struct { + _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"true"` + I_unknownData interface{} + // `ZX_SOCKET_DATAGRAM` on which data is sent and received. + Socket _zx.Socket `fidl_handle_subtype:"14" fidl_handle_rights:"2147483648" fidl_bounds:"0" fidl_ordinal:"1"` + SocketPresent bool + // Size of the buffer used to receive Tx metadata. + TxMetaBufSize uint64 `fidl_ordinal:"2"` + TxMetaBufSizePresent bool + // Size of the buffer used to receive Rx metadata. + RxMetaBufSize uint64 `fidl_ordinal:"3"` + RxMetaBufSizePresent bool + // Identifies the version of the protocol used to encode and decode + // metadata sent alongside payloads over the socket. + MetadataEncodingProtocolVersion UdpMetadataEncodingProtocolVersion `fidl_ordinal:"4"` + MetadataEncodingProtocolVersionPresent bool +} + +var _mDatagramSocketDescribeResponse = _bindings.CreateLazyMarshaler(DatagramSocketDescribeResponse{}) + +func (msg *DatagramSocketDescribeResponse) Marshaler() _bindings.Marshaler { + return _mDatagramSocketDescribeResponse +} + +func (u *DatagramSocketDescribeResponse) SetSocket(socket _zx.Socket) { + u.Socket = socket + u.SocketPresent = true +} + +func (u *DatagramSocketDescribeResponse) GetSocket() _zx.Socket { + return u.Socket +} + +func (u *DatagramSocketDescribeResponse) GetSocketWithDefault(_default _zx.Socket) _zx.Socket { + if !u.HasSocket() { + return _default + } + return u.Socket +} + +func (u *DatagramSocketDescribeResponse) HasSocket() bool { + return u.SocketPresent +} + +func (u *DatagramSocketDescribeResponse) ClearSocket() { + u.SocketPresent = false +} + +func (u *DatagramSocketDescribeResponse) SetTxMetaBufSize(txMetaBufSize uint64) { + u.TxMetaBufSize = txMetaBufSize + u.TxMetaBufSizePresent = true +} + +func (u *DatagramSocketDescribeResponse) GetTxMetaBufSize() uint64 { + return u.TxMetaBufSize +} + +func (u *DatagramSocketDescribeResponse) GetTxMetaBufSizeWithDefault(_default uint64) uint64 { + if !u.HasTxMetaBufSize() { + return _default + } + return u.TxMetaBufSize +} + +func (u *DatagramSocketDescribeResponse) HasTxMetaBufSize() bool { + return u.TxMetaBufSizePresent +} + +func (u *DatagramSocketDescribeResponse) ClearTxMetaBufSize() { + u.TxMetaBufSizePresent = false +} + +func (u *DatagramSocketDescribeResponse) SetRxMetaBufSize(rxMetaBufSize uint64) { + u.RxMetaBufSize = rxMetaBufSize + u.RxMetaBufSizePresent = true +} + +func (u *DatagramSocketDescribeResponse) GetRxMetaBufSize() uint64 { + return u.RxMetaBufSize +} + +func (u *DatagramSocketDescribeResponse) GetRxMetaBufSizeWithDefault(_default uint64) uint64 { + if !u.HasRxMetaBufSize() { + return _default + } + return u.RxMetaBufSize +} + +func (u *DatagramSocketDescribeResponse) HasRxMetaBufSize() bool { + return u.RxMetaBufSizePresent +} + +func (u *DatagramSocketDescribeResponse) ClearRxMetaBufSize() { + u.RxMetaBufSizePresent = false +} + +func (u *DatagramSocketDescribeResponse) SetMetadataEncodingProtocolVersion(metadataEncodingProtocolVersion UdpMetadataEncodingProtocolVersion) { + u.MetadataEncodingProtocolVersion = metadataEncodingProtocolVersion + u.MetadataEncodingProtocolVersionPresent = true +} + +func (u *DatagramSocketDescribeResponse) GetMetadataEncodingProtocolVersion() UdpMetadataEncodingProtocolVersion { + return u.MetadataEncodingProtocolVersion +} + +func (u *DatagramSocketDescribeResponse) GetMetadataEncodingProtocolVersionWithDefault(_default UdpMetadataEncodingProtocolVersion) UdpMetadataEncodingProtocolVersion { + if !u.HasMetadataEncodingProtocolVersion() { + return _default + } + return u.MetadataEncodingProtocolVersion +} + +func (u *DatagramSocketDescribeResponse) HasMetadataEncodingProtocolVersion() bool { + return u.MetadataEncodingProtocolVersionPresent +} + +func (u *DatagramSocketDescribeResponse) ClearMetadataEncodingProtocolVersion() { + u.MetadataEncodingProtocolVersionPresent = false +} + +func (u *DatagramSocketDescribeResponse) HasUnknownData() bool { + return u.I_unknownData != nil +} + +func (u *DatagramSocketDescribeResponse) GetUnknownData() map[uint64]_bindings.UnknownData { + return u.I_unknownData.(map[uint64]_bindings.UnknownData) +} + type DatagramSocketRecvControlData struct { _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` I_unknownData interface{} @@ -16157,6 +10324,88 @@ return u.I_unknownData.(map[uint64]_bindings.UnknownData) } +type DatagramSocketSendMsgPreflightRequest struct { + _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` + I_unknownData interface{} + // The destination address. + // + // If absent, interpreted as the method receiver's connected address and + // causes the connected address to be returned. + // + // Required if the method receiver is not connected. + To fuchsianet.SocketAddress `fidl_ordinal:"1"` + ToPresent bool + // Information controlling the local interface and/or address used when + // sending an IPv6 packet. + // + // If absent, indicates that the stack is free to choose an appropriate + // outgoing route. + Ipv6Pktinfo Ipv6PktInfoSendControlData `fidl_ordinal:"2"` + Ipv6PktinfoPresent bool +} + +var _mDatagramSocketSendMsgPreflightRequest = _bindings.CreateLazyMarshaler(DatagramSocketSendMsgPreflightRequest{}) + +func (msg *DatagramSocketSendMsgPreflightRequest) Marshaler() _bindings.Marshaler { + return _mDatagramSocketSendMsgPreflightRequest +} + +func (u *DatagramSocketSendMsgPreflightRequest) SetTo(to fuchsianet.SocketAddress) { + u.To = to + u.ToPresent = true +} + +func (u *DatagramSocketSendMsgPreflightRequest) GetTo() fuchsianet.SocketAddress { + return u.To +} + +func (u *DatagramSocketSendMsgPreflightRequest) GetToWithDefault(_default fuchsianet.SocketAddress) fuchsianet.SocketAddress { + if !u.HasTo() { + return _default + } + return u.To +} + +func (u *DatagramSocketSendMsgPreflightRequest) HasTo() bool { + return u.ToPresent +} + +func (u *DatagramSocketSendMsgPreflightRequest) ClearTo() { + u.ToPresent = false +} + +func (u *DatagramSocketSendMsgPreflightRequest) SetIpv6Pktinfo(ipv6Pktinfo Ipv6PktInfoSendControlData) { + u.Ipv6Pktinfo = ipv6Pktinfo + u.Ipv6PktinfoPresent = true +} + +func (u *DatagramSocketSendMsgPreflightRequest) GetIpv6Pktinfo() Ipv6PktInfoSendControlData { + return u.Ipv6Pktinfo +} + +func (u *DatagramSocketSendMsgPreflightRequest) GetIpv6PktinfoWithDefault(_default Ipv6PktInfoSendControlData) Ipv6PktInfoSendControlData { + if !u.HasIpv6Pktinfo() { + return _default + } + return u.Ipv6Pktinfo +} + +func (u *DatagramSocketSendMsgPreflightRequest) HasIpv6Pktinfo() bool { + return u.Ipv6PktinfoPresent +} + +func (u *DatagramSocketSendMsgPreflightRequest) ClearIpv6Pktinfo() { + u.Ipv6PktinfoPresent = false +} + +func (u *DatagramSocketSendMsgPreflightRequest) HasUnknownData() bool { + return u.I_unknownData != nil +} + +func (u *DatagramSocketSendMsgPreflightRequest) GetUnknownData() map[uint64]_bindings.UnknownData { + return u.I_unknownData.(map[uint64]_bindings.UnknownData) +} + type DatagramSocketRecvMsgPostflightResponse struct { _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"true"` I_unknownData interface{} @@ -16513,6 +10762,11 @@ // Present if the `SOL_IP` -> `IP_RECVTTL` option is enabled. Ttl uint8 `fidl_ordinal:"2"` TtlPresent bool + // The original destination address. + // + // Present if the `SOL_IP` -> `IP_RECVORIGDSTADDR` option is enabled. + OriginalDestinationAddress fuchsianet.SocketAddress `fidl_ordinal:"3"` + OriginalDestinationAddressPresent bool } var _mIpRecvControlData = _bindings.CreateLazyMarshaler(IpRecvControlData{}) @@ -16569,6 +10823,30 @@ u.TtlPresent = false } +func (u *IpRecvControlData) SetOriginalDestinationAddress(originalDestinationAddress fuchsianet.SocketAddress) { + u.OriginalDestinationAddress = originalDestinationAddress + u.OriginalDestinationAddressPresent = true +} + +func (u *IpRecvControlData) GetOriginalDestinationAddress() fuchsianet.SocketAddress { + return u.OriginalDestinationAddress +} + +func (u *IpRecvControlData) GetOriginalDestinationAddressWithDefault(_default fuchsianet.SocketAddress) fuchsianet.SocketAddress { + if !u.HasOriginalDestinationAddress() { + return _default + } + return u.OriginalDestinationAddress +} + +func (u *IpRecvControlData) HasOriginalDestinationAddress() bool { + return u.OriginalDestinationAddressPresent +} + +func (u *IpRecvControlData) ClearOriginalDestinationAddress() { + u.OriginalDestinationAddressPresent = false +} + func (u *IpRecvControlData) HasUnknownData() bool { return u.I_unknownData != nil } @@ -17261,6 +11539,99 @@ return u.I_unknownData.(map[uint64]_bindings.UnknownData) } +type StreamSocketDescribeResponse struct { + _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"true"` + I_unknownData interface{} + // `ZX_SOCKET_STREAM` on which data is sent and received. + Socket _zx.Socket `fidl_handle_subtype:"14" fidl_handle_rights:"2147483648" fidl_bounds:"0" fidl_ordinal:"1"` + SocketPresent bool +} + +var _mStreamSocketDescribeResponse = _bindings.CreateLazyMarshaler(StreamSocketDescribeResponse{}) + +func (msg *StreamSocketDescribeResponse) Marshaler() _bindings.Marshaler { + return _mStreamSocketDescribeResponse +} + +func (u *StreamSocketDescribeResponse) SetSocket(socket _zx.Socket) { + u.Socket = socket + u.SocketPresent = true +} + +func (u *StreamSocketDescribeResponse) GetSocket() _zx.Socket { + return u.Socket +} + +func (u *StreamSocketDescribeResponse) GetSocketWithDefault(_default _zx.Socket) _zx.Socket { + if !u.HasSocket() { + return _default + } + return u.Socket +} + +func (u *StreamSocketDescribeResponse) HasSocket() bool { + return u.SocketPresent +} + +func (u *StreamSocketDescribeResponse) ClearSocket() { + u.SocketPresent = false +} + +func (u *StreamSocketDescribeResponse) HasUnknownData() bool { + return u.I_unknownData != nil +} + +func (u *StreamSocketDescribeResponse) GetUnknownData() map[uint64]_bindings.UnknownData { + return u.I_unknownData.(map[uint64]_bindings.UnknownData) +} + +type SynchronousDatagramSocketDescribeResponse struct { + _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"true"` + I_unknownData interface{} + // Signals additional information about the state of the socket such as + // readiness or shutdown-ness. + Event _zx.Handle `fidl_handle_subtype:"16" fidl_handle_rights:"2147483648" fidl_bounds:"0" fidl_ordinal:"1"` + EventPresent bool +} + +var _mSynchronousDatagramSocketDescribeResponse = _bindings.CreateLazyMarshaler(SynchronousDatagramSocketDescribeResponse{}) + +func (msg *SynchronousDatagramSocketDescribeResponse) Marshaler() _bindings.Marshaler { + return _mSynchronousDatagramSocketDescribeResponse +} + +func (u *SynchronousDatagramSocketDescribeResponse) SetEvent(event _zx.Handle) { + u.Event = event + u.EventPresent = true +} + +func (u *SynchronousDatagramSocketDescribeResponse) GetEvent() _zx.Handle { + return u.Event +} + +func (u *SynchronousDatagramSocketDescribeResponse) GetEventWithDefault(_default _zx.Handle) _zx.Handle { + if !u.HasEvent() { + return _default + } + return u.Event +} + +func (u *SynchronousDatagramSocketDescribeResponse) HasEvent() bool { + return u.EventPresent +} + +func (u *SynchronousDatagramSocketDescribeResponse) ClearEvent() { + u.EventPresent = false +} + +func (u *SynchronousDatagramSocketDescribeResponse) HasUnknownData() bool { + return u.I_unknownData != nil +} + +func (u *SynchronousDatagramSocketDescribeResponse) GetUnknownData() map[uint64]_bindings.UnknownData { + return u.I_unknownData.(map[uint64]_bindings.UnknownData) +} + // TCP protocol state. type TcpInfo struct { _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` @@ -17489,388 +11860,90 @@ return u.I_unknownData.(map[uint64]_bindings.UnknownData) } -type DatagramSocketDescribeResponse struct { - _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"true"` - I_unknownData interface{} - // `ZX_SOCKET_DATAGRAM` on which data is sent and received. - Socket _zx.Socket `fidl_handle_subtype:"14" fidl_handle_rights:"2147483648" fidl_bounds:"0" fidl_ordinal:"1"` - SocketPresent bool - // Size of the buffer used to receive Tx metadata. - TxMetaBufSize uint64 `fidl_ordinal:"2"` - TxMetaBufSizePresent bool - // Size of the buffer used to receive Rx metadata. - RxMetaBufSize uint64 `fidl_ordinal:"3"` - RxMetaBufSizePresent bool - // Identifies the version of the protocol used to encode and decode - // metadata sent alongside payloads over the socket. - MetadataEncodingProtocolVersion UdpMetadataEncodingProtocolVersion `fidl_ordinal:"4"` - MetadataEncodingProtocolVersionPresent bool -} - -var _mDatagramSocketDescribeResponse = _bindings.CreateLazyMarshaler(DatagramSocketDescribeResponse{}) - -func (msg *DatagramSocketDescribeResponse) Marshaler() _bindings.Marshaler { - return _mDatagramSocketDescribeResponse -} - -func (u *DatagramSocketDescribeResponse) SetSocket(socket _zx.Socket) { - u.Socket = socket - u.SocketPresent = true -} - -func (u *DatagramSocketDescribeResponse) GetSocket() _zx.Socket { - return u.Socket -} - -func (u *DatagramSocketDescribeResponse) GetSocketWithDefault(_default _zx.Socket) _zx.Socket { - if !u.HasSocket() { - return _default - } - return u.Socket -} - -func (u *DatagramSocketDescribeResponse) HasSocket() bool { - return u.SocketPresent -} - -func (u *DatagramSocketDescribeResponse) ClearSocket() { - u.SocketPresent = false -} - -func (u *DatagramSocketDescribeResponse) SetTxMetaBufSize(txMetaBufSize uint64) { - u.TxMetaBufSize = txMetaBufSize - u.TxMetaBufSizePresent = true -} - -func (u *DatagramSocketDescribeResponse) GetTxMetaBufSize() uint64 { - return u.TxMetaBufSize -} - -func (u *DatagramSocketDescribeResponse) GetTxMetaBufSizeWithDefault(_default uint64) uint64 { - if !u.HasTxMetaBufSize() { - return _default - } - return u.TxMetaBufSize -} - -func (u *DatagramSocketDescribeResponse) HasTxMetaBufSize() bool { - return u.TxMetaBufSizePresent -} - -func (u *DatagramSocketDescribeResponse) ClearTxMetaBufSize() { - u.TxMetaBufSizePresent = false -} - -func (u *DatagramSocketDescribeResponse) SetRxMetaBufSize(rxMetaBufSize uint64) { - u.RxMetaBufSize = rxMetaBufSize - u.RxMetaBufSizePresent = true -} - -func (u *DatagramSocketDescribeResponse) GetRxMetaBufSize() uint64 { - return u.RxMetaBufSize -} - -func (u *DatagramSocketDescribeResponse) GetRxMetaBufSizeWithDefault(_default uint64) uint64 { - if !u.HasRxMetaBufSize() { - return _default - } - return u.RxMetaBufSize -} - -func (u *DatagramSocketDescribeResponse) HasRxMetaBufSize() bool { - return u.RxMetaBufSizePresent -} - -func (u *DatagramSocketDescribeResponse) ClearRxMetaBufSize() { - u.RxMetaBufSizePresent = false -} - -func (u *DatagramSocketDescribeResponse) SetMetadataEncodingProtocolVersion(metadataEncodingProtocolVersion UdpMetadataEncodingProtocolVersion) { - u.MetadataEncodingProtocolVersion = metadataEncodingProtocolVersion - u.MetadataEncodingProtocolVersionPresent = true -} - -func (u *DatagramSocketDescribeResponse) GetMetadataEncodingProtocolVersion() UdpMetadataEncodingProtocolVersion { - return u.MetadataEncodingProtocolVersion -} - -func (u *DatagramSocketDescribeResponse) GetMetadataEncodingProtocolVersionWithDefault(_default UdpMetadataEncodingProtocolVersion) UdpMetadataEncodingProtocolVersion { - if !u.HasMetadataEncodingProtocolVersion() { - return _default - } - return u.MetadataEncodingProtocolVersion -} - -func (u *DatagramSocketDescribeResponse) HasMetadataEncodingProtocolVersion() bool { - return u.MetadataEncodingProtocolVersionPresent -} - -func (u *DatagramSocketDescribeResponse) ClearMetadataEncodingProtocolVersion() { - u.MetadataEncodingProtocolVersionPresent = false -} - -func (u *DatagramSocketDescribeResponse) HasUnknownData() bool { - return u.I_unknownData != nil -} - -func (u *DatagramSocketDescribeResponse) GetUnknownData() map[uint64]_bindings.UnknownData { - return u.I_unknownData.(map[uint64]_bindings.UnknownData) -} - -type DatagramSocketSendMsgPreflightRequest struct { - _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"false"` - I_unknownData interface{} - // The destination address. - // - // If absent, interpreted as the method receiver's connected address and - // causes the connected address to be returned. - // - // Required if the method receiver is not connected. - To fuchsianet.SocketAddress `fidl_ordinal:"1"` - ToPresent bool - // Information controlling the local interface and/or address used when - // sending an IPv6 packet. - // - // If absent, indicates that the stack is free to choose an appropriate - // outgoing route. - Ipv6Pktinfo Ipv6PktInfoSendControlData `fidl_ordinal:"2"` - Ipv6PktinfoPresent bool -} - -var _mDatagramSocketSendMsgPreflightRequest = _bindings.CreateLazyMarshaler(DatagramSocketSendMsgPreflightRequest{}) - -func (msg *DatagramSocketSendMsgPreflightRequest) Marshaler() _bindings.Marshaler { - return _mDatagramSocketSendMsgPreflightRequest -} - -func (u *DatagramSocketSendMsgPreflightRequest) SetTo(to fuchsianet.SocketAddress) { - u.To = to - u.ToPresent = true -} - -func (u *DatagramSocketSendMsgPreflightRequest) GetTo() fuchsianet.SocketAddress { - return u.To -} - -func (u *DatagramSocketSendMsgPreflightRequest) GetToWithDefault(_default fuchsianet.SocketAddress) fuchsianet.SocketAddress { - if !u.HasTo() { - return _default - } - return u.To -} - -func (u *DatagramSocketSendMsgPreflightRequest) HasTo() bool { - return u.ToPresent -} - -func (u *DatagramSocketSendMsgPreflightRequest) ClearTo() { - u.ToPresent = false -} - -func (u *DatagramSocketSendMsgPreflightRequest) SetIpv6Pktinfo(ipv6Pktinfo Ipv6PktInfoSendControlData) { - u.Ipv6Pktinfo = ipv6Pktinfo - u.Ipv6PktinfoPresent = true -} - -func (u *DatagramSocketSendMsgPreflightRequest) GetIpv6Pktinfo() Ipv6PktInfoSendControlData { - return u.Ipv6Pktinfo -} - -func (u *DatagramSocketSendMsgPreflightRequest) GetIpv6PktinfoWithDefault(_default Ipv6PktInfoSendControlData) Ipv6PktInfoSendControlData { - if !u.HasIpv6Pktinfo() { - return _default - } - return u.Ipv6Pktinfo -} - -func (u *DatagramSocketSendMsgPreflightRequest) HasIpv6Pktinfo() bool { - return u.Ipv6PktinfoPresent -} - -func (u *DatagramSocketSendMsgPreflightRequest) ClearIpv6Pktinfo() { - u.Ipv6PktinfoPresent = false -} - -func (u *DatagramSocketSendMsgPreflightRequest) HasUnknownData() bool { - return u.I_unknownData != nil -} - -func (u *DatagramSocketSendMsgPreflightRequest) GetUnknownData() map[uint64]_bindings.UnknownData { - return u.I_unknownData.(map[uint64]_bindings.UnknownData) -} - -type StreamSocketDescribeResponse struct { - _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"true"` - I_unknownData interface{} - // `ZX_SOCKET_STREAM` on which data is sent and received. - Socket _zx.Socket `fidl_handle_subtype:"14" fidl_handle_rights:"2147483648" fidl_bounds:"0" fidl_ordinal:"1"` - SocketPresent bool -} - -var _mStreamSocketDescribeResponse = _bindings.CreateLazyMarshaler(StreamSocketDescribeResponse{}) - -func (msg *StreamSocketDescribeResponse) Marshaler() _bindings.Marshaler { - return _mStreamSocketDescribeResponse -} - -func (u *StreamSocketDescribeResponse) SetSocket(socket _zx.Socket) { - u.Socket = socket - u.SocketPresent = true -} - -func (u *StreamSocketDescribeResponse) GetSocket() _zx.Socket { - return u.Socket -} - -func (u *StreamSocketDescribeResponse) GetSocketWithDefault(_default _zx.Socket) _zx.Socket { - if !u.HasSocket() { - return _default - } - return u.Socket -} - -func (u *StreamSocketDescribeResponse) HasSocket() bool { - return u.SocketPresent -} - -func (u *StreamSocketDescribeResponse) ClearSocket() { - u.SocketPresent = false -} - -func (u *StreamSocketDescribeResponse) HasUnknownData() bool { - return u.I_unknownData != nil -} - -func (u *StreamSocketDescribeResponse) GetUnknownData() map[uint64]_bindings.UnknownData { - return u.I_unknownData.(map[uint64]_bindings.UnknownData) -} - -type SynchronousDatagramSocketDescribeResponse struct { - _ struct{} `fidl:"t" fidl_size_v2:"16" fidl_alignment_v2:"8" fidl_resource:"true"` - I_unknownData interface{} - // Signals additional information about the state of the socket such as - // readiness or shutdown-ness. - Event _zx.Handle `fidl_handle_subtype:"16" fidl_handle_rights:"2147483648" fidl_bounds:"0" fidl_ordinal:"1"` - EventPresent bool -} - -var _mSynchronousDatagramSocketDescribeResponse = _bindings.CreateLazyMarshaler(SynchronousDatagramSocketDescribeResponse{}) - -func (msg *SynchronousDatagramSocketDescribeResponse) Marshaler() _bindings.Marshaler { - return _mSynchronousDatagramSocketDescribeResponse -} - -func (u *SynchronousDatagramSocketDescribeResponse) SetEvent(event _zx.Handle) { - u.Event = event - u.EventPresent = true -} - -func (u *SynchronousDatagramSocketDescribeResponse) GetEvent() _zx.Handle { - return u.Event -} - -func (u *SynchronousDatagramSocketDescribeResponse) GetEventWithDefault(_default _zx.Handle) _zx.Handle { - if !u.HasEvent() { - return _default - } - return u.Event -} - -func (u *SynchronousDatagramSocketDescribeResponse) HasEvent() bool { - return u.EventPresent -} - -func (u *SynchronousDatagramSocketDescribeResponse) ClearEvent() { - u.EventPresent = false -} - -func (u *SynchronousDatagramSocketDescribeResponse) HasUnknownData() bool { - return u.I_unknownData != nil -} - -func (u *SynchronousDatagramSocketDescribeResponse) GetUnknownData() map[uint64]_bindings.UnknownData { - return u.I_unknownData.(map[uint64]_bindings.UnknownData) -} - const ( - BaseDatagramSocketClone2Ordinal uint64 = 0x20d8a7aba2168a79 - BaseDatagramSocketCloseOrdinal uint64 = 0x5ac5d459ad7f657e - BaseDatagramSocketQueryOrdinal uint64 = 0x2658edee9decfc06 - BaseDatagramSocketSetReuseAddressOrdinal uint64 = 0x1fd74ee8b9a4a876 - BaseDatagramSocketGetReuseAddressOrdinal uint64 = 0x67b7206b8d1bc0a5 - BaseDatagramSocketGetErrorOrdinal uint64 = 0x5aad39b33e5f6ebb - BaseDatagramSocketSetBroadcastOrdinal uint64 = 0x6023e081ce3cd947 - BaseDatagramSocketGetBroadcastOrdinal uint64 = 0x68796fc556f9780d - BaseDatagramSocketSetSendBufferOrdinal uint64 = 0x756eac32d73a7a70 - BaseDatagramSocketGetSendBufferOrdinal uint64 = 0x78a52fd9c7b2410b - BaseDatagramSocketSetReceiveBufferOrdinal uint64 = 0x6b0cf2f1919c7001 - BaseDatagramSocketGetReceiveBufferOrdinal uint64 = 0x14c1a4b64f709e5c - BaseDatagramSocketSetKeepAliveOrdinal uint64 = 0x572df8f0b920d2c7 - BaseDatagramSocketGetKeepAliveOrdinal uint64 = 0x2dd29d3215f2c9d2 - BaseDatagramSocketSetOutOfBandInlineOrdinal uint64 = 0x3ecb49968bee439 - BaseDatagramSocketGetOutOfBandInlineOrdinal uint64 = 0x348c1ab3aeca1745 - BaseDatagramSocketSetNoCheckOrdinal uint64 = 0x6bbf00c53a4c78c2 - BaseDatagramSocketGetNoCheckOrdinal uint64 = 0x2cd4249286417694 - BaseDatagramSocketSetLingerOrdinal uint64 = 0x45386351246e998e - BaseDatagramSocketGetLingerOrdinal uint64 = 0x48eb20fc5ccb0e45 - BaseDatagramSocketSetReusePortOrdinal uint64 = 0x24dd3e5cb36d9ccb - BaseDatagramSocketGetReusePortOrdinal uint64 = 0x7a112c1ab54ff828 - BaseDatagramSocketGetAcceptConnOrdinal uint64 = 0x67ce6db6c2ec8966 - BaseDatagramSocketSetBindToDeviceOrdinal uint64 = 0x2118b483f28aafc4 - BaseDatagramSocketGetBindToDeviceOrdinal uint64 = 0x1ab1fbf0ef7906c8 - BaseDatagramSocketSetTimestampOrdinal uint64 = 0x285d6516c263d839 - BaseDatagramSocketGetTimestampOrdinal uint64 = 0x49f2fffbbcc2bd27 - BaseDatagramSocketBindOrdinal uint64 = 0x4bc6400ae92125d - BaseDatagramSocketConnectOrdinal uint64 = 0x5f05f19bfdd38871 - BaseDatagramSocketDisconnectOrdinal uint64 = 0x74e63b91f7b29b2 - BaseDatagramSocketGetSockNameOrdinal uint64 = 0x475f23f84a1a4f85 - BaseDatagramSocketGetPeerNameOrdinal uint64 = 0x1ffecf4bd5b6432e - BaseDatagramSocketShutdownOrdinal uint64 = 0x247f38b6db68c336 - BaseDatagramSocketSetIpTypeOfServiceOrdinal uint64 = 0x995c600475b6d46 - BaseDatagramSocketGetIpTypeOfServiceOrdinal uint64 = 0x3814a04259f75fcb - BaseDatagramSocketSetIpTtlOrdinal uint64 = 0x29e2424b433ae1ef - BaseDatagramSocketGetIpTtlOrdinal uint64 = 0x47e47fa1f24da471 - BaseDatagramSocketSetIpPacketInfoOrdinal uint64 = 0x392d16bee20c0e16 - BaseDatagramSocketGetIpPacketInfoOrdinal uint64 = 0x54b505f242280740 - BaseDatagramSocketSetIpReceiveTypeOfServiceOrdinal uint64 = 0x6c4f6714995f84ef - BaseDatagramSocketGetIpReceiveTypeOfServiceOrdinal uint64 = 0x4158ba7dc2795960 - BaseDatagramSocketSetIpReceiveTtlOrdinal uint64 = 0x46f15be0ce0ab82b - BaseDatagramSocketGetIpReceiveTtlOrdinal uint64 = 0x678ddd5a5dfa2eb5 - BaseDatagramSocketSetIpMulticastInterfaceOrdinal uint64 = 0x752fbfa9b12befe - BaseDatagramSocketGetIpMulticastInterfaceOrdinal uint64 = 0x320bd14c4df046c4 - BaseDatagramSocketSetIpMulticastTtlOrdinal uint64 = 0x63134d53772916a1 - BaseDatagramSocketGetIpMulticastTtlOrdinal uint64 = 0x4665cd378f39e1a - BaseDatagramSocketSetIpMulticastLoopbackOrdinal uint64 = 0x20c55c11f00943ea - BaseDatagramSocketGetIpMulticastLoopbackOrdinal uint64 = 0x3b6b26ff558298f2 - BaseDatagramSocketAddIpMembershipOrdinal uint64 = 0x76bc7df115a3b4d0 - BaseDatagramSocketDropIpMembershipOrdinal uint64 = 0x2888f3099188d03 - BaseDatagramSocketAddIpv6MembershipOrdinal uint64 = 0x7c94727acb4ea4b3 - BaseDatagramSocketDropIpv6MembershipOrdinal uint64 = 0x42104c70ccaba304 - BaseDatagramSocketSetIpv6MulticastInterfaceOrdinal uint64 = 0x135f76db3774ab3b - BaseDatagramSocketGetIpv6MulticastInterfaceOrdinal uint64 = 0x1f26fcdd348f1882 - BaseDatagramSocketSetIpv6UnicastHopsOrdinal uint64 = 0x157d51e98f462859 - BaseDatagramSocketGetIpv6UnicastHopsOrdinal uint64 = 0x21f4641cad8bd8d2 - BaseDatagramSocketSetIpv6ReceiveHopLimitOrdinal uint64 = 0x5c24808ed2e84a1e - BaseDatagramSocketGetIpv6ReceiveHopLimitOrdinal uint64 = 0x341e06689885b4c0 - BaseDatagramSocketSetIpv6MulticastHopsOrdinal uint64 = 0x25b9cd4d181f82c1 - BaseDatagramSocketGetIpv6MulticastHopsOrdinal uint64 = 0x52916948a365012a - BaseDatagramSocketSetIpv6MulticastLoopbackOrdinal uint64 = 0x55701c409ff41b40 - BaseDatagramSocketGetIpv6MulticastLoopbackOrdinal uint64 = 0x4415b701fde319c3 - BaseDatagramSocketSetIpv6OnlyOrdinal uint64 = 0x4873f1364758cbba - BaseDatagramSocketGetIpv6OnlyOrdinal uint64 = 0x4aa3340a1a26b89c - BaseDatagramSocketSetIpv6ReceiveTrafficClassOrdinal uint64 = 0x58f07c8788d099a0 - BaseDatagramSocketGetIpv6ReceiveTrafficClassOrdinal uint64 = 0x2e334df1da553ffa - BaseDatagramSocketSetIpv6TrafficClassOrdinal uint64 = 0x6af077800c5a0b4f - BaseDatagramSocketGetIpv6TrafficClassOrdinal uint64 = 0x6baf6eed8fc2f04 - BaseDatagramSocketSetIpv6ReceivePacketInfoOrdinal uint64 = 0x19259775b1a92768 - BaseDatagramSocketGetIpv6ReceivePacketInfoOrdinal uint64 = 0x7acd4a2775baec75 - BaseDatagramSocketGetInfoOrdinal uint64 = 0x48aa0a1f6a32d2ed + BaseDatagramSocketClone2Ordinal uint64 = 0x20d8a7aba2168a79 + BaseDatagramSocketCloseOrdinal uint64 = 0x5ac5d459ad7f657e + BaseDatagramSocketQueryOrdinal uint64 = 0x2658edee9decfc06 + BaseDatagramSocketSetReuseAddressOrdinal uint64 = 0x1fd74ee8b9a4a876 + BaseDatagramSocketGetReuseAddressOrdinal uint64 = 0x67b7206b8d1bc0a5 + BaseDatagramSocketGetErrorOrdinal uint64 = 0x5aad39b33e5f6ebb + BaseDatagramSocketSetBroadcastOrdinal uint64 = 0x6023e081ce3cd947 + BaseDatagramSocketGetBroadcastOrdinal uint64 = 0x68796fc556f9780d + BaseDatagramSocketSetSendBufferOrdinal uint64 = 0x756eac32d73a7a70 + BaseDatagramSocketGetSendBufferOrdinal uint64 = 0x78a52fd9c7b2410b + BaseDatagramSocketSetReceiveBufferOrdinal uint64 = 0x6b0cf2f1919c7001 + BaseDatagramSocketGetReceiveBufferOrdinal uint64 = 0x14c1a4b64f709e5c + BaseDatagramSocketSetKeepAliveOrdinal uint64 = 0x572df8f0b920d2c7 + BaseDatagramSocketGetKeepAliveOrdinal uint64 = 0x2dd29d3215f2c9d2 + BaseDatagramSocketSetOutOfBandInlineOrdinal uint64 = 0x3ecb49968bee439 + BaseDatagramSocketGetOutOfBandInlineOrdinal uint64 = 0x348c1ab3aeca1745 + BaseDatagramSocketSetNoCheckOrdinal uint64 = 0x6bbf00c53a4c78c2 + BaseDatagramSocketGetNoCheckOrdinal uint64 = 0x2cd4249286417694 + BaseDatagramSocketSetLingerOrdinal uint64 = 0x45386351246e998e + BaseDatagramSocketGetLingerOrdinal uint64 = 0x48eb20fc5ccb0e45 + BaseDatagramSocketSetReusePortOrdinal uint64 = 0x24dd3e5cb36d9ccb + BaseDatagramSocketGetReusePortOrdinal uint64 = 0x7a112c1ab54ff828 + BaseDatagramSocketGetAcceptConnOrdinal uint64 = 0x67ce6db6c2ec8966 + BaseDatagramSocketSetBindToDeviceOrdinal uint64 = 0x2118b483f28aafc4 + BaseDatagramSocketGetBindToDeviceOrdinal uint64 = 0x1ab1fbf0ef7906c8 + BaseDatagramSocketSetTimestampOrdinal uint64 = 0x285d6516c263d839 + BaseDatagramSocketGetTimestampOrdinal uint64 = 0x49f2fffbbcc2bd27 + BaseDatagramSocketBindOrdinal uint64 = 0x4bc6400ae92125d + BaseDatagramSocketConnectOrdinal uint64 = 0x5f05f19bfdd38871 + BaseDatagramSocketDisconnectOrdinal uint64 = 0x74e63b91f7b29b2 + BaseDatagramSocketGetSockNameOrdinal uint64 = 0x475f23f84a1a4f85 + BaseDatagramSocketGetPeerNameOrdinal uint64 = 0x1ffecf4bd5b6432e + BaseDatagramSocketShutdownOrdinal uint64 = 0x247f38b6db68c336 + BaseDatagramSocketSetIpTypeOfServiceOrdinal uint64 = 0x995c600475b6d46 + BaseDatagramSocketGetIpTypeOfServiceOrdinal uint64 = 0x3814a04259f75fcb + BaseDatagramSocketSetIpTtlOrdinal uint64 = 0x29e2424b433ae1ef + BaseDatagramSocketGetIpTtlOrdinal uint64 = 0x47e47fa1f24da471 + BaseDatagramSocketSetIpPacketInfoOrdinal uint64 = 0x392d16bee20c0e16 + BaseDatagramSocketGetIpPacketInfoOrdinal uint64 = 0x54b505f242280740 + BaseDatagramSocketSetIpReceiveTypeOfServiceOrdinal uint64 = 0x6c4f6714995f84ef + BaseDatagramSocketGetIpReceiveTypeOfServiceOrdinal uint64 = 0x4158ba7dc2795960 + BaseDatagramSocketSetIpReceiveTtlOrdinal uint64 = 0x46f15be0ce0ab82b + BaseDatagramSocketGetIpReceiveTtlOrdinal uint64 = 0x678ddd5a5dfa2eb5 + BaseDatagramSocketSetIpMulticastInterfaceOrdinal uint64 = 0x752fbfa9b12befe + BaseDatagramSocketGetIpMulticastInterfaceOrdinal uint64 = 0x320bd14c4df046c4 + BaseDatagramSocketSetIpMulticastTtlOrdinal uint64 = 0x63134d53772916a1 + BaseDatagramSocketGetIpMulticastTtlOrdinal uint64 = 0x4665cd378f39e1a + BaseDatagramSocketSetIpMulticastLoopbackOrdinal uint64 = 0x20c55c11f00943ea + BaseDatagramSocketGetIpMulticastLoopbackOrdinal uint64 = 0x3b6b26ff558298f2 + BaseDatagramSocketAddIpMembershipOrdinal uint64 = 0x76bc7df115a3b4d0 + BaseDatagramSocketDropIpMembershipOrdinal uint64 = 0x2888f3099188d03 + BaseDatagramSocketSetIpTransparentOrdinal uint64 = 0x1ae532b0c066e3a0 + BaseDatagramSocketGetIpTransparentOrdinal uint64 = 0x51d43695962ebfb5 + BaseDatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal uint64 = 0x4722b4ce52f7840 + BaseDatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal uint64 = 0x2a0e7dc5d6bfdfe9 + BaseDatagramSocketAddIpv6MembershipOrdinal uint64 = 0x7c94727acb4ea4b3 + BaseDatagramSocketDropIpv6MembershipOrdinal uint64 = 0x42104c70ccaba304 + BaseDatagramSocketSetIpv6MulticastInterfaceOrdinal uint64 = 0x135f76db3774ab3b + BaseDatagramSocketGetIpv6MulticastInterfaceOrdinal uint64 = 0x1f26fcdd348f1882 + BaseDatagramSocketSetIpv6UnicastHopsOrdinal uint64 = 0x157d51e98f462859 + BaseDatagramSocketGetIpv6UnicastHopsOrdinal uint64 = 0x21f4641cad8bd8d2 + BaseDatagramSocketSetIpv6ReceiveHopLimitOrdinal uint64 = 0x5c24808ed2e84a1e + BaseDatagramSocketGetIpv6ReceiveHopLimitOrdinal uint64 = 0x341e06689885b4c0 + BaseDatagramSocketSetIpv6MulticastHopsOrdinal uint64 = 0x25b9cd4d181f82c1 + BaseDatagramSocketGetIpv6MulticastHopsOrdinal uint64 = 0x52916948a365012a + BaseDatagramSocketSetIpv6MulticastLoopbackOrdinal uint64 = 0x55701c409ff41b40 + BaseDatagramSocketGetIpv6MulticastLoopbackOrdinal uint64 = 0x4415b701fde319c3 + BaseDatagramSocketSetIpv6OnlyOrdinal uint64 = 0x4873f1364758cbba + BaseDatagramSocketGetIpv6OnlyOrdinal uint64 = 0x4aa3340a1a26b89c + BaseDatagramSocketSetIpv6ReceiveTrafficClassOrdinal uint64 = 0x58f07c8788d099a0 + BaseDatagramSocketGetIpv6ReceiveTrafficClassOrdinal uint64 = 0x2e334df1da553ffa + BaseDatagramSocketSetIpv6TrafficClassOrdinal uint64 = 0x6af077800c5a0b4f + BaseDatagramSocketGetIpv6TrafficClassOrdinal uint64 = 0x6baf6eed8fc2f04 + BaseDatagramSocketSetIpv6ReceivePacketInfoOrdinal uint64 = 0x19259775b1a92768 + BaseDatagramSocketGetIpv6ReceivePacketInfoOrdinal uint64 = 0x7acd4a2775baec75 + BaseDatagramSocketGetOriginalDestinationOrdinal uint64 = 0x38bf28f0dafdbac0 + BaseDatagramSocketGetInfoOrdinal uint64 = 0x48aa0a1f6a32d2ed ) type BaseDatagramSocketWithCtxInterface _bindings.ChannelProxy func (p *BaseDatagramSocketWithCtxInterface) Clone2(ctx_ _bindings.Context, request fuchsiaunknown.CloneableWithCtxInterfaceRequest) error { - req_ := &baseDatagramSocketWithCtxClone2Request{Request: request} + req_ := &fuchsiaunknown.CloneableClone2Request{Request: request} err_ := ((*_bindings.ChannelProxy)(p)).Send(BaseDatagramSocketClone2Ordinal, req_) return err_ } @@ -17887,561 +11960,601 @@ // status. func (p *BaseDatagramSocketWithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketCloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *BaseDatagramSocketWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketQueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Set `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *BaseDatagramSocketWithCtxInterface) SetReuseAddress(ctx_ _bindings.Context, value bool) (BaseSocketSetReuseAddressResult, error) { - req_ := &baseDatagramSocketWithCtxSetReuseAddressRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetReuseAddressResponse{} + req_ := &BaseSocketSetReuseAddressRequest{Value: value} + resp_ := &BaseSocketSetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *BaseDatagramSocketWithCtxInterface) GetReuseAddress(ctx_ _bindings.Context) (BaseSocketGetReuseAddressResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetReuseAddressResponse{} + resp_ := &BaseSocketGetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ERROR`. // Returns the last error if there is an error set on the socket. func (p *BaseDatagramSocketWithCtxInterface) GetError(ctx_ _bindings.Context) (BaseSocketGetErrorResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetErrorResponse{} + resp_ := &BaseSocketGetErrorResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetErrorOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BROADCAST`. func (p *BaseDatagramSocketWithCtxInterface) SetBroadcast(ctx_ _bindings.Context, value bool) (BaseSocketSetBroadcastResult, error) { - req_ := &baseDatagramSocketWithCtxSetBroadcastRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetBroadcastResponse{} + req_ := &BaseSocketSetBroadcastRequest{Value: value} + resp_ := &BaseSocketSetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BROADCAST`. func (p *BaseDatagramSocketWithCtxInterface) GetBroadcast(ctx_ _bindings.Context) (BaseSocketGetBroadcastResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetBroadcastResponse{} + resp_ := &BaseSocketGetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_SNDBUF`. func (p *BaseDatagramSocketWithCtxInterface) SetSendBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetSendBufferResult, error) { - req_ := &baseDatagramSocketWithCtxSetSendBufferRequest{ValueBytes: valueBytes} - resp_ := &baseDatagramSocketWithCtxSetSendBufferResponse{} + req_ := &BaseSocketSetSendBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_SNDBUF`. func (p *BaseDatagramSocketWithCtxInterface) GetSendBuffer(ctx_ _bindings.Context) (BaseSocketGetSendBufferResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetSendBufferResponse{} + resp_ := &BaseSocketGetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_RCVBUF`. func (p *BaseDatagramSocketWithCtxInterface) SetReceiveBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetReceiveBufferResult, error) { - req_ := &baseDatagramSocketWithCtxSetReceiveBufferRequest{ValueBytes: valueBytes} - resp_ := &baseDatagramSocketWithCtxSetReceiveBufferResponse{} + req_ := &BaseSocketSetReceiveBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_RCVBUF`. func (p *BaseDatagramSocketWithCtxInterface) GetReceiveBuffer(ctx_ _bindings.Context) (BaseSocketGetReceiveBufferResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetReceiveBufferResponse{} + resp_ := &BaseSocketGetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *BaseDatagramSocketWithCtxInterface) SetKeepAlive(ctx_ _bindings.Context, value bool) (BaseSocketSetKeepAliveResult, error) { - req_ := &baseDatagramSocketWithCtxSetKeepAliveRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetKeepAliveResponse{} + req_ := &BaseSocketSetKeepAliveRequest{Value: value} + resp_ := &BaseSocketSetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *BaseDatagramSocketWithCtxInterface) GetKeepAlive(ctx_ _bindings.Context) (BaseSocketGetKeepAliveResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetKeepAliveResponse{} + resp_ := &BaseSocketGetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *BaseDatagramSocketWithCtxInterface) SetOutOfBandInline(ctx_ _bindings.Context, value bool) (BaseSocketSetOutOfBandInlineResult, error) { - req_ := &baseDatagramSocketWithCtxSetOutOfBandInlineRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetOutOfBandInlineResponse{} + req_ := &BaseSocketSetOutOfBandInlineRequest{Value: value} + resp_ := &BaseSocketSetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *BaseDatagramSocketWithCtxInterface) GetOutOfBandInline(ctx_ _bindings.Context) (BaseSocketGetOutOfBandInlineResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetOutOfBandInlineResponse{} + resp_ := &BaseSocketGetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *BaseDatagramSocketWithCtxInterface) SetNoCheck(ctx_ _bindings.Context, value bool) (BaseSocketSetNoCheckResult, error) { - req_ := &baseDatagramSocketWithCtxSetNoCheckRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetNoCheckResponse{} + req_ := &BaseSocketSetNoCheckRequest{Value: value} + resp_ := &BaseSocketSetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *BaseDatagramSocketWithCtxInterface) GetNoCheck(ctx_ _bindings.Context) (BaseSocketGetNoCheckResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetNoCheckResponse{} + resp_ := &BaseSocketGetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_LINGER`. func (p *BaseDatagramSocketWithCtxInterface) SetLinger(ctx_ _bindings.Context, linger bool, lengthSecs uint32) (BaseSocketSetLingerResult, error) { - req_ := &baseDatagramSocketWithCtxSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} - resp_ := &baseDatagramSocketWithCtxSetLingerResponse{} + req_ := &BaseSocketSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} + resp_ := &BaseSocketSetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_LINGER`. func (p *BaseDatagramSocketWithCtxInterface) GetLinger(ctx_ _bindings.Context) (BaseSocketGetLingerResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetLingerResponse{} + resp_ := &BaseSocketGetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *BaseDatagramSocketWithCtxInterface) SetReusePort(ctx_ _bindings.Context, value bool) (BaseSocketSetReusePortResult, error) { - req_ := &baseDatagramSocketWithCtxSetReusePortRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetReusePortResponse{} + req_ := &BaseSocketSetReusePortRequest{Value: value} + resp_ := &BaseSocketSetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *BaseDatagramSocketWithCtxInterface) GetReusePort(ctx_ _bindings.Context) (BaseSocketGetReusePortResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetReusePortResponse{} + resp_ := &BaseSocketGetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ACCEPTCONN`. func (p *BaseDatagramSocketWithCtxInterface) GetAcceptConn(ctx_ _bindings.Context) (BaseSocketGetAcceptConnResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetAcceptConnResponse{} + resp_ := &BaseSocketGetAcceptConnResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetAcceptConnOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *BaseDatagramSocketWithCtxInterface) SetBindToDevice(ctx_ _bindings.Context, value string) (BaseSocketSetBindToDeviceResult, error) { - req_ := &baseDatagramSocketWithCtxSetBindToDeviceRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetBindToDeviceResponse{} + req_ := &BaseSocketSetBindToDeviceRequest{Value: value} + resp_ := &BaseSocketSetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *BaseDatagramSocketWithCtxInterface) GetBindToDevice(ctx_ _bindings.Context) (BaseSocketGetBindToDeviceResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetBindToDeviceResponse{} + resp_ := &BaseSocketGetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *BaseDatagramSocketWithCtxInterface) SetTimestamp(ctx_ _bindings.Context, value TimestampOption) (BaseSocketSetTimestampResult, error) { - req_ := &baseDatagramSocketWithCtxSetTimestampRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetTimestampResponse{} + req_ := &BaseSocketSetTimestampRequest{Value: value} + resp_ := &BaseSocketSetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *BaseDatagramSocketWithCtxInterface) GetTimestamp(ctx_ _bindings.Context) (BaseSocketGetTimestampResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetTimestampResponse{} + resp_ := &BaseSocketGetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Sets the local address used for the socket. func (p *BaseDatagramSocketWithCtxInterface) Bind(ctx_ _bindings.Context, addr fuchsianet.SocketAddress) (BaseNetworkSocketBindResult, error) { - req_ := &baseDatagramSocketWithCtxBindRequest{Addr: addr} - resp_ := &baseDatagramSocketWithCtxBindResponse{} + req_ := &BaseNetworkSocketBindRequest{Addr: addr} + resp_ := &BaseNetworkSocketBindResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketBindOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Initiates a connection to a remote address. func (p *BaseDatagramSocketWithCtxInterface) Connect(ctx_ _bindings.Context, addr fuchsianet.SocketAddress) (BaseNetworkSocketConnectResult, error) { - req_ := &baseDatagramSocketWithCtxConnectRequest{Addr: addr} - resp_ := &baseDatagramSocketWithCtxConnectResponse{} + req_ := &BaseNetworkSocketConnectRequest{Addr: addr} + resp_ := &BaseNetworkSocketConnectResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketConnectOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Clears connection information from this socket. func (p *BaseDatagramSocketWithCtxInterface) Disconnect(ctx_ _bindings.Context) (BaseNetworkSocketDisconnectResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxDisconnectResponse{} + resp_ := &BaseNetworkSocketDisconnectResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketDisconnectOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves the local socket address. func (p *BaseDatagramSocketWithCtxInterface) GetSockName(ctx_ _bindings.Context) (BaseNetworkSocketGetSockNameResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetSockNameResponse{} + resp_ := &BaseNetworkSocketGetSockNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetSockNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves the remote socket address. func (p *BaseDatagramSocketWithCtxInterface) GetPeerName(ctx_ _bindings.Context) (BaseNetworkSocketGetPeerNameResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetPeerNameResponse{} + resp_ := &BaseNetworkSocketGetPeerNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetPeerNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Shuts down part of the socket. func (p *BaseDatagramSocketWithCtxInterface) Shutdown(ctx_ _bindings.Context, mode ShutdownMode) (BaseNetworkSocketShutdownResult, error) { - req_ := &baseDatagramSocketWithCtxShutdownRequest{Mode: mode} - resp_ := &baseDatagramSocketWithCtxShutdownResponse{} + req_ := &BaseNetworkSocketShutdownRequest{Mode: mode} + resp_ := &BaseNetworkSocketShutdownResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketShutdownOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_TOS`. func (p *BaseDatagramSocketWithCtxInterface) SetIpTypeOfService(ctx_ _bindings.Context, value uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpTypeOfServiceRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpTypeOfServiceResponse{} + req_ := &BaseNetworkSocketSetIpTypeOfServiceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_TOS`. func (p *BaseDatagramSocketWithCtxInterface) GetIpTypeOfService(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpTypeOfServiceResponse{} + resp_ := &BaseNetworkSocketGetIpTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_TTL`. func (p *BaseDatagramSocketWithCtxInterface) SetIpTtl(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpTtlRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpTtlResponse{} + req_ := &BaseNetworkSocketSetIpTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_TTL`. func (p *BaseDatagramSocketWithCtxInterface) GetIpTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTtlResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpTtlResponse{} + resp_ := &BaseNetworkSocketGetIpTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_PKTINFO`. func (p *BaseDatagramSocketWithCtxInterface) SetIpPacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpPacketInfoResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpPacketInfoRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpPacketInfoResponse{} + req_ := &BaseNetworkSocketSetIpPacketInfoRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpPacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpPacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_PKTINFO`. func (p *BaseDatagramSocketWithCtxInterface) GetIpPacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpPacketInfoResponse{} + resp_ := &BaseNetworkSocketGetIpPacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpPacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_RECVTOS`. func (p *BaseDatagramSocketWithCtxInterface) SetIpReceiveTypeOfService(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse{} + req_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpReceiveTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_RECVTOS`. func (p *BaseDatagramSocketWithCtxInterface) GetIpReceiveTypeOfService(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse{} + resp_ := &BaseNetworkSocketGetIpReceiveTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpReceiveTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_RECVTTL`. func (p *BaseDatagramSocketWithCtxInterface) SetIpReceiveTtl(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpReceiveTtlRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpReceiveTtlResponse{} + req_ := &BaseNetworkSocketSetIpReceiveTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpReceiveTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_RECVTTL`. func (p *BaseDatagramSocketWithCtxInterface) GetIpReceiveTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpReceiveTtlResponse{} + resp_ := &BaseNetworkSocketGetIpReceiveTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpReceiveTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_IF`. func (p *BaseDatagramSocketWithCtxInterface) SetIpMulticastInterface(ctx_ _bindings.Context, iface uint64, address fuchsianet.Ipv4Address) (BaseNetworkSocketSetIpMulticastInterfaceResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpMulticastInterfaceRequest{Iface: iface, Address: address} - resp_ := &baseDatagramSocketWithCtxSetIpMulticastInterfaceResponse{} + req_ := &BaseNetworkSocketSetIpMulticastInterfaceRequest{Iface: iface, Address: address} + resp_ := &BaseNetworkSocketSetIpMulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpMulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_IF`. func (p *BaseDatagramSocketWithCtxInterface) GetIpMulticastInterface(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastInterfaceResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpMulticastInterfaceResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpMulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_TTL`. func (p *BaseDatagramSocketWithCtxInterface) SetIpMulticastTtl(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpMulticastTtlRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpMulticastTtlResponse{} + req_ := &BaseNetworkSocketSetIpMulticastTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpMulticastTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpMulticastTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_TTL`. func (p *BaseDatagramSocketWithCtxInterface) GetIpMulticastTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpMulticastTtlResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpMulticastTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_LOOP`. func (p *BaseDatagramSocketWithCtxInterface) SetIpMulticastLoopback(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpMulticastLoopbackRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpMulticastLoopbackResponse{} + req_ := &BaseNetworkSocketSetIpMulticastLoopbackRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpMulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpMulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_LOOP`. func (p *BaseDatagramSocketWithCtxInterface) GetIpMulticastLoopback(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpMulticastLoopbackResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpMulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_ADD_MEMBERSHIP` func (p *BaseDatagramSocketWithCtxInterface) AddIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) { - req_ := &baseDatagramSocketWithCtxAddIpMembershipRequest{Membership: membership} - resp_ := &baseDatagramSocketWithCtxAddIpMembershipResponse{} + req_ := &BaseNetworkSocketAddIpMembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketAddIpMembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketAddIpMembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_DROP_MEMBERSHIP` func (p *BaseDatagramSocketWithCtxInterface) DropIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketDropIpMembershipResult, error) { - req_ := &baseDatagramSocketWithCtxDropIpMembershipRequest{Membership: membership} - resp_ := &baseDatagramSocketWithCtxDropIpMembershipResponse{} + req_ := &BaseNetworkSocketDropIpMembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketDropIpMembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketDropIpMembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Set `SOL_IP` -> `IP_TRANSPARENT` +func (p *BaseDatagramSocketWithCtxInterface) SetIpTransparent(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpTransparentResult, error) { + req_ := &BaseNetworkSocketSetIpTransparentRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTransparentResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpTransparentOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Get `SOL_IP` -> `IP_TRANSPARENT` +func (p *BaseDatagramSocketWithCtxInterface) GetIpTransparent(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTransparentResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetIpTransparentResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpTransparentOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set `SOL_IP` -> `IP_RECVORIGDSTADDR` +func (p *BaseDatagramSocketWithCtxInterface) SetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) { + req_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Get `SOL_IP` -> `IP_RECVORIGDSTADDR` +func (p *BaseDatagramSocketWithCtxInterface) GetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal, req_, resp_) + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`. func (p *BaseDatagramSocketWithCtxInterface) AddIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) { - req_ := &baseDatagramSocketWithCtxAddIpv6MembershipRequest{Membership: membership} - resp_ := &baseDatagramSocketWithCtxAddIpv6MembershipResponse{} + req_ := &BaseNetworkSocketAddIpv6MembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketAddIpv6MembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketAddIpv6MembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`. func (p *BaseDatagramSocketWithCtxInterface) DropIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketDropIpv6MembershipResult, error) { - req_ := &baseDatagramSocketWithCtxDropIpv6MembershipRequest{Membership: membership} - resp_ := &baseDatagramSocketWithCtxDropIpv6MembershipResponse{} + req_ := &BaseNetworkSocketDropIpv6MembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketDropIpv6MembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketDropIpv6MembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_IF`. func (p *BaseDatagramSocketWithCtxInterface) SetIpv6MulticastInterface(ctx_ _bindings.Context, value uint64) (BaseNetworkSocketSetIpv6MulticastInterfaceResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastInterfaceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpv6MulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_IF`. func (p *BaseDatagramSocketWithCtxInterface) GetIpv6MulticastInterface(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastInterfaceResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpv6MulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_UNICAST_HOPS`. func (p *BaseDatagramSocketWithCtxInterface) SetIpv6UnicastHops(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6UnicastHopsResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpv6UnicastHopsRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpv6UnicastHopsResponse{} + req_ := &BaseNetworkSocketSetIpv6UnicastHopsRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6UnicastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpv6UnicastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_UNICAST_HOPS`. func (p *BaseDatagramSocketWithCtxInterface) GetIpv6UnicastHops(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6UnicastHopsResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpv6UnicastHopsResponse{} + resp_ := &BaseNetworkSocketGetIpv6UnicastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpv6UnicastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`. func (p *BaseDatagramSocketWithCtxInterface) SetIpv6ReceiveHopLimit(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceiveHopLimitResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpv6ReceiveHopLimitOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`. func (p *BaseDatagramSocketWithCtxInterface) GetIpv6ReceiveHopLimit(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceiveHopLimitResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceiveHopLimitResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpv6ReceiveHopLimitOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`. func (p *BaseDatagramSocketWithCtxInterface) SetIpv6MulticastHops(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpv6MulticastHopsRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpv6MulticastHopsResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastHopsRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpv6MulticastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`. func (p *BaseDatagramSocketWithCtxInterface) GetIpv6MulticastHops(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpv6MulticastHopsResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpv6MulticastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`. func (p *BaseDatagramSocketWithCtxInterface) SetIpv6MulticastLoopback(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6MulticastLoopbackResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastLoopbackRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpv6MulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`. func (p *BaseDatagramSocketWithCtxInterface) GetIpv6MulticastLoopback(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastLoopbackResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpv6MulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_V6ONLY`. func (p *BaseDatagramSocketWithCtxInterface) SetIpv6Only(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6OnlyResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpv6OnlyRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpv6OnlyResponse{} + req_ := &BaseNetworkSocketSetIpv6OnlyRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6OnlyResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpv6OnlyOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_V6ONLY`. func (p *BaseDatagramSocketWithCtxInterface) GetIpv6Only(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6OnlyResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpv6OnlyResponse{} + resp_ := &BaseNetworkSocketGetIpv6OnlyResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpv6OnlyOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVTCLASS`. func (p *BaseDatagramSocketWithCtxInterface) SetIpv6ReceiveTrafficClass(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceiveTrafficClassResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpv6ReceiveTrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVTCLASS`. func (p *BaseDatagramSocketWithCtxInterface) GetIpv6ReceiveTrafficClass(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceiveTrafficClassResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceiveTrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpv6ReceiveTrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_TCLASS` func (p *BaseDatagramSocketWithCtxInterface) SetIpv6TrafficClass(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6TrafficClassResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpv6TrafficClassRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpv6TrafficClassResponse{} + req_ := &BaseNetworkSocketSetIpv6TrafficClassRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6TrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpv6TrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_TCLASS`. func (p *BaseDatagramSocketWithCtxInterface) GetIpv6TrafficClass(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6TrafficClassResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpv6TrafficClassResponse{} + resp_ := &BaseNetworkSocketGetIpv6TrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpv6TrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVPKTINFO`. func (p *BaseDatagramSocketWithCtxInterface) SetIpv6ReceivePacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceivePacketInfoResult, error) { - req_ := &baseDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest{Value: value} - resp_ := &baseDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketSetIpv6ReceivePacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`. func (p *BaseDatagramSocketWithCtxInterface) GetIpv6ReceivePacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceivePacketInfoResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceivePacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetIpv6ReceivePacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Get `SOL_IP` -> `SO_ORIGINAL_DST`. +func (p *BaseDatagramSocketWithCtxInterface) GetOriginalDestination(ctx_ _bindings.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetOriginalDestinationResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetOriginalDestinationOrdinal, req_, resp_) + return (*resp_), err_ } // Retrieves creation information from the socket. @@ -18450,9 +12563,9 @@ // - response `proto` the socket's associated protocol. func (p *BaseDatagramSocketWithCtxInterface) GetInfo(ctx_ _bindings.Context) (BaseDatagramSocketGetInfoResult, error) { var req_ _bindings.Message - resp_ := &baseDatagramSocketWithCtxGetInfoResponse{} + resp_ := &BaseDatagramSocketGetInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseDatagramSocketGetInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Base protocol shared by all datagram sockets. @@ -18569,6 +12682,14 @@ AddIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) // Set `SOL_IP` -> `IP_DROP_MEMBERSHIP` DropIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketDropIpMembershipResult, error) + // Set `SOL_IP` -> `IP_TRANSPARENT` + SetIpTransparent(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpTransparentResult, error) + // Get `SOL_IP` -> `IP_TRANSPARENT` + GetIpTransparent(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTransparentResult, error) + // Set `SOL_IP` -> `IP_RECVORIGDSTADDR` + SetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) + // Get `SOL_IP` -> `IP_RECVORIGDSTADDR` + GetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) // Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`. AddIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) // Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`. @@ -18609,6 +12730,8 @@ SetIpv6ReceivePacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceivePacketInfoResult, error) // Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`. GetIpv6ReceivePacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceivePacketInfoResult, error) + // Get `SOL_IP` -> `SO_ORIGINAL_DST`. + GetOriginalDestination(ctx_ _bindings.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) // Retrieves creation information from the socket. // // - response `domain` the socket's associated domain. @@ -18632,7 +12755,7 @@ func (s_ *BaseDatagramSocketWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case BaseDatagramSocketClone2Ordinal: - in_ := &baseDatagramSocketWithCtxClone2Request{} + in_ := &fuchsiaunknown.CloneableClone2Request{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18643,15 +12766,15 @@ err_ := s_.Impl.Clone2(args_.Ctx, (*in_).Request) return nil, false, err_ case BaseDatagramSocketCloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &baseDatagramSocketWithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketQueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &baseDatagramSocketWithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case BaseDatagramSocketSetReuseAddressOrdinal: - in_ := &baseDatagramSocketWithCtxSetReuseAddressRequest{} + in_ := &BaseSocketSetReuseAddressRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18659,19 +12782,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetReuseAddressOrdinal: - result, err_ := s_.Impl.GetReuseAddress(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.GetReuseAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetErrorOrdinal: - result, err_ := s_.Impl.GetError(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetErrorResponse{Result: result} + payload, err_ := s_.Impl.GetError(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetBroadcastOrdinal: - in_ := &baseDatagramSocketWithCtxSetBroadcastRequest{} + in_ := &BaseSocketSetBroadcastRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18679,15 +12802,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetBroadcastOrdinal: - result, err_ := s_.Impl.GetBroadcast(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.GetBroadcast(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetSendBufferOrdinal: - in_ := &baseDatagramSocketWithCtxSetSendBufferRequest{} + in_ := &BaseSocketSetSendBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18695,15 +12818,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &baseDatagramSocketWithCtxSetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetSendBufferOrdinal: - result, err_ := s_.Impl.GetSendBuffer(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.GetSendBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetReceiveBufferOrdinal: - in_ := &baseDatagramSocketWithCtxSetReceiveBufferRequest{} + in_ := &BaseSocketSetReceiveBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18711,15 +12834,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &baseDatagramSocketWithCtxSetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetReceiveBufferOrdinal: - result, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetKeepAliveOrdinal: - in_ := &baseDatagramSocketWithCtxSetKeepAliveRequest{} + in_ := &BaseSocketSetKeepAliveRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18727,15 +12850,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetKeepAliveOrdinal: - result, err_ := s_.Impl.GetKeepAlive(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.GetKeepAlive(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetOutOfBandInlineOrdinal: - in_ := &baseDatagramSocketWithCtxSetOutOfBandInlineRequest{} + in_ := &BaseSocketSetOutOfBandInlineRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18743,15 +12866,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetOutOfBandInlineOrdinal: - result, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetNoCheckOrdinal: - in_ := &baseDatagramSocketWithCtxSetNoCheckRequest{} + in_ := &BaseSocketSetNoCheckRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18759,15 +12882,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetNoCheckOrdinal: - result, err_ := s_.Impl.GetNoCheck(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.GetNoCheck(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetLingerOrdinal: - in_ := &baseDatagramSocketWithCtxSetLingerRequest{} + in_ := &BaseSocketSetLingerRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18775,15 +12898,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) - out_ := &baseDatagramSocketWithCtxSetLingerResponse{Result: result} + payload, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetLingerOrdinal: - result, err_ := s_.Impl.GetLinger(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetLingerResponse{Result: result} + payload, err_ := s_.Impl.GetLinger(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetReusePortOrdinal: - in_ := &baseDatagramSocketWithCtxSetReusePortRequest{} + in_ := &BaseSocketSetReusePortRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18791,19 +12914,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetReusePortResponse{Result: result} + payload, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetReusePortOrdinal: - result, err_ := s_.Impl.GetReusePort(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetReusePortResponse{Result: result} + payload, err_ := s_.Impl.GetReusePort(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetAcceptConnOrdinal: - result, err_ := s_.Impl.GetAcceptConn(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetAcceptConnResponse{Result: result} + payload, err_ := s_.Impl.GetAcceptConn(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetBindToDeviceOrdinal: - in_ := &baseDatagramSocketWithCtxSetBindToDeviceRequest{} + in_ := &BaseSocketSetBindToDeviceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18811,15 +12934,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetBindToDeviceOrdinal: - result, err_ := s_.Impl.GetBindToDevice(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.GetBindToDevice(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetTimestampOrdinal: - in_ := &baseDatagramSocketWithCtxSetTimestampRequest{} + in_ := &BaseSocketSetTimestampRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18827,15 +12950,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetTimestampResponse{Result: result} + payload, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetTimestampOrdinal: - result, err_ := s_.Impl.GetTimestamp(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetTimestampResponse{Result: result} + payload, err_ := s_.Impl.GetTimestamp(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketBindOrdinal: - in_ := &baseDatagramSocketWithCtxBindRequest{} + in_ := &BaseNetworkSocketBindRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18843,11 +12966,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Bind(args_.Ctx, (*in_).Addr) - out_ := &baseDatagramSocketWithCtxBindResponse{Result: result} + payload, err_ := s_.Impl.Bind(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ case BaseDatagramSocketConnectOrdinal: - in_ := &baseDatagramSocketWithCtxConnectRequest{} + in_ := &BaseNetworkSocketConnectRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18855,23 +12978,23 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Connect(args_.Ctx, (*in_).Addr) - out_ := &baseDatagramSocketWithCtxConnectResponse{Result: result} + payload, err_ := s_.Impl.Connect(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ case BaseDatagramSocketDisconnectOrdinal: - result, err_ := s_.Impl.Disconnect(args_.Ctx) - out_ := &baseDatagramSocketWithCtxDisconnectResponse{Result: result} + payload, err_ := s_.Impl.Disconnect(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetSockNameOrdinal: - result, err_ := s_.Impl.GetSockName(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetSockNameResponse{Result: result} + payload, err_ := s_.Impl.GetSockName(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetPeerNameOrdinal: - result, err_ := s_.Impl.GetPeerName(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetPeerNameResponse{Result: result} + payload, err_ := s_.Impl.GetPeerName(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketShutdownOrdinal: - in_ := &baseDatagramSocketWithCtxShutdownRequest{} + in_ := &BaseNetworkSocketShutdownRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18879,11 +13002,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Shutdown(args_.Ctx, (*in_).Mode) - out_ := &baseDatagramSocketWithCtxShutdownResponse{Result: result} + payload, err_ := s_.Impl.Shutdown(args_.Ctx, (*in_).Mode) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpTypeOfServiceOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpTypeOfServiceRequest{} + in_ := &BaseNetworkSocketSetIpTypeOfServiceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18891,15 +13014,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpTypeOfService(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.SetIpTypeOfService(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpTypeOfServiceOrdinal: - result, err_ := s_.Impl.GetIpTypeOfService(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.GetIpTypeOfService(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpTtlOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpTtlRequest{} + in_ := &BaseNetworkSocketSetIpTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18907,15 +13030,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpTtl(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpTtlOrdinal: - result, err_ := s_.Impl.GetIpTtl(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpPacketInfoOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpPacketInfoRequest{} + in_ := &BaseNetworkSocketSetIpPacketInfoRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18923,15 +13046,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpPacketInfo(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpPacketInfoResponse{Result: result} + payload, err_ := s_.Impl.SetIpPacketInfo(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpPacketInfoOrdinal: - result, err_ := s_.Impl.GetIpPacketInfo(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpPacketInfoResponse{Result: result} + payload, err_ := s_.Impl.GetIpPacketInfo(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpReceiveTypeOfServiceOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest{} + in_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18939,15 +13062,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpReceiveTypeOfService(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.SetIpReceiveTypeOfService(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpReceiveTypeOfServiceOrdinal: - result, err_ := s_.Impl.GetIpReceiveTypeOfService(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.GetIpReceiveTypeOfService(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpReceiveTtlOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpReceiveTtlRequest{} + in_ := &BaseNetworkSocketSetIpReceiveTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18955,15 +13078,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpReceiveTtl(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpReceiveTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpReceiveTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpReceiveTtlOrdinal: - result, err_ := s_.Impl.GetIpReceiveTtl(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpReceiveTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpReceiveTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpMulticastInterfaceOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpMulticastInterfaceRequest{} + in_ := &BaseNetworkSocketSetIpMulticastInterfaceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18971,15 +13094,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastInterface(args_.Ctx, (*in_).Iface, (*in_).Address) - out_ := &baseDatagramSocketWithCtxSetIpMulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastInterface(args_.Ctx, (*in_).Iface, (*in_).Address) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpMulticastInterfaceOrdinal: - result, err_ := s_.Impl.GetIpMulticastInterface(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpMulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastInterface(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpMulticastTtlOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpMulticastTtlRequest{} + in_ := &BaseNetworkSocketSetIpMulticastTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -18987,15 +13110,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastTtl(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpMulticastTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpMulticastTtlOrdinal: - result, err_ := s_.Impl.GetIpMulticastTtl(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpMulticastTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpMulticastLoopbackOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpMulticastLoopbackRequest{} + in_ := &BaseNetworkSocketSetIpMulticastLoopbackRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19003,15 +13126,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastLoopback(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpMulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastLoopback(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpMulticastLoopbackOrdinal: - result, err_ := s_.Impl.GetIpMulticastLoopback(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpMulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastLoopback(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketAddIpMembershipOrdinal: - in_ := &baseDatagramSocketWithCtxAddIpMembershipRequest{} + in_ := &BaseNetworkSocketAddIpMembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19019,11 +13142,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AddIpMembership(args_.Ctx, (*in_).Membership) - out_ := &baseDatagramSocketWithCtxAddIpMembershipResponse{Result: result} + payload, err_ := s_.Impl.AddIpMembership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case BaseDatagramSocketDropIpMembershipOrdinal: - in_ := &baseDatagramSocketWithCtxDropIpMembershipRequest{} + in_ := &BaseNetworkSocketDropIpMembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19031,11 +13154,43 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DropIpMembership(args_.Ctx, (*in_).Membership) - out_ := &baseDatagramSocketWithCtxDropIpMembershipResponse{Result: result} + payload, err_ := s_.Impl.DropIpMembership(args_.Ctx, (*in_).Membership) + out_ := &payload + return out_, true, err_ + case BaseDatagramSocketSetIpTransparentOrdinal: + in_ := &BaseNetworkSocketSetIpTransparentRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetIpTransparent(args_.Ctx, (*in_).Value) + out_ := &payload + return out_, true, err_ + case BaseDatagramSocketGetIpTransparentOrdinal: + payload, err_ := s_.Impl.GetIpTransparent(args_.Ctx) + out_ := &payload + return out_, true, err_ + case BaseDatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal: + in_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetIpReceiveOriginalDestinationAddress(args_.Ctx, (*in_).Value) + out_ := &payload + return out_, true, err_ + case BaseDatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal: + payload, err_ := s_.Impl.GetIpReceiveOriginalDestinationAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketAddIpv6MembershipOrdinal: - in_ := &baseDatagramSocketWithCtxAddIpv6MembershipRequest{} + in_ := &BaseNetworkSocketAddIpv6MembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19043,11 +13198,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AddIpv6Membership(args_.Ctx, (*in_).Membership) - out_ := &baseDatagramSocketWithCtxAddIpv6MembershipResponse{Result: result} + payload, err_ := s_.Impl.AddIpv6Membership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case BaseDatagramSocketDropIpv6MembershipOrdinal: - in_ := &baseDatagramSocketWithCtxDropIpv6MembershipRequest{} + in_ := &BaseNetworkSocketDropIpv6MembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19055,11 +13210,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DropIpv6Membership(args_.Ctx, (*in_).Membership) - out_ := &baseDatagramSocketWithCtxDropIpv6MembershipResponse{Result: result} + payload, err_ := s_.Impl.DropIpv6Membership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpv6MulticastInterfaceOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastInterfaceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19067,15 +13222,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastInterface(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastInterface(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpv6MulticastInterfaceOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastInterface(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastInterface(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpv6UnicastHopsOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpv6UnicastHopsRequest{} + in_ := &BaseNetworkSocketSetIpv6UnicastHopsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19083,15 +13238,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6UnicastHops(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpv6UnicastHopsResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6UnicastHops(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpv6UnicastHopsOrdinal: - result, err_ := s_.Impl.GetIpv6UnicastHops(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpv6UnicastHopsResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6UnicastHops(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpv6ReceiveHopLimitOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19099,15 +13254,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceiveHopLimit(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceiveHopLimit(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpv6ReceiveHopLimitOrdinal: - result, err_ := s_.Impl.GetIpv6ReceiveHopLimit(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceiveHopLimit(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpv6MulticastHopsOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpv6MulticastHopsRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastHopsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19115,15 +13270,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastHops(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpv6MulticastHopsResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastHops(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpv6MulticastHopsOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastHops(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpv6MulticastHopsResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastHops(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpv6MulticastLoopbackOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastLoopbackRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19131,15 +13286,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastLoopback(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastLoopback(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpv6MulticastLoopbackOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastLoopback(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastLoopback(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpv6OnlyOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpv6OnlyRequest{} + in_ := &BaseNetworkSocketSetIpv6OnlyRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19147,15 +13302,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6Only(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpv6OnlyResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6Only(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpv6OnlyOrdinal: - result, err_ := s_.Impl.GetIpv6Only(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpv6OnlyResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6Only(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpv6ReceiveTrafficClassOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19163,15 +13318,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceiveTrafficClass(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceiveTrafficClass(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpv6ReceiveTrafficClassOrdinal: - result, err_ := s_.Impl.GetIpv6ReceiveTrafficClass(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceiveTrafficClass(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpv6TrafficClassOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpv6TrafficClassRequest{} + in_ := &BaseNetworkSocketSetIpv6TrafficClassRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19179,15 +13334,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6TrafficClass(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpv6TrafficClassResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6TrafficClass(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpv6TrafficClassOrdinal: - result, err_ := s_.Impl.GetIpv6TrafficClass(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpv6TrafficClassResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6TrafficClass(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketSetIpv6ReceivePacketInfoOrdinal: - in_ := &baseDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -19195,16 +13350,20 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceivePacketInfo(args_.Ctx, (*in_).Value) - out_ := &baseDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceivePacketInfo(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetIpv6ReceivePacketInfoOrdinal: - result, err_ := s_.Impl.GetIpv6ReceivePacketInfo(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceivePacketInfo(args_.Ctx) + out_ := &payload + return out_, true, err_ + case BaseDatagramSocketGetOriginalDestinationOrdinal: + payload, err_ := s_.Impl.GetOriginalDestination(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseDatagramSocketGetInfoOrdinal: - result, err_ := s_.Impl.GetInfo(args_.Ctx) - out_ := &baseDatagramSocketWithCtxGetInfoResponse{Result: result} + payload, err_ := s_.Impl.GetInfo(args_.Ctx) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -19213,83 +13372,88 @@ type BaseDatagramSocketEventProxy _bindings.ChannelProxy const ( - BaseNetworkSocketClone2Ordinal uint64 = 0x20d8a7aba2168a79 - BaseNetworkSocketCloseOrdinal uint64 = 0x5ac5d459ad7f657e - BaseNetworkSocketQueryOrdinal uint64 = 0x2658edee9decfc06 - BaseNetworkSocketSetReuseAddressOrdinal uint64 = 0x1fd74ee8b9a4a876 - BaseNetworkSocketGetReuseAddressOrdinal uint64 = 0x67b7206b8d1bc0a5 - BaseNetworkSocketGetErrorOrdinal uint64 = 0x5aad39b33e5f6ebb - BaseNetworkSocketSetBroadcastOrdinal uint64 = 0x6023e081ce3cd947 - BaseNetworkSocketGetBroadcastOrdinal uint64 = 0x68796fc556f9780d - BaseNetworkSocketSetSendBufferOrdinal uint64 = 0x756eac32d73a7a70 - BaseNetworkSocketGetSendBufferOrdinal uint64 = 0x78a52fd9c7b2410b - BaseNetworkSocketSetReceiveBufferOrdinal uint64 = 0x6b0cf2f1919c7001 - BaseNetworkSocketGetReceiveBufferOrdinal uint64 = 0x14c1a4b64f709e5c - BaseNetworkSocketSetKeepAliveOrdinal uint64 = 0x572df8f0b920d2c7 - BaseNetworkSocketGetKeepAliveOrdinal uint64 = 0x2dd29d3215f2c9d2 - BaseNetworkSocketSetOutOfBandInlineOrdinal uint64 = 0x3ecb49968bee439 - BaseNetworkSocketGetOutOfBandInlineOrdinal uint64 = 0x348c1ab3aeca1745 - BaseNetworkSocketSetNoCheckOrdinal uint64 = 0x6bbf00c53a4c78c2 - BaseNetworkSocketGetNoCheckOrdinal uint64 = 0x2cd4249286417694 - BaseNetworkSocketSetLingerOrdinal uint64 = 0x45386351246e998e - BaseNetworkSocketGetLingerOrdinal uint64 = 0x48eb20fc5ccb0e45 - BaseNetworkSocketSetReusePortOrdinal uint64 = 0x24dd3e5cb36d9ccb - BaseNetworkSocketGetReusePortOrdinal uint64 = 0x7a112c1ab54ff828 - BaseNetworkSocketGetAcceptConnOrdinal uint64 = 0x67ce6db6c2ec8966 - BaseNetworkSocketSetBindToDeviceOrdinal uint64 = 0x2118b483f28aafc4 - BaseNetworkSocketGetBindToDeviceOrdinal uint64 = 0x1ab1fbf0ef7906c8 - BaseNetworkSocketSetTimestampOrdinal uint64 = 0x285d6516c263d839 - BaseNetworkSocketGetTimestampOrdinal uint64 = 0x49f2fffbbcc2bd27 - BaseNetworkSocketBindOrdinal uint64 = 0x4bc6400ae92125d - BaseNetworkSocketConnectOrdinal uint64 = 0x5f05f19bfdd38871 - BaseNetworkSocketDisconnectOrdinal uint64 = 0x74e63b91f7b29b2 - BaseNetworkSocketGetSockNameOrdinal uint64 = 0x475f23f84a1a4f85 - BaseNetworkSocketGetPeerNameOrdinal uint64 = 0x1ffecf4bd5b6432e - BaseNetworkSocketShutdownOrdinal uint64 = 0x247f38b6db68c336 - BaseNetworkSocketSetIpTypeOfServiceOrdinal uint64 = 0x995c600475b6d46 - BaseNetworkSocketGetIpTypeOfServiceOrdinal uint64 = 0x3814a04259f75fcb - BaseNetworkSocketSetIpTtlOrdinal uint64 = 0x29e2424b433ae1ef - BaseNetworkSocketGetIpTtlOrdinal uint64 = 0x47e47fa1f24da471 - BaseNetworkSocketSetIpPacketInfoOrdinal uint64 = 0x392d16bee20c0e16 - BaseNetworkSocketGetIpPacketInfoOrdinal uint64 = 0x54b505f242280740 - BaseNetworkSocketSetIpReceiveTypeOfServiceOrdinal uint64 = 0x6c4f6714995f84ef - BaseNetworkSocketGetIpReceiveTypeOfServiceOrdinal uint64 = 0x4158ba7dc2795960 - BaseNetworkSocketSetIpReceiveTtlOrdinal uint64 = 0x46f15be0ce0ab82b - BaseNetworkSocketGetIpReceiveTtlOrdinal uint64 = 0x678ddd5a5dfa2eb5 - BaseNetworkSocketSetIpMulticastInterfaceOrdinal uint64 = 0x752fbfa9b12befe - BaseNetworkSocketGetIpMulticastInterfaceOrdinal uint64 = 0x320bd14c4df046c4 - BaseNetworkSocketSetIpMulticastTtlOrdinal uint64 = 0x63134d53772916a1 - BaseNetworkSocketGetIpMulticastTtlOrdinal uint64 = 0x4665cd378f39e1a - BaseNetworkSocketSetIpMulticastLoopbackOrdinal uint64 = 0x20c55c11f00943ea - BaseNetworkSocketGetIpMulticastLoopbackOrdinal uint64 = 0x3b6b26ff558298f2 - BaseNetworkSocketAddIpMembershipOrdinal uint64 = 0x76bc7df115a3b4d0 - BaseNetworkSocketDropIpMembershipOrdinal uint64 = 0x2888f3099188d03 - BaseNetworkSocketAddIpv6MembershipOrdinal uint64 = 0x7c94727acb4ea4b3 - BaseNetworkSocketDropIpv6MembershipOrdinal uint64 = 0x42104c70ccaba304 - BaseNetworkSocketSetIpv6MulticastInterfaceOrdinal uint64 = 0x135f76db3774ab3b - BaseNetworkSocketGetIpv6MulticastInterfaceOrdinal uint64 = 0x1f26fcdd348f1882 - BaseNetworkSocketSetIpv6UnicastHopsOrdinal uint64 = 0x157d51e98f462859 - BaseNetworkSocketGetIpv6UnicastHopsOrdinal uint64 = 0x21f4641cad8bd8d2 - BaseNetworkSocketSetIpv6ReceiveHopLimitOrdinal uint64 = 0x5c24808ed2e84a1e - BaseNetworkSocketGetIpv6ReceiveHopLimitOrdinal uint64 = 0x341e06689885b4c0 - BaseNetworkSocketSetIpv6MulticastHopsOrdinal uint64 = 0x25b9cd4d181f82c1 - BaseNetworkSocketGetIpv6MulticastHopsOrdinal uint64 = 0x52916948a365012a - BaseNetworkSocketSetIpv6MulticastLoopbackOrdinal uint64 = 0x55701c409ff41b40 - BaseNetworkSocketGetIpv6MulticastLoopbackOrdinal uint64 = 0x4415b701fde319c3 - BaseNetworkSocketSetIpv6OnlyOrdinal uint64 = 0x4873f1364758cbba - BaseNetworkSocketGetIpv6OnlyOrdinal uint64 = 0x4aa3340a1a26b89c - BaseNetworkSocketSetIpv6ReceiveTrafficClassOrdinal uint64 = 0x58f07c8788d099a0 - BaseNetworkSocketGetIpv6ReceiveTrafficClassOrdinal uint64 = 0x2e334df1da553ffa - BaseNetworkSocketSetIpv6TrafficClassOrdinal uint64 = 0x6af077800c5a0b4f - BaseNetworkSocketGetIpv6TrafficClassOrdinal uint64 = 0x6baf6eed8fc2f04 - BaseNetworkSocketSetIpv6ReceivePacketInfoOrdinal uint64 = 0x19259775b1a92768 - BaseNetworkSocketGetIpv6ReceivePacketInfoOrdinal uint64 = 0x7acd4a2775baec75 + BaseNetworkSocketClone2Ordinal uint64 = 0x20d8a7aba2168a79 + BaseNetworkSocketCloseOrdinal uint64 = 0x5ac5d459ad7f657e + BaseNetworkSocketQueryOrdinal uint64 = 0x2658edee9decfc06 + BaseNetworkSocketSetReuseAddressOrdinal uint64 = 0x1fd74ee8b9a4a876 + BaseNetworkSocketGetReuseAddressOrdinal uint64 = 0x67b7206b8d1bc0a5 + BaseNetworkSocketGetErrorOrdinal uint64 = 0x5aad39b33e5f6ebb + BaseNetworkSocketSetBroadcastOrdinal uint64 = 0x6023e081ce3cd947 + BaseNetworkSocketGetBroadcastOrdinal uint64 = 0x68796fc556f9780d + BaseNetworkSocketSetSendBufferOrdinal uint64 = 0x756eac32d73a7a70 + BaseNetworkSocketGetSendBufferOrdinal uint64 = 0x78a52fd9c7b2410b + BaseNetworkSocketSetReceiveBufferOrdinal uint64 = 0x6b0cf2f1919c7001 + BaseNetworkSocketGetReceiveBufferOrdinal uint64 = 0x14c1a4b64f709e5c + BaseNetworkSocketSetKeepAliveOrdinal uint64 = 0x572df8f0b920d2c7 + BaseNetworkSocketGetKeepAliveOrdinal uint64 = 0x2dd29d3215f2c9d2 + BaseNetworkSocketSetOutOfBandInlineOrdinal uint64 = 0x3ecb49968bee439 + BaseNetworkSocketGetOutOfBandInlineOrdinal uint64 = 0x348c1ab3aeca1745 + BaseNetworkSocketSetNoCheckOrdinal uint64 = 0x6bbf00c53a4c78c2 + BaseNetworkSocketGetNoCheckOrdinal uint64 = 0x2cd4249286417694 + BaseNetworkSocketSetLingerOrdinal uint64 = 0x45386351246e998e + BaseNetworkSocketGetLingerOrdinal uint64 = 0x48eb20fc5ccb0e45 + BaseNetworkSocketSetReusePortOrdinal uint64 = 0x24dd3e5cb36d9ccb + BaseNetworkSocketGetReusePortOrdinal uint64 = 0x7a112c1ab54ff828 + BaseNetworkSocketGetAcceptConnOrdinal uint64 = 0x67ce6db6c2ec8966 + BaseNetworkSocketSetBindToDeviceOrdinal uint64 = 0x2118b483f28aafc4 + BaseNetworkSocketGetBindToDeviceOrdinal uint64 = 0x1ab1fbf0ef7906c8 + BaseNetworkSocketSetTimestampOrdinal uint64 = 0x285d6516c263d839 + BaseNetworkSocketGetTimestampOrdinal uint64 = 0x49f2fffbbcc2bd27 + BaseNetworkSocketBindOrdinal uint64 = 0x4bc6400ae92125d + BaseNetworkSocketConnectOrdinal uint64 = 0x5f05f19bfdd38871 + BaseNetworkSocketDisconnectOrdinal uint64 = 0x74e63b91f7b29b2 + BaseNetworkSocketGetSockNameOrdinal uint64 = 0x475f23f84a1a4f85 + BaseNetworkSocketGetPeerNameOrdinal uint64 = 0x1ffecf4bd5b6432e + BaseNetworkSocketShutdownOrdinal uint64 = 0x247f38b6db68c336 + BaseNetworkSocketSetIpTypeOfServiceOrdinal uint64 = 0x995c600475b6d46 + BaseNetworkSocketGetIpTypeOfServiceOrdinal uint64 = 0x3814a04259f75fcb + BaseNetworkSocketSetIpTtlOrdinal uint64 = 0x29e2424b433ae1ef + BaseNetworkSocketGetIpTtlOrdinal uint64 = 0x47e47fa1f24da471 + BaseNetworkSocketSetIpPacketInfoOrdinal uint64 = 0x392d16bee20c0e16 + BaseNetworkSocketGetIpPacketInfoOrdinal uint64 = 0x54b505f242280740 + BaseNetworkSocketSetIpReceiveTypeOfServiceOrdinal uint64 = 0x6c4f6714995f84ef + BaseNetworkSocketGetIpReceiveTypeOfServiceOrdinal uint64 = 0x4158ba7dc2795960 + BaseNetworkSocketSetIpReceiveTtlOrdinal uint64 = 0x46f15be0ce0ab82b + BaseNetworkSocketGetIpReceiveTtlOrdinal uint64 = 0x678ddd5a5dfa2eb5 + BaseNetworkSocketSetIpMulticastInterfaceOrdinal uint64 = 0x752fbfa9b12befe + BaseNetworkSocketGetIpMulticastInterfaceOrdinal uint64 = 0x320bd14c4df046c4 + BaseNetworkSocketSetIpMulticastTtlOrdinal uint64 = 0x63134d53772916a1 + BaseNetworkSocketGetIpMulticastTtlOrdinal uint64 = 0x4665cd378f39e1a + BaseNetworkSocketSetIpMulticastLoopbackOrdinal uint64 = 0x20c55c11f00943ea + BaseNetworkSocketGetIpMulticastLoopbackOrdinal uint64 = 0x3b6b26ff558298f2 + BaseNetworkSocketAddIpMembershipOrdinal uint64 = 0x76bc7df115a3b4d0 + BaseNetworkSocketDropIpMembershipOrdinal uint64 = 0x2888f3099188d03 + BaseNetworkSocketSetIpTransparentOrdinal uint64 = 0x1ae532b0c066e3a0 + BaseNetworkSocketGetIpTransparentOrdinal uint64 = 0x51d43695962ebfb5 + BaseNetworkSocketSetIpReceiveOriginalDestinationAddressOrdinal uint64 = 0x4722b4ce52f7840 + BaseNetworkSocketGetIpReceiveOriginalDestinationAddressOrdinal uint64 = 0x2a0e7dc5d6bfdfe9 + BaseNetworkSocketAddIpv6MembershipOrdinal uint64 = 0x7c94727acb4ea4b3 + BaseNetworkSocketDropIpv6MembershipOrdinal uint64 = 0x42104c70ccaba304 + BaseNetworkSocketSetIpv6MulticastInterfaceOrdinal uint64 = 0x135f76db3774ab3b + BaseNetworkSocketGetIpv6MulticastInterfaceOrdinal uint64 = 0x1f26fcdd348f1882 + BaseNetworkSocketSetIpv6UnicastHopsOrdinal uint64 = 0x157d51e98f462859 + BaseNetworkSocketGetIpv6UnicastHopsOrdinal uint64 = 0x21f4641cad8bd8d2 + BaseNetworkSocketSetIpv6ReceiveHopLimitOrdinal uint64 = 0x5c24808ed2e84a1e + BaseNetworkSocketGetIpv6ReceiveHopLimitOrdinal uint64 = 0x341e06689885b4c0 + BaseNetworkSocketSetIpv6MulticastHopsOrdinal uint64 = 0x25b9cd4d181f82c1 + BaseNetworkSocketGetIpv6MulticastHopsOrdinal uint64 = 0x52916948a365012a + BaseNetworkSocketSetIpv6MulticastLoopbackOrdinal uint64 = 0x55701c409ff41b40 + BaseNetworkSocketGetIpv6MulticastLoopbackOrdinal uint64 = 0x4415b701fde319c3 + BaseNetworkSocketSetIpv6OnlyOrdinal uint64 = 0x4873f1364758cbba + BaseNetworkSocketGetIpv6OnlyOrdinal uint64 = 0x4aa3340a1a26b89c + BaseNetworkSocketSetIpv6ReceiveTrafficClassOrdinal uint64 = 0x58f07c8788d099a0 + BaseNetworkSocketGetIpv6ReceiveTrafficClassOrdinal uint64 = 0x2e334df1da553ffa + BaseNetworkSocketSetIpv6TrafficClassOrdinal uint64 = 0x6af077800c5a0b4f + BaseNetworkSocketGetIpv6TrafficClassOrdinal uint64 = 0x6baf6eed8fc2f04 + BaseNetworkSocketSetIpv6ReceivePacketInfoOrdinal uint64 = 0x19259775b1a92768 + BaseNetworkSocketGetIpv6ReceivePacketInfoOrdinal uint64 = 0x7acd4a2775baec75 + BaseNetworkSocketGetOriginalDestinationOrdinal uint64 = 0x38bf28f0dafdbac0 ) type BaseNetworkSocketWithCtxInterface _bindings.ChannelProxy func (p *BaseNetworkSocketWithCtxInterface) Clone2(ctx_ _bindings.Context, request fuchsiaunknown.CloneableWithCtxInterfaceRequest) error { - req_ := &baseNetworkSocketWithCtxClone2Request{Request: request} + req_ := &fuchsiaunknown.CloneableClone2Request{Request: request} err_ := ((*_bindings.ChannelProxy)(p)).Send(BaseNetworkSocketClone2Ordinal, req_) return err_ } @@ -19306,561 +13470,601 @@ // status. func (p *BaseNetworkSocketWithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketCloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *BaseNetworkSocketWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketQueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Set `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *BaseNetworkSocketWithCtxInterface) SetReuseAddress(ctx_ _bindings.Context, value bool) (BaseSocketSetReuseAddressResult, error) { - req_ := &baseNetworkSocketWithCtxSetReuseAddressRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetReuseAddressResponse{} + req_ := &BaseSocketSetReuseAddressRequest{Value: value} + resp_ := &BaseSocketSetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *BaseNetworkSocketWithCtxInterface) GetReuseAddress(ctx_ _bindings.Context) (BaseSocketGetReuseAddressResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetReuseAddressResponse{} + resp_ := &BaseSocketGetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ERROR`. // Returns the last error if there is an error set on the socket. func (p *BaseNetworkSocketWithCtxInterface) GetError(ctx_ _bindings.Context) (BaseSocketGetErrorResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetErrorResponse{} + resp_ := &BaseSocketGetErrorResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetErrorOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BROADCAST`. func (p *BaseNetworkSocketWithCtxInterface) SetBroadcast(ctx_ _bindings.Context, value bool) (BaseSocketSetBroadcastResult, error) { - req_ := &baseNetworkSocketWithCtxSetBroadcastRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetBroadcastResponse{} + req_ := &BaseSocketSetBroadcastRequest{Value: value} + resp_ := &BaseSocketSetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BROADCAST`. func (p *BaseNetworkSocketWithCtxInterface) GetBroadcast(ctx_ _bindings.Context) (BaseSocketGetBroadcastResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetBroadcastResponse{} + resp_ := &BaseSocketGetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_SNDBUF`. func (p *BaseNetworkSocketWithCtxInterface) SetSendBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetSendBufferResult, error) { - req_ := &baseNetworkSocketWithCtxSetSendBufferRequest{ValueBytes: valueBytes} - resp_ := &baseNetworkSocketWithCtxSetSendBufferResponse{} + req_ := &BaseSocketSetSendBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_SNDBUF`. func (p *BaseNetworkSocketWithCtxInterface) GetSendBuffer(ctx_ _bindings.Context) (BaseSocketGetSendBufferResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetSendBufferResponse{} + resp_ := &BaseSocketGetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_RCVBUF`. func (p *BaseNetworkSocketWithCtxInterface) SetReceiveBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetReceiveBufferResult, error) { - req_ := &baseNetworkSocketWithCtxSetReceiveBufferRequest{ValueBytes: valueBytes} - resp_ := &baseNetworkSocketWithCtxSetReceiveBufferResponse{} + req_ := &BaseSocketSetReceiveBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_RCVBUF`. func (p *BaseNetworkSocketWithCtxInterface) GetReceiveBuffer(ctx_ _bindings.Context) (BaseSocketGetReceiveBufferResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetReceiveBufferResponse{} + resp_ := &BaseSocketGetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *BaseNetworkSocketWithCtxInterface) SetKeepAlive(ctx_ _bindings.Context, value bool) (BaseSocketSetKeepAliveResult, error) { - req_ := &baseNetworkSocketWithCtxSetKeepAliveRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetKeepAliveResponse{} + req_ := &BaseSocketSetKeepAliveRequest{Value: value} + resp_ := &BaseSocketSetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *BaseNetworkSocketWithCtxInterface) GetKeepAlive(ctx_ _bindings.Context) (BaseSocketGetKeepAliveResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetKeepAliveResponse{} + resp_ := &BaseSocketGetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *BaseNetworkSocketWithCtxInterface) SetOutOfBandInline(ctx_ _bindings.Context, value bool) (BaseSocketSetOutOfBandInlineResult, error) { - req_ := &baseNetworkSocketWithCtxSetOutOfBandInlineRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetOutOfBandInlineResponse{} + req_ := &BaseSocketSetOutOfBandInlineRequest{Value: value} + resp_ := &BaseSocketSetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *BaseNetworkSocketWithCtxInterface) GetOutOfBandInline(ctx_ _bindings.Context) (BaseSocketGetOutOfBandInlineResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetOutOfBandInlineResponse{} + resp_ := &BaseSocketGetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *BaseNetworkSocketWithCtxInterface) SetNoCheck(ctx_ _bindings.Context, value bool) (BaseSocketSetNoCheckResult, error) { - req_ := &baseNetworkSocketWithCtxSetNoCheckRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetNoCheckResponse{} + req_ := &BaseSocketSetNoCheckRequest{Value: value} + resp_ := &BaseSocketSetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *BaseNetworkSocketWithCtxInterface) GetNoCheck(ctx_ _bindings.Context) (BaseSocketGetNoCheckResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetNoCheckResponse{} + resp_ := &BaseSocketGetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_LINGER`. func (p *BaseNetworkSocketWithCtxInterface) SetLinger(ctx_ _bindings.Context, linger bool, lengthSecs uint32) (BaseSocketSetLingerResult, error) { - req_ := &baseNetworkSocketWithCtxSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} - resp_ := &baseNetworkSocketWithCtxSetLingerResponse{} + req_ := &BaseSocketSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} + resp_ := &BaseSocketSetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_LINGER`. func (p *BaseNetworkSocketWithCtxInterface) GetLinger(ctx_ _bindings.Context) (BaseSocketGetLingerResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetLingerResponse{} + resp_ := &BaseSocketGetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *BaseNetworkSocketWithCtxInterface) SetReusePort(ctx_ _bindings.Context, value bool) (BaseSocketSetReusePortResult, error) { - req_ := &baseNetworkSocketWithCtxSetReusePortRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetReusePortResponse{} + req_ := &BaseSocketSetReusePortRequest{Value: value} + resp_ := &BaseSocketSetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *BaseNetworkSocketWithCtxInterface) GetReusePort(ctx_ _bindings.Context) (BaseSocketGetReusePortResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetReusePortResponse{} + resp_ := &BaseSocketGetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ACCEPTCONN`. func (p *BaseNetworkSocketWithCtxInterface) GetAcceptConn(ctx_ _bindings.Context) (BaseSocketGetAcceptConnResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetAcceptConnResponse{} + resp_ := &BaseSocketGetAcceptConnResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetAcceptConnOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *BaseNetworkSocketWithCtxInterface) SetBindToDevice(ctx_ _bindings.Context, value string) (BaseSocketSetBindToDeviceResult, error) { - req_ := &baseNetworkSocketWithCtxSetBindToDeviceRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetBindToDeviceResponse{} + req_ := &BaseSocketSetBindToDeviceRequest{Value: value} + resp_ := &BaseSocketSetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *BaseNetworkSocketWithCtxInterface) GetBindToDevice(ctx_ _bindings.Context) (BaseSocketGetBindToDeviceResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetBindToDeviceResponse{} + resp_ := &BaseSocketGetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *BaseNetworkSocketWithCtxInterface) SetTimestamp(ctx_ _bindings.Context, value TimestampOption) (BaseSocketSetTimestampResult, error) { - req_ := &baseNetworkSocketWithCtxSetTimestampRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetTimestampResponse{} + req_ := &BaseSocketSetTimestampRequest{Value: value} + resp_ := &BaseSocketSetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *BaseNetworkSocketWithCtxInterface) GetTimestamp(ctx_ _bindings.Context) (BaseSocketGetTimestampResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetTimestampResponse{} + resp_ := &BaseSocketGetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Sets the local address used for the socket. func (p *BaseNetworkSocketWithCtxInterface) Bind(ctx_ _bindings.Context, addr fuchsianet.SocketAddress) (BaseNetworkSocketBindResult, error) { - req_ := &baseNetworkSocketWithCtxBindRequest{Addr: addr} - resp_ := &baseNetworkSocketWithCtxBindResponse{} + req_ := &BaseNetworkSocketBindRequest{Addr: addr} + resp_ := &BaseNetworkSocketBindResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketBindOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Initiates a connection to a remote address. func (p *BaseNetworkSocketWithCtxInterface) Connect(ctx_ _bindings.Context, addr fuchsianet.SocketAddress) (BaseNetworkSocketConnectResult, error) { - req_ := &baseNetworkSocketWithCtxConnectRequest{Addr: addr} - resp_ := &baseNetworkSocketWithCtxConnectResponse{} + req_ := &BaseNetworkSocketConnectRequest{Addr: addr} + resp_ := &BaseNetworkSocketConnectResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketConnectOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Clears connection information from this socket. func (p *BaseNetworkSocketWithCtxInterface) Disconnect(ctx_ _bindings.Context) (BaseNetworkSocketDisconnectResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxDisconnectResponse{} + resp_ := &BaseNetworkSocketDisconnectResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketDisconnectOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves the local socket address. func (p *BaseNetworkSocketWithCtxInterface) GetSockName(ctx_ _bindings.Context) (BaseNetworkSocketGetSockNameResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetSockNameResponse{} + resp_ := &BaseNetworkSocketGetSockNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetSockNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves the remote socket address. func (p *BaseNetworkSocketWithCtxInterface) GetPeerName(ctx_ _bindings.Context) (BaseNetworkSocketGetPeerNameResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetPeerNameResponse{} + resp_ := &BaseNetworkSocketGetPeerNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetPeerNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Shuts down part of the socket. func (p *BaseNetworkSocketWithCtxInterface) Shutdown(ctx_ _bindings.Context, mode ShutdownMode) (BaseNetworkSocketShutdownResult, error) { - req_ := &baseNetworkSocketWithCtxShutdownRequest{Mode: mode} - resp_ := &baseNetworkSocketWithCtxShutdownResponse{} + req_ := &BaseNetworkSocketShutdownRequest{Mode: mode} + resp_ := &BaseNetworkSocketShutdownResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketShutdownOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_TOS`. func (p *BaseNetworkSocketWithCtxInterface) SetIpTypeOfService(ctx_ _bindings.Context, value uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpTypeOfServiceRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpTypeOfServiceResponse{} + req_ := &BaseNetworkSocketSetIpTypeOfServiceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_TOS`. func (p *BaseNetworkSocketWithCtxInterface) GetIpTypeOfService(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpTypeOfServiceResponse{} + resp_ := &BaseNetworkSocketGetIpTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_TTL`. func (p *BaseNetworkSocketWithCtxInterface) SetIpTtl(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpTtlRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpTtlResponse{} + req_ := &BaseNetworkSocketSetIpTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_TTL`. func (p *BaseNetworkSocketWithCtxInterface) GetIpTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTtlResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpTtlResponse{} + resp_ := &BaseNetworkSocketGetIpTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_PKTINFO`. func (p *BaseNetworkSocketWithCtxInterface) SetIpPacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpPacketInfoResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpPacketInfoRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpPacketInfoResponse{} + req_ := &BaseNetworkSocketSetIpPacketInfoRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpPacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpPacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_PKTINFO`. func (p *BaseNetworkSocketWithCtxInterface) GetIpPacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpPacketInfoResponse{} + resp_ := &BaseNetworkSocketGetIpPacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpPacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_RECVTOS`. func (p *BaseNetworkSocketWithCtxInterface) SetIpReceiveTypeOfService(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpReceiveTypeOfServiceRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpReceiveTypeOfServiceResponse{} + req_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpReceiveTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_RECVTOS`. func (p *BaseNetworkSocketWithCtxInterface) GetIpReceiveTypeOfService(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpReceiveTypeOfServiceResponse{} + resp_ := &BaseNetworkSocketGetIpReceiveTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpReceiveTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_RECVTTL`. func (p *BaseNetworkSocketWithCtxInterface) SetIpReceiveTtl(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpReceiveTtlRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpReceiveTtlResponse{} + req_ := &BaseNetworkSocketSetIpReceiveTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpReceiveTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_RECVTTL`. func (p *BaseNetworkSocketWithCtxInterface) GetIpReceiveTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpReceiveTtlResponse{} + resp_ := &BaseNetworkSocketGetIpReceiveTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpReceiveTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_IF`. func (p *BaseNetworkSocketWithCtxInterface) SetIpMulticastInterface(ctx_ _bindings.Context, iface uint64, address fuchsianet.Ipv4Address) (BaseNetworkSocketSetIpMulticastInterfaceResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpMulticastInterfaceRequest{Iface: iface, Address: address} - resp_ := &baseNetworkSocketWithCtxSetIpMulticastInterfaceResponse{} + req_ := &BaseNetworkSocketSetIpMulticastInterfaceRequest{Iface: iface, Address: address} + resp_ := &BaseNetworkSocketSetIpMulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpMulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_IF`. func (p *BaseNetworkSocketWithCtxInterface) GetIpMulticastInterface(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastInterfaceResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpMulticastInterfaceResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpMulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_TTL`. func (p *BaseNetworkSocketWithCtxInterface) SetIpMulticastTtl(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpMulticastTtlRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpMulticastTtlResponse{} + req_ := &BaseNetworkSocketSetIpMulticastTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpMulticastTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpMulticastTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_TTL`. func (p *BaseNetworkSocketWithCtxInterface) GetIpMulticastTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpMulticastTtlResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpMulticastTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_LOOP`. func (p *BaseNetworkSocketWithCtxInterface) SetIpMulticastLoopback(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpMulticastLoopbackRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpMulticastLoopbackResponse{} + req_ := &BaseNetworkSocketSetIpMulticastLoopbackRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpMulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpMulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_LOOP`. func (p *BaseNetworkSocketWithCtxInterface) GetIpMulticastLoopback(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpMulticastLoopbackResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpMulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_ADD_MEMBERSHIP` func (p *BaseNetworkSocketWithCtxInterface) AddIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) { - req_ := &baseNetworkSocketWithCtxAddIpMembershipRequest{Membership: membership} - resp_ := &baseNetworkSocketWithCtxAddIpMembershipResponse{} + req_ := &BaseNetworkSocketAddIpMembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketAddIpMembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketAddIpMembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_DROP_MEMBERSHIP` func (p *BaseNetworkSocketWithCtxInterface) DropIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketDropIpMembershipResult, error) { - req_ := &baseNetworkSocketWithCtxDropIpMembershipRequest{Membership: membership} - resp_ := &baseNetworkSocketWithCtxDropIpMembershipResponse{} + req_ := &BaseNetworkSocketDropIpMembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketDropIpMembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketDropIpMembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Set `SOL_IP` -> `IP_TRANSPARENT` +func (p *BaseNetworkSocketWithCtxInterface) SetIpTransparent(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpTransparentResult, error) { + req_ := &BaseNetworkSocketSetIpTransparentRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTransparentResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpTransparentOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Get `SOL_IP` -> `IP_TRANSPARENT` +func (p *BaseNetworkSocketWithCtxInterface) GetIpTransparent(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTransparentResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetIpTransparentResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpTransparentOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set `SOL_IP` -> `IP_RECVORIGDSTADDR` +func (p *BaseNetworkSocketWithCtxInterface) SetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) { + req_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpReceiveOriginalDestinationAddressOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Get `SOL_IP` -> `IP_RECVORIGDSTADDR` +func (p *BaseNetworkSocketWithCtxInterface) GetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpReceiveOriginalDestinationAddressOrdinal, req_, resp_) + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`. func (p *BaseNetworkSocketWithCtxInterface) AddIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) { - req_ := &baseNetworkSocketWithCtxAddIpv6MembershipRequest{Membership: membership} - resp_ := &baseNetworkSocketWithCtxAddIpv6MembershipResponse{} + req_ := &BaseNetworkSocketAddIpv6MembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketAddIpv6MembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketAddIpv6MembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`. func (p *BaseNetworkSocketWithCtxInterface) DropIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketDropIpv6MembershipResult, error) { - req_ := &baseNetworkSocketWithCtxDropIpv6MembershipRequest{Membership: membership} - resp_ := &baseNetworkSocketWithCtxDropIpv6MembershipResponse{} + req_ := &BaseNetworkSocketDropIpv6MembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketDropIpv6MembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketDropIpv6MembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_IF`. func (p *BaseNetworkSocketWithCtxInterface) SetIpv6MulticastInterface(ctx_ _bindings.Context, value uint64) (BaseNetworkSocketSetIpv6MulticastInterfaceResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpv6MulticastInterfaceRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpv6MulticastInterfaceResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastInterfaceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpv6MulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_IF`. func (p *BaseNetworkSocketWithCtxInterface) GetIpv6MulticastInterface(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastInterfaceResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpv6MulticastInterfaceResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpv6MulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_UNICAST_HOPS`. func (p *BaseNetworkSocketWithCtxInterface) SetIpv6UnicastHops(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6UnicastHopsResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpv6UnicastHopsRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpv6UnicastHopsResponse{} + req_ := &BaseNetworkSocketSetIpv6UnicastHopsRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6UnicastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpv6UnicastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_UNICAST_HOPS`. func (p *BaseNetworkSocketWithCtxInterface) GetIpv6UnicastHops(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6UnicastHopsResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpv6UnicastHopsResponse{} + resp_ := &BaseNetworkSocketGetIpv6UnicastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpv6UnicastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`. func (p *BaseNetworkSocketWithCtxInterface) SetIpv6ReceiveHopLimit(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceiveHopLimitResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpv6ReceiveHopLimitRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpv6ReceiveHopLimitResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpv6ReceiveHopLimitOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`. func (p *BaseNetworkSocketWithCtxInterface) GetIpv6ReceiveHopLimit(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceiveHopLimitResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpv6ReceiveHopLimitResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceiveHopLimitResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpv6ReceiveHopLimitOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`. func (p *BaseNetworkSocketWithCtxInterface) SetIpv6MulticastHops(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpv6MulticastHopsRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpv6MulticastHopsResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastHopsRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpv6MulticastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`. func (p *BaseNetworkSocketWithCtxInterface) GetIpv6MulticastHops(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpv6MulticastHopsResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpv6MulticastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`. func (p *BaseNetworkSocketWithCtxInterface) SetIpv6MulticastLoopback(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6MulticastLoopbackResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpv6MulticastLoopbackRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpv6MulticastLoopbackResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastLoopbackRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpv6MulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`. func (p *BaseNetworkSocketWithCtxInterface) GetIpv6MulticastLoopback(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastLoopbackResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpv6MulticastLoopbackResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpv6MulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_V6ONLY`. func (p *BaseNetworkSocketWithCtxInterface) SetIpv6Only(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6OnlyResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpv6OnlyRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpv6OnlyResponse{} + req_ := &BaseNetworkSocketSetIpv6OnlyRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6OnlyResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpv6OnlyOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_V6ONLY`. func (p *BaseNetworkSocketWithCtxInterface) GetIpv6Only(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6OnlyResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpv6OnlyResponse{} + resp_ := &BaseNetworkSocketGetIpv6OnlyResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpv6OnlyOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVTCLASS`. func (p *BaseNetworkSocketWithCtxInterface) SetIpv6ReceiveTrafficClass(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceiveTrafficClassResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpv6ReceiveTrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVTCLASS`. func (p *BaseNetworkSocketWithCtxInterface) GetIpv6ReceiveTrafficClass(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceiveTrafficClassResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpv6ReceiveTrafficClassResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceiveTrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpv6ReceiveTrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_TCLASS` func (p *BaseNetworkSocketWithCtxInterface) SetIpv6TrafficClass(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6TrafficClassResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpv6TrafficClassRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpv6TrafficClassResponse{} + req_ := &BaseNetworkSocketSetIpv6TrafficClassRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6TrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpv6TrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_TCLASS`. func (p *BaseNetworkSocketWithCtxInterface) GetIpv6TrafficClass(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6TrafficClassResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpv6TrafficClassResponse{} + resp_ := &BaseNetworkSocketGetIpv6TrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpv6TrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVPKTINFO`. func (p *BaseNetworkSocketWithCtxInterface) SetIpv6ReceivePacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceivePacketInfoResult, error) { - req_ := &baseNetworkSocketWithCtxSetIpv6ReceivePacketInfoRequest{Value: value} - resp_ := &baseNetworkSocketWithCtxSetIpv6ReceivePacketInfoResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketSetIpv6ReceivePacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`. func (p *BaseNetworkSocketWithCtxInterface) GetIpv6ReceivePacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceivePacketInfoResult, error) { var req_ _bindings.Message - resp_ := &baseNetworkSocketWithCtxGetIpv6ReceivePacketInfoResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceivePacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetIpv6ReceivePacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Get `SOL_IP` -> `SO_ORIGINAL_DST`. +func (p *BaseNetworkSocketWithCtxInterface) GetOriginalDestination(ctx_ _bindings.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetOriginalDestinationResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseNetworkSocketGetOriginalDestinationOrdinal, req_, resp_) + return (*resp_), err_ } // A network socket. @@ -19975,6 +14179,14 @@ AddIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) // Set `SOL_IP` -> `IP_DROP_MEMBERSHIP` DropIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketDropIpMembershipResult, error) + // Set `SOL_IP` -> `IP_TRANSPARENT` + SetIpTransparent(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpTransparentResult, error) + // Get `SOL_IP` -> `IP_TRANSPARENT` + GetIpTransparent(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTransparentResult, error) + // Set `SOL_IP` -> `IP_RECVORIGDSTADDR` + SetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) + // Get `SOL_IP` -> `IP_RECVORIGDSTADDR` + GetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) // Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`. AddIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) // Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`. @@ -20015,6 +14227,8 @@ SetIpv6ReceivePacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceivePacketInfoResult, error) // Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`. GetIpv6ReceivePacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceivePacketInfoResult, error) + // Get `SOL_IP` -> `SO_ORIGINAL_DST`. + GetOriginalDestination(ctx_ _bindings.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) } type BaseNetworkSocketWithCtxTransitionalBase struct{} @@ -20033,7 +14247,7 @@ func (s_ *BaseNetworkSocketWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case BaseNetworkSocketClone2Ordinal: - in_ := &baseNetworkSocketWithCtxClone2Request{} + in_ := &fuchsiaunknown.CloneableClone2Request{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20044,15 +14258,15 @@ err_ := s_.Impl.Clone2(args_.Ctx, (*in_).Request) return nil, false, err_ case BaseNetworkSocketCloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &baseNetworkSocketWithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketQueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &baseNetworkSocketWithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case BaseNetworkSocketSetReuseAddressOrdinal: - in_ := &baseNetworkSocketWithCtxSetReuseAddressRequest{} + in_ := &BaseSocketSetReuseAddressRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20060,19 +14274,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetReuseAddressOrdinal: - result, err_ := s_.Impl.GetReuseAddress(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.GetReuseAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetErrorOrdinal: - result, err_ := s_.Impl.GetError(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetErrorResponse{Result: result} + payload, err_ := s_.Impl.GetError(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetBroadcastOrdinal: - in_ := &baseNetworkSocketWithCtxSetBroadcastRequest{} + in_ := &BaseSocketSetBroadcastRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20080,15 +14294,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetBroadcastOrdinal: - result, err_ := s_.Impl.GetBroadcast(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.GetBroadcast(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetSendBufferOrdinal: - in_ := &baseNetworkSocketWithCtxSetSendBufferRequest{} + in_ := &BaseSocketSetSendBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20096,15 +14310,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &baseNetworkSocketWithCtxSetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetSendBufferOrdinal: - result, err_ := s_.Impl.GetSendBuffer(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.GetSendBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetReceiveBufferOrdinal: - in_ := &baseNetworkSocketWithCtxSetReceiveBufferRequest{} + in_ := &BaseSocketSetReceiveBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20112,15 +14326,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &baseNetworkSocketWithCtxSetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetReceiveBufferOrdinal: - result, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetKeepAliveOrdinal: - in_ := &baseNetworkSocketWithCtxSetKeepAliveRequest{} + in_ := &BaseSocketSetKeepAliveRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20128,15 +14342,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetKeepAliveOrdinal: - result, err_ := s_.Impl.GetKeepAlive(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.GetKeepAlive(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetOutOfBandInlineOrdinal: - in_ := &baseNetworkSocketWithCtxSetOutOfBandInlineRequest{} + in_ := &BaseSocketSetOutOfBandInlineRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20144,15 +14358,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetOutOfBandInlineOrdinal: - result, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetNoCheckOrdinal: - in_ := &baseNetworkSocketWithCtxSetNoCheckRequest{} + in_ := &BaseSocketSetNoCheckRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20160,15 +14374,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetNoCheckOrdinal: - result, err_ := s_.Impl.GetNoCheck(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.GetNoCheck(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetLingerOrdinal: - in_ := &baseNetworkSocketWithCtxSetLingerRequest{} + in_ := &BaseSocketSetLingerRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20176,15 +14390,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) - out_ := &baseNetworkSocketWithCtxSetLingerResponse{Result: result} + payload, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetLingerOrdinal: - result, err_ := s_.Impl.GetLinger(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetLingerResponse{Result: result} + payload, err_ := s_.Impl.GetLinger(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetReusePortOrdinal: - in_ := &baseNetworkSocketWithCtxSetReusePortRequest{} + in_ := &BaseSocketSetReusePortRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20192,19 +14406,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetReusePortResponse{Result: result} + payload, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetReusePortOrdinal: - result, err_ := s_.Impl.GetReusePort(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetReusePortResponse{Result: result} + payload, err_ := s_.Impl.GetReusePort(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetAcceptConnOrdinal: - result, err_ := s_.Impl.GetAcceptConn(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetAcceptConnResponse{Result: result} + payload, err_ := s_.Impl.GetAcceptConn(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetBindToDeviceOrdinal: - in_ := &baseNetworkSocketWithCtxSetBindToDeviceRequest{} + in_ := &BaseSocketSetBindToDeviceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20212,15 +14426,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetBindToDeviceOrdinal: - result, err_ := s_.Impl.GetBindToDevice(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.GetBindToDevice(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetTimestampOrdinal: - in_ := &baseNetworkSocketWithCtxSetTimestampRequest{} + in_ := &BaseSocketSetTimestampRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20228,15 +14442,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetTimestampResponse{Result: result} + payload, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetTimestampOrdinal: - result, err_ := s_.Impl.GetTimestamp(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetTimestampResponse{Result: result} + payload, err_ := s_.Impl.GetTimestamp(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketBindOrdinal: - in_ := &baseNetworkSocketWithCtxBindRequest{} + in_ := &BaseNetworkSocketBindRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20244,11 +14458,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Bind(args_.Ctx, (*in_).Addr) - out_ := &baseNetworkSocketWithCtxBindResponse{Result: result} + payload, err_ := s_.Impl.Bind(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ case BaseNetworkSocketConnectOrdinal: - in_ := &baseNetworkSocketWithCtxConnectRequest{} + in_ := &BaseNetworkSocketConnectRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20256,23 +14470,23 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Connect(args_.Ctx, (*in_).Addr) - out_ := &baseNetworkSocketWithCtxConnectResponse{Result: result} + payload, err_ := s_.Impl.Connect(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ case BaseNetworkSocketDisconnectOrdinal: - result, err_ := s_.Impl.Disconnect(args_.Ctx) - out_ := &baseNetworkSocketWithCtxDisconnectResponse{Result: result} + payload, err_ := s_.Impl.Disconnect(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetSockNameOrdinal: - result, err_ := s_.Impl.GetSockName(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetSockNameResponse{Result: result} + payload, err_ := s_.Impl.GetSockName(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetPeerNameOrdinal: - result, err_ := s_.Impl.GetPeerName(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetPeerNameResponse{Result: result} + payload, err_ := s_.Impl.GetPeerName(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketShutdownOrdinal: - in_ := &baseNetworkSocketWithCtxShutdownRequest{} + in_ := &BaseNetworkSocketShutdownRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20280,11 +14494,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Shutdown(args_.Ctx, (*in_).Mode) - out_ := &baseNetworkSocketWithCtxShutdownResponse{Result: result} + payload, err_ := s_.Impl.Shutdown(args_.Ctx, (*in_).Mode) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpTypeOfServiceOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpTypeOfServiceRequest{} + in_ := &BaseNetworkSocketSetIpTypeOfServiceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20292,15 +14506,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpTypeOfService(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.SetIpTypeOfService(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpTypeOfServiceOrdinal: - result, err_ := s_.Impl.GetIpTypeOfService(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.GetIpTypeOfService(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpTtlOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpTtlRequest{} + in_ := &BaseNetworkSocketSetIpTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20308,15 +14522,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpTtl(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpTtlOrdinal: - result, err_ := s_.Impl.GetIpTtl(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpPacketInfoOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpPacketInfoRequest{} + in_ := &BaseNetworkSocketSetIpPacketInfoRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20324,15 +14538,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpPacketInfo(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpPacketInfoResponse{Result: result} + payload, err_ := s_.Impl.SetIpPacketInfo(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpPacketInfoOrdinal: - result, err_ := s_.Impl.GetIpPacketInfo(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpPacketInfoResponse{Result: result} + payload, err_ := s_.Impl.GetIpPacketInfo(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpReceiveTypeOfServiceOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpReceiveTypeOfServiceRequest{} + in_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20340,15 +14554,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpReceiveTypeOfService(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpReceiveTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.SetIpReceiveTypeOfService(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpReceiveTypeOfServiceOrdinal: - result, err_ := s_.Impl.GetIpReceiveTypeOfService(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpReceiveTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.GetIpReceiveTypeOfService(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpReceiveTtlOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpReceiveTtlRequest{} + in_ := &BaseNetworkSocketSetIpReceiveTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20356,15 +14570,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpReceiveTtl(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpReceiveTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpReceiveTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpReceiveTtlOrdinal: - result, err_ := s_.Impl.GetIpReceiveTtl(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpReceiveTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpReceiveTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpMulticastInterfaceOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpMulticastInterfaceRequest{} + in_ := &BaseNetworkSocketSetIpMulticastInterfaceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20372,15 +14586,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastInterface(args_.Ctx, (*in_).Iface, (*in_).Address) - out_ := &baseNetworkSocketWithCtxSetIpMulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastInterface(args_.Ctx, (*in_).Iface, (*in_).Address) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpMulticastInterfaceOrdinal: - result, err_ := s_.Impl.GetIpMulticastInterface(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpMulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastInterface(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpMulticastTtlOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpMulticastTtlRequest{} + in_ := &BaseNetworkSocketSetIpMulticastTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20388,15 +14602,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastTtl(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpMulticastTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpMulticastTtlOrdinal: - result, err_ := s_.Impl.GetIpMulticastTtl(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpMulticastTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpMulticastLoopbackOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpMulticastLoopbackRequest{} + in_ := &BaseNetworkSocketSetIpMulticastLoopbackRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20404,15 +14618,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastLoopback(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpMulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastLoopback(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpMulticastLoopbackOrdinal: - result, err_ := s_.Impl.GetIpMulticastLoopback(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpMulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastLoopback(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketAddIpMembershipOrdinal: - in_ := &baseNetworkSocketWithCtxAddIpMembershipRequest{} + in_ := &BaseNetworkSocketAddIpMembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20420,11 +14634,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AddIpMembership(args_.Ctx, (*in_).Membership) - out_ := &baseNetworkSocketWithCtxAddIpMembershipResponse{Result: result} + payload, err_ := s_.Impl.AddIpMembership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case BaseNetworkSocketDropIpMembershipOrdinal: - in_ := &baseNetworkSocketWithCtxDropIpMembershipRequest{} + in_ := &BaseNetworkSocketDropIpMembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20432,11 +14646,43 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DropIpMembership(args_.Ctx, (*in_).Membership) - out_ := &baseNetworkSocketWithCtxDropIpMembershipResponse{Result: result} + payload, err_ := s_.Impl.DropIpMembership(args_.Ctx, (*in_).Membership) + out_ := &payload + return out_, true, err_ + case BaseNetworkSocketSetIpTransparentOrdinal: + in_ := &BaseNetworkSocketSetIpTransparentRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetIpTransparent(args_.Ctx, (*in_).Value) + out_ := &payload + return out_, true, err_ + case BaseNetworkSocketGetIpTransparentOrdinal: + payload, err_ := s_.Impl.GetIpTransparent(args_.Ctx) + out_ := &payload + return out_, true, err_ + case BaseNetworkSocketSetIpReceiveOriginalDestinationAddressOrdinal: + in_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetIpReceiveOriginalDestinationAddress(args_.Ctx, (*in_).Value) + out_ := &payload + return out_, true, err_ + case BaseNetworkSocketGetIpReceiveOriginalDestinationAddressOrdinal: + payload, err_ := s_.Impl.GetIpReceiveOriginalDestinationAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketAddIpv6MembershipOrdinal: - in_ := &baseNetworkSocketWithCtxAddIpv6MembershipRequest{} + in_ := &BaseNetworkSocketAddIpv6MembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20444,11 +14690,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AddIpv6Membership(args_.Ctx, (*in_).Membership) - out_ := &baseNetworkSocketWithCtxAddIpv6MembershipResponse{Result: result} + payload, err_ := s_.Impl.AddIpv6Membership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case BaseNetworkSocketDropIpv6MembershipOrdinal: - in_ := &baseNetworkSocketWithCtxDropIpv6MembershipRequest{} + in_ := &BaseNetworkSocketDropIpv6MembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20456,11 +14702,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DropIpv6Membership(args_.Ctx, (*in_).Membership) - out_ := &baseNetworkSocketWithCtxDropIpv6MembershipResponse{Result: result} + payload, err_ := s_.Impl.DropIpv6Membership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpv6MulticastInterfaceOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpv6MulticastInterfaceRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastInterfaceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20468,15 +14714,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastInterface(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpv6MulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastInterface(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpv6MulticastInterfaceOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastInterface(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpv6MulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastInterface(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpv6UnicastHopsOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpv6UnicastHopsRequest{} + in_ := &BaseNetworkSocketSetIpv6UnicastHopsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20484,15 +14730,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6UnicastHops(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpv6UnicastHopsResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6UnicastHops(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpv6UnicastHopsOrdinal: - result, err_ := s_.Impl.GetIpv6UnicastHops(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpv6UnicastHopsResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6UnicastHops(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpv6ReceiveHopLimitOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpv6ReceiveHopLimitRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20500,15 +14746,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceiveHopLimit(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpv6ReceiveHopLimitResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceiveHopLimit(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpv6ReceiveHopLimitOrdinal: - result, err_ := s_.Impl.GetIpv6ReceiveHopLimit(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpv6ReceiveHopLimitResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceiveHopLimit(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpv6MulticastHopsOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpv6MulticastHopsRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastHopsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20516,15 +14762,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastHops(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpv6MulticastHopsResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastHops(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpv6MulticastHopsOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastHops(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpv6MulticastHopsResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastHops(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpv6MulticastLoopbackOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpv6MulticastLoopbackRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastLoopbackRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20532,15 +14778,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastLoopback(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpv6MulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastLoopback(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpv6MulticastLoopbackOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastLoopback(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpv6MulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastLoopback(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpv6OnlyOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpv6OnlyRequest{} + in_ := &BaseNetworkSocketSetIpv6OnlyRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20548,15 +14794,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6Only(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpv6OnlyResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6Only(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpv6OnlyOrdinal: - result, err_ := s_.Impl.GetIpv6Only(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpv6OnlyResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6Only(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpv6ReceiveTrafficClassOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20564,15 +14810,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceiveTrafficClass(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpv6ReceiveTrafficClassResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceiveTrafficClass(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpv6ReceiveTrafficClassOrdinal: - result, err_ := s_.Impl.GetIpv6ReceiveTrafficClass(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpv6ReceiveTrafficClassResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceiveTrafficClass(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpv6TrafficClassOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpv6TrafficClassRequest{} + in_ := &BaseNetworkSocketSetIpv6TrafficClassRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20580,15 +14826,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6TrafficClass(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpv6TrafficClassResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6TrafficClass(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpv6TrafficClassOrdinal: - result, err_ := s_.Impl.GetIpv6TrafficClass(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpv6TrafficClassResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6TrafficClass(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseNetworkSocketSetIpv6ReceivePacketInfoOrdinal: - in_ := &baseNetworkSocketWithCtxSetIpv6ReceivePacketInfoRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20596,12 +14842,16 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceivePacketInfo(args_.Ctx, (*in_).Value) - out_ := &baseNetworkSocketWithCtxSetIpv6ReceivePacketInfoResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceivePacketInfo(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseNetworkSocketGetIpv6ReceivePacketInfoOrdinal: - result, err_ := s_.Impl.GetIpv6ReceivePacketInfo(args_.Ctx) - out_ := &baseNetworkSocketWithCtxGetIpv6ReceivePacketInfoResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceivePacketInfo(args_.Ctx) + out_ := &payload + return out_, true, err_ + case BaseNetworkSocketGetOriginalDestinationOrdinal: + payload, err_ := s_.Impl.GetOriginalDestination(args_.Ctx) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -20642,7 +14892,7 @@ type BaseSocketWithCtxInterface _bindings.ChannelProxy func (p *BaseSocketWithCtxInterface) Clone2(ctx_ _bindings.Context, request fuchsiaunknown.CloneableWithCtxInterfaceRequest) error { - req_ := &baseSocketWithCtxClone2Request{Request: request} + req_ := &fuchsiaunknown.CloneableClone2Request{Request: request} err_ := ((*_bindings.ChannelProxy)(p)).Send(BaseSocketClone2Ordinal, req_) return err_ } @@ -20659,209 +14909,209 @@ // status. func (p *BaseSocketWithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketCloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *BaseSocketWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketQueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Set `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *BaseSocketWithCtxInterface) SetReuseAddress(ctx_ _bindings.Context, value bool) (BaseSocketSetReuseAddressResult, error) { - req_ := &baseSocketWithCtxSetReuseAddressRequest{Value: value} - resp_ := &baseSocketWithCtxSetReuseAddressResponse{} + req_ := &BaseSocketSetReuseAddressRequest{Value: value} + resp_ := &BaseSocketSetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *BaseSocketWithCtxInterface) GetReuseAddress(ctx_ _bindings.Context) (BaseSocketGetReuseAddressResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetReuseAddressResponse{} + resp_ := &BaseSocketGetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ERROR`. // Returns the last error if there is an error set on the socket. func (p *BaseSocketWithCtxInterface) GetError(ctx_ _bindings.Context) (BaseSocketGetErrorResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetErrorResponse{} + resp_ := &BaseSocketGetErrorResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetErrorOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BROADCAST`. func (p *BaseSocketWithCtxInterface) SetBroadcast(ctx_ _bindings.Context, value bool) (BaseSocketSetBroadcastResult, error) { - req_ := &baseSocketWithCtxSetBroadcastRequest{Value: value} - resp_ := &baseSocketWithCtxSetBroadcastResponse{} + req_ := &BaseSocketSetBroadcastRequest{Value: value} + resp_ := &BaseSocketSetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BROADCAST`. func (p *BaseSocketWithCtxInterface) GetBroadcast(ctx_ _bindings.Context) (BaseSocketGetBroadcastResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetBroadcastResponse{} + resp_ := &BaseSocketGetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_SNDBUF`. func (p *BaseSocketWithCtxInterface) SetSendBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetSendBufferResult, error) { - req_ := &baseSocketWithCtxSetSendBufferRequest{ValueBytes: valueBytes} - resp_ := &baseSocketWithCtxSetSendBufferResponse{} + req_ := &BaseSocketSetSendBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_SNDBUF`. func (p *BaseSocketWithCtxInterface) GetSendBuffer(ctx_ _bindings.Context) (BaseSocketGetSendBufferResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetSendBufferResponse{} + resp_ := &BaseSocketGetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_RCVBUF`. func (p *BaseSocketWithCtxInterface) SetReceiveBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetReceiveBufferResult, error) { - req_ := &baseSocketWithCtxSetReceiveBufferRequest{ValueBytes: valueBytes} - resp_ := &baseSocketWithCtxSetReceiveBufferResponse{} + req_ := &BaseSocketSetReceiveBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_RCVBUF`. func (p *BaseSocketWithCtxInterface) GetReceiveBuffer(ctx_ _bindings.Context) (BaseSocketGetReceiveBufferResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetReceiveBufferResponse{} + resp_ := &BaseSocketGetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *BaseSocketWithCtxInterface) SetKeepAlive(ctx_ _bindings.Context, value bool) (BaseSocketSetKeepAliveResult, error) { - req_ := &baseSocketWithCtxSetKeepAliveRequest{Value: value} - resp_ := &baseSocketWithCtxSetKeepAliveResponse{} + req_ := &BaseSocketSetKeepAliveRequest{Value: value} + resp_ := &BaseSocketSetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *BaseSocketWithCtxInterface) GetKeepAlive(ctx_ _bindings.Context) (BaseSocketGetKeepAliveResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetKeepAliveResponse{} + resp_ := &BaseSocketGetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *BaseSocketWithCtxInterface) SetOutOfBandInline(ctx_ _bindings.Context, value bool) (BaseSocketSetOutOfBandInlineResult, error) { - req_ := &baseSocketWithCtxSetOutOfBandInlineRequest{Value: value} - resp_ := &baseSocketWithCtxSetOutOfBandInlineResponse{} + req_ := &BaseSocketSetOutOfBandInlineRequest{Value: value} + resp_ := &BaseSocketSetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *BaseSocketWithCtxInterface) GetOutOfBandInline(ctx_ _bindings.Context) (BaseSocketGetOutOfBandInlineResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetOutOfBandInlineResponse{} + resp_ := &BaseSocketGetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *BaseSocketWithCtxInterface) SetNoCheck(ctx_ _bindings.Context, value bool) (BaseSocketSetNoCheckResult, error) { - req_ := &baseSocketWithCtxSetNoCheckRequest{Value: value} - resp_ := &baseSocketWithCtxSetNoCheckResponse{} + req_ := &BaseSocketSetNoCheckRequest{Value: value} + resp_ := &BaseSocketSetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *BaseSocketWithCtxInterface) GetNoCheck(ctx_ _bindings.Context) (BaseSocketGetNoCheckResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetNoCheckResponse{} + resp_ := &BaseSocketGetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_LINGER`. func (p *BaseSocketWithCtxInterface) SetLinger(ctx_ _bindings.Context, linger bool, lengthSecs uint32) (BaseSocketSetLingerResult, error) { - req_ := &baseSocketWithCtxSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} - resp_ := &baseSocketWithCtxSetLingerResponse{} + req_ := &BaseSocketSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} + resp_ := &BaseSocketSetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_LINGER`. func (p *BaseSocketWithCtxInterface) GetLinger(ctx_ _bindings.Context) (BaseSocketGetLingerResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetLingerResponse{} + resp_ := &BaseSocketGetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *BaseSocketWithCtxInterface) SetReusePort(ctx_ _bindings.Context, value bool) (BaseSocketSetReusePortResult, error) { - req_ := &baseSocketWithCtxSetReusePortRequest{Value: value} - resp_ := &baseSocketWithCtxSetReusePortResponse{} + req_ := &BaseSocketSetReusePortRequest{Value: value} + resp_ := &BaseSocketSetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *BaseSocketWithCtxInterface) GetReusePort(ctx_ _bindings.Context) (BaseSocketGetReusePortResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetReusePortResponse{} + resp_ := &BaseSocketGetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ACCEPTCONN`. func (p *BaseSocketWithCtxInterface) GetAcceptConn(ctx_ _bindings.Context) (BaseSocketGetAcceptConnResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetAcceptConnResponse{} + resp_ := &BaseSocketGetAcceptConnResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetAcceptConnOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *BaseSocketWithCtxInterface) SetBindToDevice(ctx_ _bindings.Context, value string) (BaseSocketSetBindToDeviceResult, error) { - req_ := &baseSocketWithCtxSetBindToDeviceRequest{Value: value} - resp_ := &baseSocketWithCtxSetBindToDeviceResponse{} + req_ := &BaseSocketSetBindToDeviceRequest{Value: value} + resp_ := &BaseSocketSetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *BaseSocketWithCtxInterface) GetBindToDevice(ctx_ _bindings.Context) (BaseSocketGetBindToDeviceResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetBindToDeviceResponse{} + resp_ := &BaseSocketGetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *BaseSocketWithCtxInterface) SetTimestamp(ctx_ _bindings.Context, value TimestampOption) (BaseSocketSetTimestampResult, error) { - req_ := &baseSocketWithCtxSetTimestampRequest{Value: value} - resp_ := &baseSocketWithCtxSetTimestampResponse{} + req_ := &BaseSocketSetTimestampRequest{Value: value} + resp_ := &BaseSocketSetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketSetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *BaseSocketWithCtxInterface) GetTimestamp(ctx_ _bindings.Context) (BaseSocketGetTimestampResult, error) { var req_ _bindings.Message - resp_ := &baseSocketWithCtxGetTimestampResponse{} + resp_ := &BaseSocketGetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(BaseSocketGetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // A socket. @@ -20946,7 +15196,7 @@ func (s_ *BaseSocketWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case BaseSocketClone2Ordinal: - in_ := &baseSocketWithCtxClone2Request{} + in_ := &fuchsiaunknown.CloneableClone2Request{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20957,15 +15207,15 @@ err_ := s_.Impl.Clone2(args_.Ctx, (*in_).Request) return nil, false, err_ case BaseSocketCloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &baseSocketWithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketQueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &baseSocketWithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case BaseSocketSetReuseAddressOrdinal: - in_ := &baseSocketWithCtxSetReuseAddressRequest{} + in_ := &BaseSocketSetReuseAddressRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20973,19 +15223,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) - out_ := &baseSocketWithCtxSetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseSocketGetReuseAddressOrdinal: - result, err_ := s_.Impl.GetReuseAddress(args_.Ctx) - out_ := &baseSocketWithCtxGetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.GetReuseAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketGetErrorOrdinal: - result, err_ := s_.Impl.GetError(args_.Ctx) - out_ := &baseSocketWithCtxGetErrorResponse{Result: result} + payload, err_ := s_.Impl.GetError(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketSetBroadcastOrdinal: - in_ := &baseSocketWithCtxSetBroadcastRequest{} + in_ := &BaseSocketSetBroadcastRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -20993,15 +15243,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) - out_ := &baseSocketWithCtxSetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseSocketGetBroadcastOrdinal: - result, err_ := s_.Impl.GetBroadcast(args_.Ctx) - out_ := &baseSocketWithCtxGetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.GetBroadcast(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketSetSendBufferOrdinal: - in_ := &baseSocketWithCtxSetSendBufferRequest{} + in_ := &BaseSocketSetSendBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -21009,15 +15259,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &baseSocketWithCtxSetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case BaseSocketGetSendBufferOrdinal: - result, err_ := s_.Impl.GetSendBuffer(args_.Ctx) - out_ := &baseSocketWithCtxGetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.GetSendBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketSetReceiveBufferOrdinal: - in_ := &baseSocketWithCtxSetReceiveBufferRequest{} + in_ := &BaseSocketSetReceiveBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -21025,15 +15275,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &baseSocketWithCtxSetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case BaseSocketGetReceiveBufferOrdinal: - result, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) - out_ := &baseSocketWithCtxGetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketSetKeepAliveOrdinal: - in_ := &baseSocketWithCtxSetKeepAliveRequest{} + in_ := &BaseSocketSetKeepAliveRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -21041,15 +15291,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) - out_ := &baseSocketWithCtxSetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseSocketGetKeepAliveOrdinal: - result, err_ := s_.Impl.GetKeepAlive(args_.Ctx) - out_ := &baseSocketWithCtxGetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.GetKeepAlive(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketSetOutOfBandInlineOrdinal: - in_ := &baseSocketWithCtxSetOutOfBandInlineRequest{} + in_ := &BaseSocketSetOutOfBandInlineRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -21057,15 +15307,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) - out_ := &baseSocketWithCtxSetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseSocketGetOutOfBandInlineOrdinal: - result, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) - out_ := &baseSocketWithCtxGetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketSetNoCheckOrdinal: - in_ := &baseSocketWithCtxSetNoCheckRequest{} + in_ := &BaseSocketSetNoCheckRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -21073,15 +15323,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) - out_ := &baseSocketWithCtxSetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseSocketGetNoCheckOrdinal: - result, err_ := s_.Impl.GetNoCheck(args_.Ctx) - out_ := &baseSocketWithCtxGetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.GetNoCheck(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketSetLingerOrdinal: - in_ := &baseSocketWithCtxSetLingerRequest{} + in_ := &BaseSocketSetLingerRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -21089,15 +15339,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) - out_ := &baseSocketWithCtxSetLingerResponse{Result: result} + payload, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) + out_ := &payload return out_, true, err_ case BaseSocketGetLingerOrdinal: - result, err_ := s_.Impl.GetLinger(args_.Ctx) - out_ := &baseSocketWithCtxGetLingerResponse{Result: result} + payload, err_ := s_.Impl.GetLinger(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketSetReusePortOrdinal: - in_ := &baseSocketWithCtxSetReusePortRequest{} + in_ := &BaseSocketSetReusePortRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -21105,19 +15355,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) - out_ := &baseSocketWithCtxSetReusePortResponse{Result: result} + payload, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseSocketGetReusePortOrdinal: - result, err_ := s_.Impl.GetReusePort(args_.Ctx) - out_ := &baseSocketWithCtxGetReusePortResponse{Result: result} + payload, err_ := s_.Impl.GetReusePort(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketGetAcceptConnOrdinal: - result, err_ := s_.Impl.GetAcceptConn(args_.Ctx) - out_ := &baseSocketWithCtxGetAcceptConnResponse{Result: result} + payload, err_ := s_.Impl.GetAcceptConn(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketSetBindToDeviceOrdinal: - in_ := &baseSocketWithCtxSetBindToDeviceRequest{} + in_ := &BaseSocketSetBindToDeviceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -21125,15 +15375,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) - out_ := &baseSocketWithCtxSetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseSocketGetBindToDeviceOrdinal: - result, err_ := s_.Impl.GetBindToDevice(args_.Ctx) - out_ := &baseSocketWithCtxGetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.GetBindToDevice(args_.Ctx) + out_ := &payload return out_, true, err_ case BaseSocketSetTimestampOrdinal: - in_ := &baseSocketWithCtxSetTimestampRequest{} + in_ := &BaseSocketSetTimestampRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -21141,12 +15391,12 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) - out_ := &baseSocketWithCtxSetTimestampResponse{Result: result} + payload, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case BaseSocketGetTimestampOrdinal: - result, err_ := s_.Impl.GetTimestamp(args_.Ctx) - out_ := &baseSocketWithCtxGetTimestampResponse{Result: result} + payload, err_ := s_.Impl.GetTimestamp(args_.Ctx) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -21155,87 +15405,92 @@ type BaseSocketEventProxy _bindings.ChannelProxy const ( - DatagramSocketClone2Ordinal uint64 = 0x20d8a7aba2168a79 - DatagramSocketCloseOrdinal uint64 = 0x5ac5d459ad7f657e - DatagramSocketQueryOrdinal uint64 = 0x2658edee9decfc06 - DatagramSocketSetReuseAddressOrdinal uint64 = 0x1fd74ee8b9a4a876 - DatagramSocketGetReuseAddressOrdinal uint64 = 0x67b7206b8d1bc0a5 - DatagramSocketGetErrorOrdinal uint64 = 0x5aad39b33e5f6ebb - DatagramSocketSetBroadcastOrdinal uint64 = 0x6023e081ce3cd947 - DatagramSocketGetBroadcastOrdinal uint64 = 0x68796fc556f9780d - DatagramSocketSetSendBufferOrdinal uint64 = 0x756eac32d73a7a70 - DatagramSocketGetSendBufferOrdinal uint64 = 0x78a52fd9c7b2410b - DatagramSocketSetReceiveBufferOrdinal uint64 = 0x6b0cf2f1919c7001 - DatagramSocketGetReceiveBufferOrdinal uint64 = 0x14c1a4b64f709e5c - DatagramSocketSetKeepAliveOrdinal uint64 = 0x572df8f0b920d2c7 - DatagramSocketGetKeepAliveOrdinal uint64 = 0x2dd29d3215f2c9d2 - DatagramSocketSetOutOfBandInlineOrdinal uint64 = 0x3ecb49968bee439 - DatagramSocketGetOutOfBandInlineOrdinal uint64 = 0x348c1ab3aeca1745 - DatagramSocketSetNoCheckOrdinal uint64 = 0x6bbf00c53a4c78c2 - DatagramSocketGetNoCheckOrdinal uint64 = 0x2cd4249286417694 - DatagramSocketSetLingerOrdinal uint64 = 0x45386351246e998e - DatagramSocketGetLingerOrdinal uint64 = 0x48eb20fc5ccb0e45 - DatagramSocketSetReusePortOrdinal uint64 = 0x24dd3e5cb36d9ccb - DatagramSocketGetReusePortOrdinal uint64 = 0x7a112c1ab54ff828 - DatagramSocketGetAcceptConnOrdinal uint64 = 0x67ce6db6c2ec8966 - DatagramSocketSetBindToDeviceOrdinal uint64 = 0x2118b483f28aafc4 - DatagramSocketGetBindToDeviceOrdinal uint64 = 0x1ab1fbf0ef7906c8 - DatagramSocketSetTimestampOrdinal uint64 = 0x285d6516c263d839 - DatagramSocketGetTimestampOrdinal uint64 = 0x49f2fffbbcc2bd27 - DatagramSocketBindOrdinal uint64 = 0x4bc6400ae92125d - DatagramSocketConnectOrdinal uint64 = 0x5f05f19bfdd38871 - DatagramSocketDisconnectOrdinal uint64 = 0x74e63b91f7b29b2 - DatagramSocketGetSockNameOrdinal uint64 = 0x475f23f84a1a4f85 - DatagramSocketGetPeerNameOrdinal uint64 = 0x1ffecf4bd5b6432e - DatagramSocketShutdownOrdinal uint64 = 0x247f38b6db68c336 - DatagramSocketSetIpTypeOfServiceOrdinal uint64 = 0x995c600475b6d46 - DatagramSocketGetIpTypeOfServiceOrdinal uint64 = 0x3814a04259f75fcb - DatagramSocketSetIpTtlOrdinal uint64 = 0x29e2424b433ae1ef - DatagramSocketGetIpTtlOrdinal uint64 = 0x47e47fa1f24da471 - DatagramSocketSetIpPacketInfoOrdinal uint64 = 0x392d16bee20c0e16 - DatagramSocketGetIpPacketInfoOrdinal uint64 = 0x54b505f242280740 - DatagramSocketSetIpReceiveTypeOfServiceOrdinal uint64 = 0x6c4f6714995f84ef - DatagramSocketGetIpReceiveTypeOfServiceOrdinal uint64 = 0x4158ba7dc2795960 - DatagramSocketSetIpReceiveTtlOrdinal uint64 = 0x46f15be0ce0ab82b - DatagramSocketGetIpReceiveTtlOrdinal uint64 = 0x678ddd5a5dfa2eb5 - DatagramSocketSetIpMulticastInterfaceOrdinal uint64 = 0x752fbfa9b12befe - DatagramSocketGetIpMulticastInterfaceOrdinal uint64 = 0x320bd14c4df046c4 - DatagramSocketSetIpMulticastTtlOrdinal uint64 = 0x63134d53772916a1 - DatagramSocketGetIpMulticastTtlOrdinal uint64 = 0x4665cd378f39e1a - DatagramSocketSetIpMulticastLoopbackOrdinal uint64 = 0x20c55c11f00943ea - DatagramSocketGetIpMulticastLoopbackOrdinal uint64 = 0x3b6b26ff558298f2 - DatagramSocketAddIpMembershipOrdinal uint64 = 0x76bc7df115a3b4d0 - DatagramSocketDropIpMembershipOrdinal uint64 = 0x2888f3099188d03 - DatagramSocketAddIpv6MembershipOrdinal uint64 = 0x7c94727acb4ea4b3 - DatagramSocketDropIpv6MembershipOrdinal uint64 = 0x42104c70ccaba304 - DatagramSocketSetIpv6MulticastInterfaceOrdinal uint64 = 0x135f76db3774ab3b - DatagramSocketGetIpv6MulticastInterfaceOrdinal uint64 = 0x1f26fcdd348f1882 - DatagramSocketSetIpv6UnicastHopsOrdinal uint64 = 0x157d51e98f462859 - DatagramSocketGetIpv6UnicastHopsOrdinal uint64 = 0x21f4641cad8bd8d2 - DatagramSocketSetIpv6ReceiveHopLimitOrdinal uint64 = 0x5c24808ed2e84a1e - DatagramSocketGetIpv6ReceiveHopLimitOrdinal uint64 = 0x341e06689885b4c0 - DatagramSocketSetIpv6MulticastHopsOrdinal uint64 = 0x25b9cd4d181f82c1 - DatagramSocketGetIpv6MulticastHopsOrdinal uint64 = 0x52916948a365012a - DatagramSocketSetIpv6MulticastLoopbackOrdinal uint64 = 0x55701c409ff41b40 - DatagramSocketGetIpv6MulticastLoopbackOrdinal uint64 = 0x4415b701fde319c3 - DatagramSocketSetIpv6OnlyOrdinal uint64 = 0x4873f1364758cbba - DatagramSocketGetIpv6OnlyOrdinal uint64 = 0x4aa3340a1a26b89c - DatagramSocketSetIpv6ReceiveTrafficClassOrdinal uint64 = 0x58f07c8788d099a0 - DatagramSocketGetIpv6ReceiveTrafficClassOrdinal uint64 = 0x2e334df1da553ffa - DatagramSocketSetIpv6TrafficClassOrdinal uint64 = 0x6af077800c5a0b4f - DatagramSocketGetIpv6TrafficClassOrdinal uint64 = 0x6baf6eed8fc2f04 - DatagramSocketSetIpv6ReceivePacketInfoOrdinal uint64 = 0x19259775b1a92768 - DatagramSocketGetIpv6ReceivePacketInfoOrdinal uint64 = 0x7acd4a2775baec75 - DatagramSocketGetInfoOrdinal uint64 = 0x48aa0a1f6a32d2ed - DatagramSocketDescribeOrdinal uint64 = 0xbf1e2f0a86601f3 - DatagramSocketSendMsgPreflightOrdinal uint64 = 0x5362e668e777248a - DatagramSocketRecvMsgPostflightOrdinal uint64 = 0x1a7cdeca5f3eb8e2 + DatagramSocketClone2Ordinal uint64 = 0x20d8a7aba2168a79 + DatagramSocketCloseOrdinal uint64 = 0x5ac5d459ad7f657e + DatagramSocketQueryOrdinal uint64 = 0x2658edee9decfc06 + DatagramSocketSetReuseAddressOrdinal uint64 = 0x1fd74ee8b9a4a876 + DatagramSocketGetReuseAddressOrdinal uint64 = 0x67b7206b8d1bc0a5 + DatagramSocketGetErrorOrdinal uint64 = 0x5aad39b33e5f6ebb + DatagramSocketSetBroadcastOrdinal uint64 = 0x6023e081ce3cd947 + DatagramSocketGetBroadcastOrdinal uint64 = 0x68796fc556f9780d + DatagramSocketSetSendBufferOrdinal uint64 = 0x756eac32d73a7a70 + DatagramSocketGetSendBufferOrdinal uint64 = 0x78a52fd9c7b2410b + DatagramSocketSetReceiveBufferOrdinal uint64 = 0x6b0cf2f1919c7001 + DatagramSocketGetReceiveBufferOrdinal uint64 = 0x14c1a4b64f709e5c + DatagramSocketSetKeepAliveOrdinal uint64 = 0x572df8f0b920d2c7 + DatagramSocketGetKeepAliveOrdinal uint64 = 0x2dd29d3215f2c9d2 + DatagramSocketSetOutOfBandInlineOrdinal uint64 = 0x3ecb49968bee439 + DatagramSocketGetOutOfBandInlineOrdinal uint64 = 0x348c1ab3aeca1745 + DatagramSocketSetNoCheckOrdinal uint64 = 0x6bbf00c53a4c78c2 + DatagramSocketGetNoCheckOrdinal uint64 = 0x2cd4249286417694 + DatagramSocketSetLingerOrdinal uint64 = 0x45386351246e998e + DatagramSocketGetLingerOrdinal uint64 = 0x48eb20fc5ccb0e45 + DatagramSocketSetReusePortOrdinal uint64 = 0x24dd3e5cb36d9ccb + DatagramSocketGetReusePortOrdinal uint64 = 0x7a112c1ab54ff828 + DatagramSocketGetAcceptConnOrdinal uint64 = 0x67ce6db6c2ec8966 + DatagramSocketSetBindToDeviceOrdinal uint64 = 0x2118b483f28aafc4 + DatagramSocketGetBindToDeviceOrdinal uint64 = 0x1ab1fbf0ef7906c8 + DatagramSocketSetTimestampOrdinal uint64 = 0x285d6516c263d839 + DatagramSocketGetTimestampOrdinal uint64 = 0x49f2fffbbcc2bd27 + DatagramSocketBindOrdinal uint64 = 0x4bc6400ae92125d + DatagramSocketConnectOrdinal uint64 = 0x5f05f19bfdd38871 + DatagramSocketDisconnectOrdinal uint64 = 0x74e63b91f7b29b2 + DatagramSocketGetSockNameOrdinal uint64 = 0x475f23f84a1a4f85 + DatagramSocketGetPeerNameOrdinal uint64 = 0x1ffecf4bd5b6432e + DatagramSocketShutdownOrdinal uint64 = 0x247f38b6db68c336 + DatagramSocketSetIpTypeOfServiceOrdinal uint64 = 0x995c600475b6d46 + DatagramSocketGetIpTypeOfServiceOrdinal uint64 = 0x3814a04259f75fcb + DatagramSocketSetIpTtlOrdinal uint64 = 0x29e2424b433ae1ef + DatagramSocketGetIpTtlOrdinal uint64 = 0x47e47fa1f24da471 + DatagramSocketSetIpPacketInfoOrdinal uint64 = 0x392d16bee20c0e16 + DatagramSocketGetIpPacketInfoOrdinal uint64 = 0x54b505f242280740 + DatagramSocketSetIpReceiveTypeOfServiceOrdinal uint64 = 0x6c4f6714995f84ef + DatagramSocketGetIpReceiveTypeOfServiceOrdinal uint64 = 0x4158ba7dc2795960 + DatagramSocketSetIpReceiveTtlOrdinal uint64 = 0x46f15be0ce0ab82b + DatagramSocketGetIpReceiveTtlOrdinal uint64 = 0x678ddd5a5dfa2eb5 + DatagramSocketSetIpMulticastInterfaceOrdinal uint64 = 0x752fbfa9b12befe + DatagramSocketGetIpMulticastInterfaceOrdinal uint64 = 0x320bd14c4df046c4 + DatagramSocketSetIpMulticastTtlOrdinal uint64 = 0x63134d53772916a1 + DatagramSocketGetIpMulticastTtlOrdinal uint64 = 0x4665cd378f39e1a + DatagramSocketSetIpMulticastLoopbackOrdinal uint64 = 0x20c55c11f00943ea + DatagramSocketGetIpMulticastLoopbackOrdinal uint64 = 0x3b6b26ff558298f2 + DatagramSocketAddIpMembershipOrdinal uint64 = 0x76bc7df115a3b4d0 + DatagramSocketDropIpMembershipOrdinal uint64 = 0x2888f3099188d03 + DatagramSocketSetIpTransparentOrdinal uint64 = 0x1ae532b0c066e3a0 + DatagramSocketGetIpTransparentOrdinal uint64 = 0x51d43695962ebfb5 + DatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal uint64 = 0x4722b4ce52f7840 + DatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal uint64 = 0x2a0e7dc5d6bfdfe9 + DatagramSocketAddIpv6MembershipOrdinal uint64 = 0x7c94727acb4ea4b3 + DatagramSocketDropIpv6MembershipOrdinal uint64 = 0x42104c70ccaba304 + DatagramSocketSetIpv6MulticastInterfaceOrdinal uint64 = 0x135f76db3774ab3b + DatagramSocketGetIpv6MulticastInterfaceOrdinal uint64 = 0x1f26fcdd348f1882 + DatagramSocketSetIpv6UnicastHopsOrdinal uint64 = 0x157d51e98f462859 + DatagramSocketGetIpv6UnicastHopsOrdinal uint64 = 0x21f4641cad8bd8d2 + DatagramSocketSetIpv6ReceiveHopLimitOrdinal uint64 = 0x5c24808ed2e84a1e + DatagramSocketGetIpv6ReceiveHopLimitOrdinal uint64 = 0x341e06689885b4c0 + DatagramSocketSetIpv6MulticastHopsOrdinal uint64 = 0x25b9cd4d181f82c1 + DatagramSocketGetIpv6MulticastHopsOrdinal uint64 = 0x52916948a365012a + DatagramSocketSetIpv6MulticastLoopbackOrdinal uint64 = 0x55701c409ff41b40 + DatagramSocketGetIpv6MulticastLoopbackOrdinal uint64 = 0x4415b701fde319c3 + DatagramSocketSetIpv6OnlyOrdinal uint64 = 0x4873f1364758cbba + DatagramSocketGetIpv6OnlyOrdinal uint64 = 0x4aa3340a1a26b89c + DatagramSocketSetIpv6ReceiveTrafficClassOrdinal uint64 = 0x58f07c8788d099a0 + DatagramSocketGetIpv6ReceiveTrafficClassOrdinal uint64 = 0x2e334df1da553ffa + DatagramSocketSetIpv6TrafficClassOrdinal uint64 = 0x6af077800c5a0b4f + DatagramSocketGetIpv6TrafficClassOrdinal uint64 = 0x6baf6eed8fc2f04 + DatagramSocketSetIpv6ReceivePacketInfoOrdinal uint64 = 0x19259775b1a92768 + DatagramSocketGetIpv6ReceivePacketInfoOrdinal uint64 = 0x7acd4a2775baec75 + DatagramSocketGetOriginalDestinationOrdinal uint64 = 0x38bf28f0dafdbac0 + DatagramSocketGetInfoOrdinal uint64 = 0x48aa0a1f6a32d2ed + DatagramSocketDescribeOrdinal uint64 = 0xbf1e2f0a86601f3 + DatagramSocketSendMsgPreflightOrdinal uint64 = 0x5362e668e777248a + DatagramSocketRecvMsgPostflightOrdinal uint64 = 0x1a7cdeca5f3eb8e2 ) type DatagramSocketWithCtxInterface _bindings.ChannelProxy func (p *DatagramSocketWithCtxInterface) Clone2(ctx_ _bindings.Context, request fuchsiaunknown.CloneableWithCtxInterfaceRequest) error { - req_ := &datagramSocketWithCtxClone2Request{Request: request} + req_ := &fuchsiaunknown.CloneableClone2Request{Request: request} err_ := ((*_bindings.ChannelProxy)(p)).Send(DatagramSocketClone2Ordinal, req_) return err_ } @@ -21252,561 +15507,601 @@ // status. func (p *DatagramSocketWithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketCloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *DatagramSocketWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketQueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Set `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *DatagramSocketWithCtxInterface) SetReuseAddress(ctx_ _bindings.Context, value bool) (BaseSocketSetReuseAddressResult, error) { - req_ := &datagramSocketWithCtxSetReuseAddressRequest{Value: value} - resp_ := &datagramSocketWithCtxSetReuseAddressResponse{} + req_ := &BaseSocketSetReuseAddressRequest{Value: value} + resp_ := &BaseSocketSetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *DatagramSocketWithCtxInterface) GetReuseAddress(ctx_ _bindings.Context) (BaseSocketGetReuseAddressResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetReuseAddressResponse{} + resp_ := &BaseSocketGetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ERROR`. // Returns the last error if there is an error set on the socket. func (p *DatagramSocketWithCtxInterface) GetError(ctx_ _bindings.Context) (BaseSocketGetErrorResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetErrorResponse{} + resp_ := &BaseSocketGetErrorResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetErrorOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BROADCAST`. func (p *DatagramSocketWithCtxInterface) SetBroadcast(ctx_ _bindings.Context, value bool) (BaseSocketSetBroadcastResult, error) { - req_ := &datagramSocketWithCtxSetBroadcastRequest{Value: value} - resp_ := &datagramSocketWithCtxSetBroadcastResponse{} + req_ := &BaseSocketSetBroadcastRequest{Value: value} + resp_ := &BaseSocketSetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BROADCAST`. func (p *DatagramSocketWithCtxInterface) GetBroadcast(ctx_ _bindings.Context) (BaseSocketGetBroadcastResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetBroadcastResponse{} + resp_ := &BaseSocketGetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_SNDBUF`. func (p *DatagramSocketWithCtxInterface) SetSendBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetSendBufferResult, error) { - req_ := &datagramSocketWithCtxSetSendBufferRequest{ValueBytes: valueBytes} - resp_ := &datagramSocketWithCtxSetSendBufferResponse{} + req_ := &BaseSocketSetSendBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_SNDBUF`. func (p *DatagramSocketWithCtxInterface) GetSendBuffer(ctx_ _bindings.Context) (BaseSocketGetSendBufferResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetSendBufferResponse{} + resp_ := &BaseSocketGetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_RCVBUF`. func (p *DatagramSocketWithCtxInterface) SetReceiveBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetReceiveBufferResult, error) { - req_ := &datagramSocketWithCtxSetReceiveBufferRequest{ValueBytes: valueBytes} - resp_ := &datagramSocketWithCtxSetReceiveBufferResponse{} + req_ := &BaseSocketSetReceiveBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_RCVBUF`. func (p *DatagramSocketWithCtxInterface) GetReceiveBuffer(ctx_ _bindings.Context) (BaseSocketGetReceiveBufferResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetReceiveBufferResponse{} + resp_ := &BaseSocketGetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *DatagramSocketWithCtxInterface) SetKeepAlive(ctx_ _bindings.Context, value bool) (BaseSocketSetKeepAliveResult, error) { - req_ := &datagramSocketWithCtxSetKeepAliveRequest{Value: value} - resp_ := &datagramSocketWithCtxSetKeepAliveResponse{} + req_ := &BaseSocketSetKeepAliveRequest{Value: value} + resp_ := &BaseSocketSetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *DatagramSocketWithCtxInterface) GetKeepAlive(ctx_ _bindings.Context) (BaseSocketGetKeepAliveResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetKeepAliveResponse{} + resp_ := &BaseSocketGetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *DatagramSocketWithCtxInterface) SetOutOfBandInline(ctx_ _bindings.Context, value bool) (BaseSocketSetOutOfBandInlineResult, error) { - req_ := &datagramSocketWithCtxSetOutOfBandInlineRequest{Value: value} - resp_ := &datagramSocketWithCtxSetOutOfBandInlineResponse{} + req_ := &BaseSocketSetOutOfBandInlineRequest{Value: value} + resp_ := &BaseSocketSetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *DatagramSocketWithCtxInterface) GetOutOfBandInline(ctx_ _bindings.Context) (BaseSocketGetOutOfBandInlineResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetOutOfBandInlineResponse{} + resp_ := &BaseSocketGetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *DatagramSocketWithCtxInterface) SetNoCheck(ctx_ _bindings.Context, value bool) (BaseSocketSetNoCheckResult, error) { - req_ := &datagramSocketWithCtxSetNoCheckRequest{Value: value} - resp_ := &datagramSocketWithCtxSetNoCheckResponse{} + req_ := &BaseSocketSetNoCheckRequest{Value: value} + resp_ := &BaseSocketSetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *DatagramSocketWithCtxInterface) GetNoCheck(ctx_ _bindings.Context) (BaseSocketGetNoCheckResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetNoCheckResponse{} + resp_ := &BaseSocketGetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_LINGER`. func (p *DatagramSocketWithCtxInterface) SetLinger(ctx_ _bindings.Context, linger bool, lengthSecs uint32) (BaseSocketSetLingerResult, error) { - req_ := &datagramSocketWithCtxSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} - resp_ := &datagramSocketWithCtxSetLingerResponse{} + req_ := &BaseSocketSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} + resp_ := &BaseSocketSetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_LINGER`. func (p *DatagramSocketWithCtxInterface) GetLinger(ctx_ _bindings.Context) (BaseSocketGetLingerResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetLingerResponse{} + resp_ := &BaseSocketGetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *DatagramSocketWithCtxInterface) SetReusePort(ctx_ _bindings.Context, value bool) (BaseSocketSetReusePortResult, error) { - req_ := &datagramSocketWithCtxSetReusePortRequest{Value: value} - resp_ := &datagramSocketWithCtxSetReusePortResponse{} + req_ := &BaseSocketSetReusePortRequest{Value: value} + resp_ := &BaseSocketSetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *DatagramSocketWithCtxInterface) GetReusePort(ctx_ _bindings.Context) (BaseSocketGetReusePortResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetReusePortResponse{} + resp_ := &BaseSocketGetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ACCEPTCONN`. func (p *DatagramSocketWithCtxInterface) GetAcceptConn(ctx_ _bindings.Context) (BaseSocketGetAcceptConnResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetAcceptConnResponse{} + resp_ := &BaseSocketGetAcceptConnResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetAcceptConnOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *DatagramSocketWithCtxInterface) SetBindToDevice(ctx_ _bindings.Context, value string) (BaseSocketSetBindToDeviceResult, error) { - req_ := &datagramSocketWithCtxSetBindToDeviceRequest{Value: value} - resp_ := &datagramSocketWithCtxSetBindToDeviceResponse{} + req_ := &BaseSocketSetBindToDeviceRequest{Value: value} + resp_ := &BaseSocketSetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *DatagramSocketWithCtxInterface) GetBindToDevice(ctx_ _bindings.Context) (BaseSocketGetBindToDeviceResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetBindToDeviceResponse{} + resp_ := &BaseSocketGetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *DatagramSocketWithCtxInterface) SetTimestamp(ctx_ _bindings.Context, value TimestampOption) (BaseSocketSetTimestampResult, error) { - req_ := &datagramSocketWithCtxSetTimestampRequest{Value: value} - resp_ := &datagramSocketWithCtxSetTimestampResponse{} + req_ := &BaseSocketSetTimestampRequest{Value: value} + resp_ := &BaseSocketSetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *DatagramSocketWithCtxInterface) GetTimestamp(ctx_ _bindings.Context) (BaseSocketGetTimestampResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetTimestampResponse{} + resp_ := &BaseSocketGetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Sets the local address used for the socket. func (p *DatagramSocketWithCtxInterface) Bind(ctx_ _bindings.Context, addr fuchsianet.SocketAddress) (BaseNetworkSocketBindResult, error) { - req_ := &datagramSocketWithCtxBindRequest{Addr: addr} - resp_ := &datagramSocketWithCtxBindResponse{} + req_ := &BaseNetworkSocketBindRequest{Addr: addr} + resp_ := &BaseNetworkSocketBindResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketBindOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Initiates a connection to a remote address. func (p *DatagramSocketWithCtxInterface) Connect(ctx_ _bindings.Context, addr fuchsianet.SocketAddress) (BaseNetworkSocketConnectResult, error) { - req_ := &datagramSocketWithCtxConnectRequest{Addr: addr} - resp_ := &datagramSocketWithCtxConnectResponse{} + req_ := &BaseNetworkSocketConnectRequest{Addr: addr} + resp_ := &BaseNetworkSocketConnectResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketConnectOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Clears connection information from this socket. func (p *DatagramSocketWithCtxInterface) Disconnect(ctx_ _bindings.Context) (BaseNetworkSocketDisconnectResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxDisconnectResponse{} + resp_ := &BaseNetworkSocketDisconnectResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketDisconnectOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves the local socket address. func (p *DatagramSocketWithCtxInterface) GetSockName(ctx_ _bindings.Context) (BaseNetworkSocketGetSockNameResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetSockNameResponse{} + resp_ := &BaseNetworkSocketGetSockNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetSockNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves the remote socket address. func (p *DatagramSocketWithCtxInterface) GetPeerName(ctx_ _bindings.Context) (BaseNetworkSocketGetPeerNameResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetPeerNameResponse{} + resp_ := &BaseNetworkSocketGetPeerNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetPeerNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Shuts down part of the socket. func (p *DatagramSocketWithCtxInterface) Shutdown(ctx_ _bindings.Context, mode ShutdownMode) (BaseNetworkSocketShutdownResult, error) { - req_ := &datagramSocketWithCtxShutdownRequest{Mode: mode} - resp_ := &datagramSocketWithCtxShutdownResponse{} + req_ := &BaseNetworkSocketShutdownRequest{Mode: mode} + resp_ := &BaseNetworkSocketShutdownResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketShutdownOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_TOS`. func (p *DatagramSocketWithCtxInterface) SetIpTypeOfService(ctx_ _bindings.Context, value uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) { - req_ := &datagramSocketWithCtxSetIpTypeOfServiceRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpTypeOfServiceResponse{} + req_ := &BaseNetworkSocketSetIpTypeOfServiceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_TOS`. func (p *DatagramSocketWithCtxInterface) GetIpTypeOfService(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpTypeOfServiceResponse{} + resp_ := &BaseNetworkSocketGetIpTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_TTL`. func (p *DatagramSocketWithCtxInterface) SetIpTtl(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) { - req_ := &datagramSocketWithCtxSetIpTtlRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpTtlResponse{} + req_ := &BaseNetworkSocketSetIpTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_TTL`. func (p *DatagramSocketWithCtxInterface) GetIpTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTtlResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpTtlResponse{} + resp_ := &BaseNetworkSocketGetIpTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_PKTINFO`. func (p *DatagramSocketWithCtxInterface) SetIpPacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpPacketInfoResult, error) { - req_ := &datagramSocketWithCtxSetIpPacketInfoRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpPacketInfoResponse{} + req_ := &BaseNetworkSocketSetIpPacketInfoRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpPacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpPacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_PKTINFO`. func (p *DatagramSocketWithCtxInterface) GetIpPacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpPacketInfoResponse{} + resp_ := &BaseNetworkSocketGetIpPacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpPacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_RECVTOS`. func (p *DatagramSocketWithCtxInterface) SetIpReceiveTypeOfService(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) { - req_ := &datagramSocketWithCtxSetIpReceiveTypeOfServiceRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpReceiveTypeOfServiceResponse{} + req_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpReceiveTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_RECVTOS`. func (p *DatagramSocketWithCtxInterface) GetIpReceiveTypeOfService(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpReceiveTypeOfServiceResponse{} + resp_ := &BaseNetworkSocketGetIpReceiveTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpReceiveTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_RECVTTL`. func (p *DatagramSocketWithCtxInterface) SetIpReceiveTtl(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) { - req_ := &datagramSocketWithCtxSetIpReceiveTtlRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpReceiveTtlResponse{} + req_ := &BaseNetworkSocketSetIpReceiveTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpReceiveTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_RECVTTL`. func (p *DatagramSocketWithCtxInterface) GetIpReceiveTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpReceiveTtlResponse{} + resp_ := &BaseNetworkSocketGetIpReceiveTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpReceiveTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_IF`. func (p *DatagramSocketWithCtxInterface) SetIpMulticastInterface(ctx_ _bindings.Context, iface uint64, address fuchsianet.Ipv4Address) (BaseNetworkSocketSetIpMulticastInterfaceResult, error) { - req_ := &datagramSocketWithCtxSetIpMulticastInterfaceRequest{Iface: iface, Address: address} - resp_ := &datagramSocketWithCtxSetIpMulticastInterfaceResponse{} + req_ := &BaseNetworkSocketSetIpMulticastInterfaceRequest{Iface: iface, Address: address} + resp_ := &BaseNetworkSocketSetIpMulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpMulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_IF`. func (p *DatagramSocketWithCtxInterface) GetIpMulticastInterface(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastInterfaceResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpMulticastInterfaceResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpMulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_TTL`. func (p *DatagramSocketWithCtxInterface) SetIpMulticastTtl(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) { - req_ := &datagramSocketWithCtxSetIpMulticastTtlRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpMulticastTtlResponse{} + req_ := &BaseNetworkSocketSetIpMulticastTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpMulticastTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpMulticastTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_TTL`. func (p *DatagramSocketWithCtxInterface) GetIpMulticastTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpMulticastTtlResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpMulticastTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_LOOP`. func (p *DatagramSocketWithCtxInterface) SetIpMulticastLoopback(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) { - req_ := &datagramSocketWithCtxSetIpMulticastLoopbackRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpMulticastLoopbackResponse{} + req_ := &BaseNetworkSocketSetIpMulticastLoopbackRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpMulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpMulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_LOOP`. func (p *DatagramSocketWithCtxInterface) GetIpMulticastLoopback(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpMulticastLoopbackResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpMulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_ADD_MEMBERSHIP` func (p *DatagramSocketWithCtxInterface) AddIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) { - req_ := &datagramSocketWithCtxAddIpMembershipRequest{Membership: membership} - resp_ := &datagramSocketWithCtxAddIpMembershipResponse{} + req_ := &BaseNetworkSocketAddIpMembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketAddIpMembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketAddIpMembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_DROP_MEMBERSHIP` func (p *DatagramSocketWithCtxInterface) DropIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketDropIpMembershipResult, error) { - req_ := &datagramSocketWithCtxDropIpMembershipRequest{Membership: membership} - resp_ := &datagramSocketWithCtxDropIpMembershipResponse{} + req_ := &BaseNetworkSocketDropIpMembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketDropIpMembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketDropIpMembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Set `SOL_IP` -> `IP_TRANSPARENT` +func (p *DatagramSocketWithCtxInterface) SetIpTransparent(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpTransparentResult, error) { + req_ := &BaseNetworkSocketSetIpTransparentRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTransparentResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpTransparentOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Get `SOL_IP` -> `IP_TRANSPARENT` +func (p *DatagramSocketWithCtxInterface) GetIpTransparent(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTransparentResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetIpTransparentResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpTransparentOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set `SOL_IP` -> `IP_RECVORIGDSTADDR` +func (p *DatagramSocketWithCtxInterface) SetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) { + req_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Get `SOL_IP` -> `IP_RECVORIGDSTADDR` +func (p *DatagramSocketWithCtxInterface) GetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal, req_, resp_) + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`. func (p *DatagramSocketWithCtxInterface) AddIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) { - req_ := &datagramSocketWithCtxAddIpv6MembershipRequest{Membership: membership} - resp_ := &datagramSocketWithCtxAddIpv6MembershipResponse{} + req_ := &BaseNetworkSocketAddIpv6MembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketAddIpv6MembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketAddIpv6MembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`. func (p *DatagramSocketWithCtxInterface) DropIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketDropIpv6MembershipResult, error) { - req_ := &datagramSocketWithCtxDropIpv6MembershipRequest{Membership: membership} - resp_ := &datagramSocketWithCtxDropIpv6MembershipResponse{} + req_ := &BaseNetworkSocketDropIpv6MembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketDropIpv6MembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketDropIpv6MembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_IF`. func (p *DatagramSocketWithCtxInterface) SetIpv6MulticastInterface(ctx_ _bindings.Context, value uint64) (BaseNetworkSocketSetIpv6MulticastInterfaceResult, error) { - req_ := &datagramSocketWithCtxSetIpv6MulticastInterfaceRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpv6MulticastInterfaceResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastInterfaceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpv6MulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_IF`. func (p *DatagramSocketWithCtxInterface) GetIpv6MulticastInterface(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastInterfaceResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpv6MulticastInterfaceResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpv6MulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_UNICAST_HOPS`. func (p *DatagramSocketWithCtxInterface) SetIpv6UnicastHops(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6UnicastHopsResult, error) { - req_ := &datagramSocketWithCtxSetIpv6UnicastHopsRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpv6UnicastHopsResponse{} + req_ := &BaseNetworkSocketSetIpv6UnicastHopsRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6UnicastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpv6UnicastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_UNICAST_HOPS`. func (p *DatagramSocketWithCtxInterface) GetIpv6UnicastHops(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6UnicastHopsResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpv6UnicastHopsResponse{} + resp_ := &BaseNetworkSocketGetIpv6UnicastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpv6UnicastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`. func (p *DatagramSocketWithCtxInterface) SetIpv6ReceiveHopLimit(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceiveHopLimitResult, error) { - req_ := &datagramSocketWithCtxSetIpv6ReceiveHopLimitRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpv6ReceiveHopLimitResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpv6ReceiveHopLimitOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`. func (p *DatagramSocketWithCtxInterface) GetIpv6ReceiveHopLimit(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceiveHopLimitResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpv6ReceiveHopLimitResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceiveHopLimitResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpv6ReceiveHopLimitOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`. func (p *DatagramSocketWithCtxInterface) SetIpv6MulticastHops(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) { - req_ := &datagramSocketWithCtxSetIpv6MulticastHopsRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpv6MulticastHopsResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastHopsRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpv6MulticastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`. func (p *DatagramSocketWithCtxInterface) GetIpv6MulticastHops(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpv6MulticastHopsResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpv6MulticastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`. func (p *DatagramSocketWithCtxInterface) SetIpv6MulticastLoopback(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6MulticastLoopbackResult, error) { - req_ := &datagramSocketWithCtxSetIpv6MulticastLoopbackRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpv6MulticastLoopbackResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastLoopbackRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpv6MulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`. func (p *DatagramSocketWithCtxInterface) GetIpv6MulticastLoopback(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastLoopbackResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpv6MulticastLoopbackResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpv6MulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_V6ONLY`. func (p *DatagramSocketWithCtxInterface) SetIpv6Only(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6OnlyResult, error) { - req_ := &datagramSocketWithCtxSetIpv6OnlyRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpv6OnlyResponse{} + req_ := &BaseNetworkSocketSetIpv6OnlyRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6OnlyResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpv6OnlyOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_V6ONLY`. func (p *DatagramSocketWithCtxInterface) GetIpv6Only(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6OnlyResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpv6OnlyResponse{} + resp_ := &BaseNetworkSocketGetIpv6OnlyResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpv6OnlyOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVTCLASS`. func (p *DatagramSocketWithCtxInterface) SetIpv6ReceiveTrafficClass(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceiveTrafficClassResult, error) { - req_ := &datagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpv6ReceiveTrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVTCLASS`. func (p *DatagramSocketWithCtxInterface) GetIpv6ReceiveTrafficClass(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceiveTrafficClassResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceiveTrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpv6ReceiveTrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_TCLASS` func (p *DatagramSocketWithCtxInterface) SetIpv6TrafficClass(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6TrafficClassResult, error) { - req_ := &datagramSocketWithCtxSetIpv6TrafficClassRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpv6TrafficClassResponse{} + req_ := &BaseNetworkSocketSetIpv6TrafficClassRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6TrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpv6TrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_TCLASS`. func (p *DatagramSocketWithCtxInterface) GetIpv6TrafficClass(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6TrafficClassResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpv6TrafficClassResponse{} + resp_ := &BaseNetworkSocketGetIpv6TrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpv6TrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVPKTINFO`. func (p *DatagramSocketWithCtxInterface) SetIpv6ReceivePacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceivePacketInfoResult, error) { - req_ := &datagramSocketWithCtxSetIpv6ReceivePacketInfoRequest{Value: value} - resp_ := &datagramSocketWithCtxSetIpv6ReceivePacketInfoResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSetIpv6ReceivePacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`. func (p *DatagramSocketWithCtxInterface) GetIpv6ReceivePacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceivePacketInfoResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetIpv6ReceivePacketInfoResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceivePacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetIpv6ReceivePacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Get `SOL_IP` -> `SO_ORIGINAL_DST`. +func (p *DatagramSocketWithCtxInterface) GetOriginalDestination(ctx_ _bindings.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetOriginalDestinationResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetOriginalDestinationOrdinal, req_, resp_) + return (*resp_), err_ } // Retrieves creation information from the socket. @@ -21815,9 +16110,9 @@ // - response `proto` the socket's associated protocol. func (p *DatagramSocketWithCtxInterface) GetInfo(ctx_ _bindings.Context) (BaseDatagramSocketGetInfoResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxGetInfoResponse{} + resp_ := &BaseDatagramSocketGetInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketGetInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *DatagramSocketWithCtxInterface) Describe(ctx_ _bindings.Context) (DatagramSocketDescribeResponse, error) { @@ -21834,9 +16129,9 @@ // * error the error code indicating the reason for validation failure. func (p *DatagramSocketWithCtxInterface) SendMsgPreflight(ctx_ _bindings.Context, payload DatagramSocketSendMsgPreflightRequest) (DatagramSocketSendMsgPreflightResult, error) { req_ := &payload - resp_ := &datagramSocketWithCtxSendMsgPreflightResponse{} + resp_ := &DatagramSocketSendMsgPreflightResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketSendMsgPreflightOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Returns the set of requested control messages. @@ -21844,9 +16139,9 @@ // - response the set of currently requested control messages. func (p *DatagramSocketWithCtxInterface) RecvMsgPostflight(ctx_ _bindings.Context) (DatagramSocketRecvMsgPostflightResult, error) { var req_ _bindings.Message - resp_ := &datagramSocketWithCtxRecvMsgPostflightResponse{} + resp_ := &DatagramSocketRecvMsgPostflightResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(DatagramSocketRecvMsgPostflightOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // A datagram socket. @@ -21961,6 +16256,14 @@ AddIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) // Set `SOL_IP` -> `IP_DROP_MEMBERSHIP` DropIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketDropIpMembershipResult, error) + // Set `SOL_IP` -> `IP_TRANSPARENT` + SetIpTransparent(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpTransparentResult, error) + // Get `SOL_IP` -> `IP_TRANSPARENT` + GetIpTransparent(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTransparentResult, error) + // Set `SOL_IP` -> `IP_RECVORIGDSTADDR` + SetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) + // Get `SOL_IP` -> `IP_RECVORIGDSTADDR` + GetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) // Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`. AddIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) // Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`. @@ -22001,6 +16304,8 @@ SetIpv6ReceivePacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceivePacketInfoResult, error) // Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`. GetIpv6ReceivePacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceivePacketInfoResult, error) + // Get `SOL_IP` -> `SO_ORIGINAL_DST`. + GetOriginalDestination(ctx_ _bindings.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) // Retrieves creation information from the socket. // // - response `domain` the socket's associated domain. @@ -22035,7 +16340,7 @@ func (s_ *DatagramSocketWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case DatagramSocketClone2Ordinal: - in_ := &datagramSocketWithCtxClone2Request{} + in_ := &fuchsiaunknown.CloneableClone2Request{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22046,15 +16351,15 @@ err_ := s_.Impl.Clone2(args_.Ctx, (*in_).Request) return nil, false, err_ case DatagramSocketCloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &datagramSocketWithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketQueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &datagramSocketWithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case DatagramSocketSetReuseAddressOrdinal: - in_ := &datagramSocketWithCtxSetReuseAddressRequest{} + in_ := &BaseSocketSetReuseAddressRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22062,19 +16367,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetReuseAddressOrdinal: - result, err_ := s_.Impl.GetReuseAddress(args_.Ctx) - out_ := &datagramSocketWithCtxGetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.GetReuseAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketGetErrorOrdinal: - result, err_ := s_.Impl.GetError(args_.Ctx) - out_ := &datagramSocketWithCtxGetErrorResponse{Result: result} + payload, err_ := s_.Impl.GetError(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetBroadcastOrdinal: - in_ := &datagramSocketWithCtxSetBroadcastRequest{} + in_ := &BaseSocketSetBroadcastRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22082,15 +16387,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetBroadcastOrdinal: - result, err_ := s_.Impl.GetBroadcast(args_.Ctx) - out_ := &datagramSocketWithCtxGetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.GetBroadcast(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetSendBufferOrdinal: - in_ := &datagramSocketWithCtxSetSendBufferRequest{} + in_ := &BaseSocketSetSendBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22098,15 +16403,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &datagramSocketWithCtxSetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case DatagramSocketGetSendBufferOrdinal: - result, err_ := s_.Impl.GetSendBuffer(args_.Ctx) - out_ := &datagramSocketWithCtxGetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.GetSendBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetReceiveBufferOrdinal: - in_ := &datagramSocketWithCtxSetReceiveBufferRequest{} + in_ := &BaseSocketSetReceiveBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22114,15 +16419,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &datagramSocketWithCtxSetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case DatagramSocketGetReceiveBufferOrdinal: - result, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) - out_ := &datagramSocketWithCtxGetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetKeepAliveOrdinal: - in_ := &datagramSocketWithCtxSetKeepAliveRequest{} + in_ := &BaseSocketSetKeepAliveRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22130,15 +16435,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetKeepAliveOrdinal: - result, err_ := s_.Impl.GetKeepAlive(args_.Ctx) - out_ := &datagramSocketWithCtxGetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.GetKeepAlive(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetOutOfBandInlineOrdinal: - in_ := &datagramSocketWithCtxSetOutOfBandInlineRequest{} + in_ := &BaseSocketSetOutOfBandInlineRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22146,15 +16451,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetOutOfBandInlineOrdinal: - result, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) - out_ := &datagramSocketWithCtxGetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetNoCheckOrdinal: - in_ := &datagramSocketWithCtxSetNoCheckRequest{} + in_ := &BaseSocketSetNoCheckRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22162,15 +16467,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetNoCheckOrdinal: - result, err_ := s_.Impl.GetNoCheck(args_.Ctx) - out_ := &datagramSocketWithCtxGetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.GetNoCheck(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetLingerOrdinal: - in_ := &datagramSocketWithCtxSetLingerRequest{} + in_ := &BaseSocketSetLingerRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22178,15 +16483,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) - out_ := &datagramSocketWithCtxSetLingerResponse{Result: result} + payload, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) + out_ := &payload return out_, true, err_ case DatagramSocketGetLingerOrdinal: - result, err_ := s_.Impl.GetLinger(args_.Ctx) - out_ := &datagramSocketWithCtxGetLingerResponse{Result: result} + payload, err_ := s_.Impl.GetLinger(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetReusePortOrdinal: - in_ := &datagramSocketWithCtxSetReusePortRequest{} + in_ := &BaseSocketSetReusePortRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22194,19 +16499,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetReusePortResponse{Result: result} + payload, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetReusePortOrdinal: - result, err_ := s_.Impl.GetReusePort(args_.Ctx) - out_ := &datagramSocketWithCtxGetReusePortResponse{Result: result} + payload, err_ := s_.Impl.GetReusePort(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketGetAcceptConnOrdinal: - result, err_ := s_.Impl.GetAcceptConn(args_.Ctx) - out_ := &datagramSocketWithCtxGetAcceptConnResponse{Result: result} + payload, err_ := s_.Impl.GetAcceptConn(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetBindToDeviceOrdinal: - in_ := &datagramSocketWithCtxSetBindToDeviceRequest{} + in_ := &BaseSocketSetBindToDeviceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22214,15 +16519,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetBindToDeviceOrdinal: - result, err_ := s_.Impl.GetBindToDevice(args_.Ctx) - out_ := &datagramSocketWithCtxGetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.GetBindToDevice(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetTimestampOrdinal: - in_ := &datagramSocketWithCtxSetTimestampRequest{} + in_ := &BaseSocketSetTimestampRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22230,15 +16535,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetTimestampResponse{Result: result} + payload, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetTimestampOrdinal: - result, err_ := s_.Impl.GetTimestamp(args_.Ctx) - out_ := &datagramSocketWithCtxGetTimestampResponse{Result: result} + payload, err_ := s_.Impl.GetTimestamp(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketBindOrdinal: - in_ := &datagramSocketWithCtxBindRequest{} + in_ := &BaseNetworkSocketBindRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22246,11 +16551,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Bind(args_.Ctx, (*in_).Addr) - out_ := &datagramSocketWithCtxBindResponse{Result: result} + payload, err_ := s_.Impl.Bind(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ case DatagramSocketConnectOrdinal: - in_ := &datagramSocketWithCtxConnectRequest{} + in_ := &BaseNetworkSocketConnectRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22258,23 +16563,23 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Connect(args_.Ctx, (*in_).Addr) - out_ := &datagramSocketWithCtxConnectResponse{Result: result} + payload, err_ := s_.Impl.Connect(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ case DatagramSocketDisconnectOrdinal: - result, err_ := s_.Impl.Disconnect(args_.Ctx) - out_ := &datagramSocketWithCtxDisconnectResponse{Result: result} + payload, err_ := s_.Impl.Disconnect(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketGetSockNameOrdinal: - result, err_ := s_.Impl.GetSockName(args_.Ctx) - out_ := &datagramSocketWithCtxGetSockNameResponse{Result: result} + payload, err_ := s_.Impl.GetSockName(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketGetPeerNameOrdinal: - result, err_ := s_.Impl.GetPeerName(args_.Ctx) - out_ := &datagramSocketWithCtxGetPeerNameResponse{Result: result} + payload, err_ := s_.Impl.GetPeerName(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketShutdownOrdinal: - in_ := &datagramSocketWithCtxShutdownRequest{} + in_ := &BaseNetworkSocketShutdownRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22282,11 +16587,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Shutdown(args_.Ctx, (*in_).Mode) - out_ := &datagramSocketWithCtxShutdownResponse{Result: result} + payload, err_ := s_.Impl.Shutdown(args_.Ctx, (*in_).Mode) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpTypeOfServiceOrdinal: - in_ := &datagramSocketWithCtxSetIpTypeOfServiceRequest{} + in_ := &BaseNetworkSocketSetIpTypeOfServiceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22294,15 +16599,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpTypeOfService(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.SetIpTypeOfService(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpTypeOfServiceOrdinal: - result, err_ := s_.Impl.GetIpTypeOfService(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.GetIpTypeOfService(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpTtlOrdinal: - in_ := &datagramSocketWithCtxSetIpTtlRequest{} + in_ := &BaseNetworkSocketSetIpTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22310,15 +16615,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpTtl(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpTtlOrdinal: - result, err_ := s_.Impl.GetIpTtl(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpPacketInfoOrdinal: - in_ := &datagramSocketWithCtxSetIpPacketInfoRequest{} + in_ := &BaseNetworkSocketSetIpPacketInfoRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22326,15 +16631,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpPacketInfo(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpPacketInfoResponse{Result: result} + payload, err_ := s_.Impl.SetIpPacketInfo(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpPacketInfoOrdinal: - result, err_ := s_.Impl.GetIpPacketInfo(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpPacketInfoResponse{Result: result} + payload, err_ := s_.Impl.GetIpPacketInfo(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpReceiveTypeOfServiceOrdinal: - in_ := &datagramSocketWithCtxSetIpReceiveTypeOfServiceRequest{} + in_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22342,15 +16647,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpReceiveTypeOfService(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpReceiveTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.SetIpReceiveTypeOfService(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpReceiveTypeOfServiceOrdinal: - result, err_ := s_.Impl.GetIpReceiveTypeOfService(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpReceiveTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.GetIpReceiveTypeOfService(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpReceiveTtlOrdinal: - in_ := &datagramSocketWithCtxSetIpReceiveTtlRequest{} + in_ := &BaseNetworkSocketSetIpReceiveTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22358,15 +16663,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpReceiveTtl(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpReceiveTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpReceiveTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpReceiveTtlOrdinal: - result, err_ := s_.Impl.GetIpReceiveTtl(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpReceiveTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpReceiveTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpMulticastInterfaceOrdinal: - in_ := &datagramSocketWithCtxSetIpMulticastInterfaceRequest{} + in_ := &BaseNetworkSocketSetIpMulticastInterfaceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22374,15 +16679,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastInterface(args_.Ctx, (*in_).Iface, (*in_).Address) - out_ := &datagramSocketWithCtxSetIpMulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastInterface(args_.Ctx, (*in_).Iface, (*in_).Address) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpMulticastInterfaceOrdinal: - result, err_ := s_.Impl.GetIpMulticastInterface(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpMulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastInterface(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpMulticastTtlOrdinal: - in_ := &datagramSocketWithCtxSetIpMulticastTtlRequest{} + in_ := &BaseNetworkSocketSetIpMulticastTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22390,15 +16695,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastTtl(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpMulticastTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpMulticastTtlOrdinal: - result, err_ := s_.Impl.GetIpMulticastTtl(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpMulticastTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpMulticastLoopbackOrdinal: - in_ := &datagramSocketWithCtxSetIpMulticastLoopbackRequest{} + in_ := &BaseNetworkSocketSetIpMulticastLoopbackRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22406,15 +16711,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastLoopback(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpMulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastLoopback(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpMulticastLoopbackOrdinal: - result, err_ := s_.Impl.GetIpMulticastLoopback(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpMulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastLoopback(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketAddIpMembershipOrdinal: - in_ := &datagramSocketWithCtxAddIpMembershipRequest{} + in_ := &BaseNetworkSocketAddIpMembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22422,11 +16727,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AddIpMembership(args_.Ctx, (*in_).Membership) - out_ := &datagramSocketWithCtxAddIpMembershipResponse{Result: result} + payload, err_ := s_.Impl.AddIpMembership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case DatagramSocketDropIpMembershipOrdinal: - in_ := &datagramSocketWithCtxDropIpMembershipRequest{} + in_ := &BaseNetworkSocketDropIpMembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22434,11 +16739,43 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DropIpMembership(args_.Ctx, (*in_).Membership) - out_ := &datagramSocketWithCtxDropIpMembershipResponse{Result: result} + payload, err_ := s_.Impl.DropIpMembership(args_.Ctx, (*in_).Membership) + out_ := &payload + return out_, true, err_ + case DatagramSocketSetIpTransparentOrdinal: + in_ := &BaseNetworkSocketSetIpTransparentRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetIpTransparent(args_.Ctx, (*in_).Value) + out_ := &payload + return out_, true, err_ + case DatagramSocketGetIpTransparentOrdinal: + payload, err_ := s_.Impl.GetIpTransparent(args_.Ctx) + out_ := &payload + return out_, true, err_ + case DatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal: + in_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetIpReceiveOriginalDestinationAddress(args_.Ctx, (*in_).Value) + out_ := &payload + return out_, true, err_ + case DatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal: + payload, err_ := s_.Impl.GetIpReceiveOriginalDestinationAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketAddIpv6MembershipOrdinal: - in_ := &datagramSocketWithCtxAddIpv6MembershipRequest{} + in_ := &BaseNetworkSocketAddIpv6MembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22446,11 +16783,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AddIpv6Membership(args_.Ctx, (*in_).Membership) - out_ := &datagramSocketWithCtxAddIpv6MembershipResponse{Result: result} + payload, err_ := s_.Impl.AddIpv6Membership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case DatagramSocketDropIpv6MembershipOrdinal: - in_ := &datagramSocketWithCtxDropIpv6MembershipRequest{} + in_ := &BaseNetworkSocketDropIpv6MembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22458,11 +16795,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DropIpv6Membership(args_.Ctx, (*in_).Membership) - out_ := &datagramSocketWithCtxDropIpv6MembershipResponse{Result: result} + payload, err_ := s_.Impl.DropIpv6Membership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpv6MulticastInterfaceOrdinal: - in_ := &datagramSocketWithCtxSetIpv6MulticastInterfaceRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastInterfaceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22470,15 +16807,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastInterface(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpv6MulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastInterface(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpv6MulticastInterfaceOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastInterface(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpv6MulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastInterface(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpv6UnicastHopsOrdinal: - in_ := &datagramSocketWithCtxSetIpv6UnicastHopsRequest{} + in_ := &BaseNetworkSocketSetIpv6UnicastHopsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22486,15 +16823,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6UnicastHops(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpv6UnicastHopsResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6UnicastHops(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpv6UnicastHopsOrdinal: - result, err_ := s_.Impl.GetIpv6UnicastHops(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpv6UnicastHopsResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6UnicastHops(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpv6ReceiveHopLimitOrdinal: - in_ := &datagramSocketWithCtxSetIpv6ReceiveHopLimitRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22502,15 +16839,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceiveHopLimit(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpv6ReceiveHopLimitResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceiveHopLimit(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpv6ReceiveHopLimitOrdinal: - result, err_ := s_.Impl.GetIpv6ReceiveHopLimit(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpv6ReceiveHopLimitResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceiveHopLimit(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpv6MulticastHopsOrdinal: - in_ := &datagramSocketWithCtxSetIpv6MulticastHopsRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastHopsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22518,15 +16855,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastHops(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpv6MulticastHopsResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastHops(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpv6MulticastHopsOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastHops(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpv6MulticastHopsResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastHops(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpv6MulticastLoopbackOrdinal: - in_ := &datagramSocketWithCtxSetIpv6MulticastLoopbackRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastLoopbackRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22534,15 +16871,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastLoopback(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpv6MulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastLoopback(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpv6MulticastLoopbackOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastLoopback(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpv6MulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastLoopback(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpv6OnlyOrdinal: - in_ := &datagramSocketWithCtxSetIpv6OnlyRequest{} + in_ := &BaseNetworkSocketSetIpv6OnlyRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22550,15 +16887,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6Only(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpv6OnlyResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6Only(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpv6OnlyOrdinal: - result, err_ := s_.Impl.GetIpv6Only(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpv6OnlyResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6Only(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpv6ReceiveTrafficClassOrdinal: - in_ := &datagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22566,15 +16903,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceiveTrafficClass(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceiveTrafficClass(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpv6ReceiveTrafficClassOrdinal: - result, err_ := s_.Impl.GetIpv6ReceiveTrafficClass(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceiveTrafficClass(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpv6TrafficClassOrdinal: - in_ := &datagramSocketWithCtxSetIpv6TrafficClassRequest{} + in_ := &BaseNetworkSocketSetIpv6TrafficClassRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22582,15 +16919,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6TrafficClass(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpv6TrafficClassResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6TrafficClass(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpv6TrafficClassOrdinal: - result, err_ := s_.Impl.GetIpv6TrafficClass(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpv6TrafficClassResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6TrafficClass(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketSetIpv6ReceivePacketInfoOrdinal: - in_ := &datagramSocketWithCtxSetIpv6ReceivePacketInfoRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22598,16 +16935,20 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceivePacketInfo(args_.Ctx, (*in_).Value) - out_ := &datagramSocketWithCtxSetIpv6ReceivePacketInfoResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceivePacketInfo(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case DatagramSocketGetIpv6ReceivePacketInfoOrdinal: - result, err_ := s_.Impl.GetIpv6ReceivePacketInfo(args_.Ctx) - out_ := &datagramSocketWithCtxGetIpv6ReceivePacketInfoResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceivePacketInfo(args_.Ctx) + out_ := &payload + return out_, true, err_ + case DatagramSocketGetOriginalDestinationOrdinal: + payload, err_ := s_.Impl.GetOriginalDestination(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketGetInfoOrdinal: - result, err_ := s_.Impl.GetInfo(args_.Ctx) - out_ := &datagramSocketWithCtxGetInfoResponse{Result: result} + payload, err_ := s_.Impl.GetInfo(args_.Ctx) + out_ := &payload return out_, true, err_ case DatagramSocketDescribeOrdinal: payload, err_ := s_.Impl.Describe(args_.Ctx) @@ -22622,12 +16963,12 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SendMsgPreflight(args_.Ctx, (*in_)) - out_ := &datagramSocketWithCtxSendMsgPreflightResponse{Result: result} + payload, err_ := s_.Impl.SendMsgPreflight(args_.Ctx, (*in_)) + out_ := &payload return out_, true, err_ case DatagramSocketRecvMsgPostflightOrdinal: - result, err_ := s_.Impl.RecvMsgPostflight(args_.Ctx) - out_ := &datagramSocketWithCtxRecvMsgPostflightResponse{Result: result} + payload, err_ := s_.Impl.RecvMsgPostflight(args_.Ctx) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -22649,61 +16990,61 @@ // Requests a stream socket with the specified parameters. func (p *ProviderWithCtxInterface) StreamSocket(ctx_ _bindings.Context, domain Domain, proto StreamSocketProtocol) (ProviderStreamSocketResult, error) { - req_ := &providerWithCtxStreamSocketRequest{Domain: domain, Proto: proto} - resp_ := &providerWithCtxStreamSocketResponse{} + req_ := &ProviderStreamSocketRequest{Domain: domain, Proto: proto} + resp_ := &ProviderStreamSocketResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(ProviderStreamSocketOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Requests a datagram socket with the specified parameters. // TODO(https://fxbug.dev/85027): Remove this method once no more callers rely on it. func (p *ProviderWithCtxInterface) DatagramSocketDeprecated(ctx_ _bindings.Context, domain Domain, proto DatagramSocketProtocol) (ProviderDatagramSocketDeprecatedResult, error) { - req_ := &providerWithCtxDatagramSocketDeprecatedRequest{Domain: domain, Proto: proto} - resp_ := &providerWithCtxDatagramSocketDeprecatedResponse{} + req_ := &ProviderDatagramSocketDeprecatedRequest{Domain: domain, Proto: proto} + resp_ := &ProviderDatagramSocketDeprecatedResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(ProviderDatagramSocketDeprecatedOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Requests a datagram socket with the specified parameters. func (p *ProviderWithCtxInterface) DatagramSocket(ctx_ _bindings.Context, domain Domain, proto DatagramSocketProtocol) (ProviderDatagramSocketResult, error) { - req_ := &providerWithCtxDatagramSocketRequest{Domain: domain, Proto: proto} - resp_ := &providerWithCtxDatagramSocketResponse{} + req_ := &ProviderDatagramSocketRequest{Domain: domain, Proto: proto} + resp_ := &ProviderDatagramSocketResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(ProviderDatagramSocketOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Looks up an interface by its index and returns its name. Returns // `ZX_ERR_NOT_FOUND` if the specified index doesn't exist. func (p *ProviderWithCtxInterface) InterfaceIndexToName(ctx_ _bindings.Context, index uint64) (ProviderInterfaceIndexToNameResult, error) { - req_ := &providerWithCtxInterfaceIndexToNameRequest{Index: index} - resp_ := &providerWithCtxInterfaceIndexToNameResponse{} + req_ := &ProviderInterfaceIndexToNameRequest{Index: index} + resp_ := &ProviderInterfaceIndexToNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(ProviderInterfaceIndexToNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Looks up an interface by its name and returns its index. Returns // `ZX_ERR_NOT_FOUND` if the specified name doesn't exist. func (p *ProviderWithCtxInterface) InterfaceNameToIndex(ctx_ _bindings.Context, name string) (ProviderInterfaceNameToIndexResult, error) { - req_ := &providerWithCtxInterfaceNameToIndexRequest{Name: name} - resp_ := &providerWithCtxInterfaceNameToIndexResponse{} + req_ := &ProviderInterfaceNameToIndexRequest{Name: name} + resp_ := &ProviderInterfaceNameToIndexResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(ProviderInterfaceNameToIndexOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Looks up an interface by its name and returns its flags. Returns // `ZX_ERR_NOT_FOUND` if the specified name doesn't exist. func (p *ProviderWithCtxInterface) InterfaceNameToFlags(ctx_ _bindings.Context, name string) (ProviderInterfaceNameToFlagsResult, error) { - req_ := &providerWithCtxInterfaceNameToFlagsRequest{Name: name} - resp_ := &providerWithCtxInterfaceNameToFlagsResponse{} + req_ := &ProviderInterfaceNameToFlagsRequest{Name: name} + resp_ := &ProviderInterfaceNameToFlagsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(ProviderInterfaceNameToFlagsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Requests a list of [`fuchsia.posix.socket.InterfaceAddresses`] // describing the network interfaces on the system. func (p *ProviderWithCtxInterface) GetInterfaceAddresses(ctx_ _bindings.Context) ([]InterfaceAddresses, error) { var req_ _bindings.Message - resp_ := &providerWithCtxGetInterfaceAddressesResponse{} + resp_ := &ProviderGetInterfaceAddressesResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(ProviderGetInterfaceAddressesOrdinal, req_, resp_) return (*resp_).Interfaces, err_ } @@ -22762,7 +17103,7 @@ func (s_ *ProviderWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case ProviderStreamSocketOrdinal: - in_ := &providerWithCtxStreamSocketRequest{} + in_ := &ProviderStreamSocketRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22770,11 +17111,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.StreamSocket(args_.Ctx, (*in_).Domain, (*in_).Proto) - out_ := &providerWithCtxStreamSocketResponse{Result: result} + payload, err_ := s_.Impl.StreamSocket(args_.Ctx, (*in_).Domain, (*in_).Proto) + out_ := &payload return out_, true, err_ case ProviderDatagramSocketDeprecatedOrdinal: - in_ := &providerWithCtxDatagramSocketDeprecatedRequest{} + in_ := &ProviderDatagramSocketDeprecatedRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22782,11 +17123,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DatagramSocketDeprecated(args_.Ctx, (*in_).Domain, (*in_).Proto) - out_ := &providerWithCtxDatagramSocketDeprecatedResponse{Result: result} + payload, err_ := s_.Impl.DatagramSocketDeprecated(args_.Ctx, (*in_).Domain, (*in_).Proto) + out_ := &payload return out_, true, err_ case ProviderDatagramSocketOrdinal: - in_ := &providerWithCtxDatagramSocketRequest{} + in_ := &ProviderDatagramSocketRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22794,11 +17135,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DatagramSocket(args_.Ctx, (*in_).Domain, (*in_).Proto) - out_ := &providerWithCtxDatagramSocketResponse{Result: result} + payload, err_ := s_.Impl.DatagramSocket(args_.Ctx, (*in_).Domain, (*in_).Proto) + out_ := &payload return out_, true, err_ case ProviderInterfaceIndexToNameOrdinal: - in_ := &providerWithCtxInterfaceIndexToNameRequest{} + in_ := &ProviderInterfaceIndexToNameRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22806,11 +17147,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.InterfaceIndexToName(args_.Ctx, (*in_).Index) - out_ := &providerWithCtxInterfaceIndexToNameResponse{Result: result} + payload, err_ := s_.Impl.InterfaceIndexToName(args_.Ctx, (*in_).Index) + out_ := &payload return out_, true, err_ case ProviderInterfaceNameToIndexOrdinal: - in_ := &providerWithCtxInterfaceNameToIndexRequest{} + in_ := &ProviderInterfaceNameToIndexRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22818,11 +17159,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.InterfaceNameToIndex(args_.Ctx, (*in_).Name) - out_ := &providerWithCtxInterfaceNameToIndexResponse{Result: result} + payload, err_ := s_.Impl.InterfaceNameToIndex(args_.Ctx, (*in_).Name) + out_ := &payload return out_, true, err_ case ProviderInterfaceNameToFlagsOrdinal: - in_ := &providerWithCtxInterfaceNameToFlagsRequest{} + in_ := &ProviderInterfaceNameToFlagsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -22830,12 +17171,12 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.InterfaceNameToFlags(args_.Ctx, (*in_).Name) - out_ := &providerWithCtxInterfaceNameToFlagsResponse{Result: result} + payload, err_ := s_.Impl.InterfaceNameToFlags(args_.Ctx, (*in_).Name) + out_ := &payload return out_, true, err_ case ProviderGetInterfaceAddressesOrdinal: interfaces, err_ := s_.Impl.GetInterfaceAddresses(args_.Ctx) - out_ := &providerWithCtxGetInterfaceAddressesResponse{Interfaces: interfaces} + out_ := &ProviderGetInterfaceAddressesResponse{Interfaces: interfaces} return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -22844,114 +17185,119 @@ type ProviderEventProxy _bindings.ChannelProxy const ( - StreamSocketClone2Ordinal uint64 = 0x20d8a7aba2168a79 - StreamSocketCloseOrdinal uint64 = 0x5ac5d459ad7f657e - StreamSocketQueryOrdinal uint64 = 0x2658edee9decfc06 - StreamSocketSetReuseAddressOrdinal uint64 = 0x1fd74ee8b9a4a876 - StreamSocketGetReuseAddressOrdinal uint64 = 0x67b7206b8d1bc0a5 - StreamSocketGetErrorOrdinal uint64 = 0x5aad39b33e5f6ebb - StreamSocketSetBroadcastOrdinal uint64 = 0x6023e081ce3cd947 - StreamSocketGetBroadcastOrdinal uint64 = 0x68796fc556f9780d - StreamSocketSetSendBufferOrdinal uint64 = 0x756eac32d73a7a70 - StreamSocketGetSendBufferOrdinal uint64 = 0x78a52fd9c7b2410b - StreamSocketSetReceiveBufferOrdinal uint64 = 0x6b0cf2f1919c7001 - StreamSocketGetReceiveBufferOrdinal uint64 = 0x14c1a4b64f709e5c - StreamSocketSetKeepAliveOrdinal uint64 = 0x572df8f0b920d2c7 - StreamSocketGetKeepAliveOrdinal uint64 = 0x2dd29d3215f2c9d2 - StreamSocketSetOutOfBandInlineOrdinal uint64 = 0x3ecb49968bee439 - StreamSocketGetOutOfBandInlineOrdinal uint64 = 0x348c1ab3aeca1745 - StreamSocketSetNoCheckOrdinal uint64 = 0x6bbf00c53a4c78c2 - StreamSocketGetNoCheckOrdinal uint64 = 0x2cd4249286417694 - StreamSocketSetLingerOrdinal uint64 = 0x45386351246e998e - StreamSocketGetLingerOrdinal uint64 = 0x48eb20fc5ccb0e45 - StreamSocketSetReusePortOrdinal uint64 = 0x24dd3e5cb36d9ccb - StreamSocketGetReusePortOrdinal uint64 = 0x7a112c1ab54ff828 - StreamSocketGetAcceptConnOrdinal uint64 = 0x67ce6db6c2ec8966 - StreamSocketSetBindToDeviceOrdinal uint64 = 0x2118b483f28aafc4 - StreamSocketGetBindToDeviceOrdinal uint64 = 0x1ab1fbf0ef7906c8 - StreamSocketSetTimestampOrdinal uint64 = 0x285d6516c263d839 - StreamSocketGetTimestampOrdinal uint64 = 0x49f2fffbbcc2bd27 - StreamSocketBindOrdinal uint64 = 0x4bc6400ae92125d - StreamSocketConnectOrdinal uint64 = 0x5f05f19bfdd38871 - StreamSocketDisconnectOrdinal uint64 = 0x74e63b91f7b29b2 - StreamSocketGetSockNameOrdinal uint64 = 0x475f23f84a1a4f85 - StreamSocketGetPeerNameOrdinal uint64 = 0x1ffecf4bd5b6432e - StreamSocketShutdownOrdinal uint64 = 0x247f38b6db68c336 - StreamSocketSetIpTypeOfServiceOrdinal uint64 = 0x995c600475b6d46 - StreamSocketGetIpTypeOfServiceOrdinal uint64 = 0x3814a04259f75fcb - StreamSocketSetIpTtlOrdinal uint64 = 0x29e2424b433ae1ef - StreamSocketGetIpTtlOrdinal uint64 = 0x47e47fa1f24da471 - StreamSocketSetIpPacketInfoOrdinal uint64 = 0x392d16bee20c0e16 - StreamSocketGetIpPacketInfoOrdinal uint64 = 0x54b505f242280740 - StreamSocketSetIpReceiveTypeOfServiceOrdinal uint64 = 0x6c4f6714995f84ef - StreamSocketGetIpReceiveTypeOfServiceOrdinal uint64 = 0x4158ba7dc2795960 - StreamSocketSetIpReceiveTtlOrdinal uint64 = 0x46f15be0ce0ab82b - StreamSocketGetIpReceiveTtlOrdinal uint64 = 0x678ddd5a5dfa2eb5 - StreamSocketSetIpMulticastInterfaceOrdinal uint64 = 0x752fbfa9b12befe - StreamSocketGetIpMulticastInterfaceOrdinal uint64 = 0x320bd14c4df046c4 - StreamSocketSetIpMulticastTtlOrdinal uint64 = 0x63134d53772916a1 - StreamSocketGetIpMulticastTtlOrdinal uint64 = 0x4665cd378f39e1a - StreamSocketSetIpMulticastLoopbackOrdinal uint64 = 0x20c55c11f00943ea - StreamSocketGetIpMulticastLoopbackOrdinal uint64 = 0x3b6b26ff558298f2 - StreamSocketAddIpMembershipOrdinal uint64 = 0x76bc7df115a3b4d0 - StreamSocketDropIpMembershipOrdinal uint64 = 0x2888f3099188d03 - StreamSocketAddIpv6MembershipOrdinal uint64 = 0x7c94727acb4ea4b3 - StreamSocketDropIpv6MembershipOrdinal uint64 = 0x42104c70ccaba304 - StreamSocketSetIpv6MulticastInterfaceOrdinal uint64 = 0x135f76db3774ab3b - StreamSocketGetIpv6MulticastInterfaceOrdinal uint64 = 0x1f26fcdd348f1882 - StreamSocketSetIpv6UnicastHopsOrdinal uint64 = 0x157d51e98f462859 - StreamSocketGetIpv6UnicastHopsOrdinal uint64 = 0x21f4641cad8bd8d2 - StreamSocketSetIpv6ReceiveHopLimitOrdinal uint64 = 0x5c24808ed2e84a1e - StreamSocketGetIpv6ReceiveHopLimitOrdinal uint64 = 0x341e06689885b4c0 - StreamSocketSetIpv6MulticastHopsOrdinal uint64 = 0x25b9cd4d181f82c1 - StreamSocketGetIpv6MulticastHopsOrdinal uint64 = 0x52916948a365012a - StreamSocketSetIpv6MulticastLoopbackOrdinal uint64 = 0x55701c409ff41b40 - StreamSocketGetIpv6MulticastLoopbackOrdinal uint64 = 0x4415b701fde319c3 - StreamSocketSetIpv6OnlyOrdinal uint64 = 0x4873f1364758cbba - StreamSocketGetIpv6OnlyOrdinal uint64 = 0x4aa3340a1a26b89c - StreamSocketSetIpv6ReceiveTrafficClassOrdinal uint64 = 0x58f07c8788d099a0 - StreamSocketGetIpv6ReceiveTrafficClassOrdinal uint64 = 0x2e334df1da553ffa - StreamSocketSetIpv6TrafficClassOrdinal uint64 = 0x6af077800c5a0b4f - StreamSocketGetIpv6TrafficClassOrdinal uint64 = 0x6baf6eed8fc2f04 - StreamSocketSetIpv6ReceivePacketInfoOrdinal uint64 = 0x19259775b1a92768 - StreamSocketGetIpv6ReceivePacketInfoOrdinal uint64 = 0x7acd4a2775baec75 - StreamSocketDescribeOrdinal uint64 = 0x29e22969a7dadc32 - StreamSocketListenOrdinal uint64 = 0x3d0a65ced3d10108 - StreamSocketAcceptOrdinal uint64 = 0x5ab7ad620424c163 - StreamSocketGetInfoOrdinal uint64 = 0x87cfa55d19f878f - StreamSocketSetTcpNoDelayOrdinal uint64 = 0x5a59b778f7333ada - StreamSocketGetTcpNoDelayOrdinal uint64 = 0xac219a3218b0799 - StreamSocketSetTcpMaxSegmentOrdinal uint64 = 0xb3d30c498266d18 - StreamSocketGetTcpMaxSegmentOrdinal uint64 = 0x637404d1b4b9982c - StreamSocketSetTcpCorkOrdinal uint64 = 0x62e26891541143a0 - StreamSocketGetTcpCorkOrdinal uint64 = 0x435bb232e0e74f32 - StreamSocketSetTcpKeepAliveIdleOrdinal uint64 = 0x196d053d8363c42 - StreamSocketGetTcpKeepAliveIdleOrdinal uint64 = 0x35ec58564879dac - StreamSocketSetTcpKeepAliveIntervalOrdinal uint64 = 0x485ffbc2da1243f2 - StreamSocketGetTcpKeepAliveIntervalOrdinal uint64 = 0x264eaf46306b284 - StreamSocketSetTcpKeepAliveCountOrdinal uint64 = 0x2ab2e8c111708421 - StreamSocketGetTcpKeepAliveCountOrdinal uint64 = 0x2f176ae271fe7a09 - StreamSocketSetTcpSynCountOrdinal uint64 = 0x4dcd6ab5573c1eb3 - StreamSocketGetTcpSynCountOrdinal uint64 = 0x7d457cba8f5f3ee6 - StreamSocketSetTcpLingerOrdinal uint64 = 0xd5cc1e8654d36e4 - StreamSocketGetTcpLingerOrdinal uint64 = 0xad870d311cf30eb - StreamSocketSetTcpDeferAcceptOrdinal uint64 = 0x15092f181e57c404 - StreamSocketGetTcpDeferAcceptOrdinal uint64 = 0x64589790842cb7c6 - StreamSocketSetTcpWindowClampOrdinal uint64 = 0x4a26ce07d847f1c6 - StreamSocketGetTcpWindowClampOrdinal uint64 = 0x2df6b636bf0a6a4e - StreamSocketGetTcpInfoOrdinal uint64 = 0x1ffb123d9f03ead2 - StreamSocketSetTcpQuickAckOrdinal uint64 = 0x6fa811be8fde7457 - StreamSocketGetTcpQuickAckOrdinal uint64 = 0x7356a949bef2df32 - StreamSocketSetTcpCongestionOrdinal uint64 = 0x7924c6eabde7819e - StreamSocketGetTcpCongestionOrdinal uint64 = 0x11e16397e1b72a47 - StreamSocketSetTcpUserTimeoutOrdinal uint64 = 0x6b459e81c3741a60 - StreamSocketGetTcpUserTimeoutOrdinal uint64 = 0x24bbd5858ad8c380 + StreamSocketClone2Ordinal uint64 = 0x20d8a7aba2168a79 + StreamSocketCloseOrdinal uint64 = 0x5ac5d459ad7f657e + StreamSocketQueryOrdinal uint64 = 0x2658edee9decfc06 + StreamSocketSetReuseAddressOrdinal uint64 = 0x1fd74ee8b9a4a876 + StreamSocketGetReuseAddressOrdinal uint64 = 0x67b7206b8d1bc0a5 + StreamSocketGetErrorOrdinal uint64 = 0x5aad39b33e5f6ebb + StreamSocketSetBroadcastOrdinal uint64 = 0x6023e081ce3cd947 + StreamSocketGetBroadcastOrdinal uint64 = 0x68796fc556f9780d + StreamSocketSetSendBufferOrdinal uint64 = 0x756eac32d73a7a70 + StreamSocketGetSendBufferOrdinal uint64 = 0x78a52fd9c7b2410b + StreamSocketSetReceiveBufferOrdinal uint64 = 0x6b0cf2f1919c7001 + StreamSocketGetReceiveBufferOrdinal uint64 = 0x14c1a4b64f709e5c + StreamSocketSetKeepAliveOrdinal uint64 = 0x572df8f0b920d2c7 + StreamSocketGetKeepAliveOrdinal uint64 = 0x2dd29d3215f2c9d2 + StreamSocketSetOutOfBandInlineOrdinal uint64 = 0x3ecb49968bee439 + StreamSocketGetOutOfBandInlineOrdinal uint64 = 0x348c1ab3aeca1745 + StreamSocketSetNoCheckOrdinal uint64 = 0x6bbf00c53a4c78c2 + StreamSocketGetNoCheckOrdinal uint64 = 0x2cd4249286417694 + StreamSocketSetLingerOrdinal uint64 = 0x45386351246e998e + StreamSocketGetLingerOrdinal uint64 = 0x48eb20fc5ccb0e45 + StreamSocketSetReusePortOrdinal uint64 = 0x24dd3e5cb36d9ccb + StreamSocketGetReusePortOrdinal uint64 = 0x7a112c1ab54ff828 + StreamSocketGetAcceptConnOrdinal uint64 = 0x67ce6db6c2ec8966 + StreamSocketSetBindToDeviceOrdinal uint64 = 0x2118b483f28aafc4 + StreamSocketGetBindToDeviceOrdinal uint64 = 0x1ab1fbf0ef7906c8 + StreamSocketSetTimestampOrdinal uint64 = 0x285d6516c263d839 + StreamSocketGetTimestampOrdinal uint64 = 0x49f2fffbbcc2bd27 + StreamSocketBindOrdinal uint64 = 0x4bc6400ae92125d + StreamSocketConnectOrdinal uint64 = 0x5f05f19bfdd38871 + StreamSocketDisconnectOrdinal uint64 = 0x74e63b91f7b29b2 + StreamSocketGetSockNameOrdinal uint64 = 0x475f23f84a1a4f85 + StreamSocketGetPeerNameOrdinal uint64 = 0x1ffecf4bd5b6432e + StreamSocketShutdownOrdinal uint64 = 0x247f38b6db68c336 + StreamSocketSetIpTypeOfServiceOrdinal uint64 = 0x995c600475b6d46 + StreamSocketGetIpTypeOfServiceOrdinal uint64 = 0x3814a04259f75fcb + StreamSocketSetIpTtlOrdinal uint64 = 0x29e2424b433ae1ef + StreamSocketGetIpTtlOrdinal uint64 = 0x47e47fa1f24da471 + StreamSocketSetIpPacketInfoOrdinal uint64 = 0x392d16bee20c0e16 + StreamSocketGetIpPacketInfoOrdinal uint64 = 0x54b505f242280740 + StreamSocketSetIpReceiveTypeOfServiceOrdinal uint64 = 0x6c4f6714995f84ef + StreamSocketGetIpReceiveTypeOfServiceOrdinal uint64 = 0x4158ba7dc2795960 + StreamSocketSetIpReceiveTtlOrdinal uint64 = 0x46f15be0ce0ab82b + StreamSocketGetIpReceiveTtlOrdinal uint64 = 0x678ddd5a5dfa2eb5 + StreamSocketSetIpMulticastInterfaceOrdinal uint64 = 0x752fbfa9b12befe + StreamSocketGetIpMulticastInterfaceOrdinal uint64 = 0x320bd14c4df046c4 + StreamSocketSetIpMulticastTtlOrdinal uint64 = 0x63134d53772916a1 + StreamSocketGetIpMulticastTtlOrdinal uint64 = 0x4665cd378f39e1a + StreamSocketSetIpMulticastLoopbackOrdinal uint64 = 0x20c55c11f00943ea + StreamSocketGetIpMulticastLoopbackOrdinal uint64 = 0x3b6b26ff558298f2 + StreamSocketAddIpMembershipOrdinal uint64 = 0x76bc7df115a3b4d0 + StreamSocketDropIpMembershipOrdinal uint64 = 0x2888f3099188d03 + StreamSocketSetIpTransparentOrdinal uint64 = 0x1ae532b0c066e3a0 + StreamSocketGetIpTransparentOrdinal uint64 = 0x51d43695962ebfb5 + StreamSocketSetIpReceiveOriginalDestinationAddressOrdinal uint64 = 0x4722b4ce52f7840 + StreamSocketGetIpReceiveOriginalDestinationAddressOrdinal uint64 = 0x2a0e7dc5d6bfdfe9 + StreamSocketAddIpv6MembershipOrdinal uint64 = 0x7c94727acb4ea4b3 + StreamSocketDropIpv6MembershipOrdinal uint64 = 0x42104c70ccaba304 + StreamSocketSetIpv6MulticastInterfaceOrdinal uint64 = 0x135f76db3774ab3b + StreamSocketGetIpv6MulticastInterfaceOrdinal uint64 = 0x1f26fcdd348f1882 + StreamSocketSetIpv6UnicastHopsOrdinal uint64 = 0x157d51e98f462859 + StreamSocketGetIpv6UnicastHopsOrdinal uint64 = 0x21f4641cad8bd8d2 + StreamSocketSetIpv6ReceiveHopLimitOrdinal uint64 = 0x5c24808ed2e84a1e + StreamSocketGetIpv6ReceiveHopLimitOrdinal uint64 = 0x341e06689885b4c0 + StreamSocketSetIpv6MulticastHopsOrdinal uint64 = 0x25b9cd4d181f82c1 + StreamSocketGetIpv6MulticastHopsOrdinal uint64 = 0x52916948a365012a + StreamSocketSetIpv6MulticastLoopbackOrdinal uint64 = 0x55701c409ff41b40 + StreamSocketGetIpv6MulticastLoopbackOrdinal uint64 = 0x4415b701fde319c3 + StreamSocketSetIpv6OnlyOrdinal uint64 = 0x4873f1364758cbba + StreamSocketGetIpv6OnlyOrdinal uint64 = 0x4aa3340a1a26b89c + StreamSocketSetIpv6ReceiveTrafficClassOrdinal uint64 = 0x58f07c8788d099a0 + StreamSocketGetIpv6ReceiveTrafficClassOrdinal uint64 = 0x2e334df1da553ffa + StreamSocketSetIpv6TrafficClassOrdinal uint64 = 0x6af077800c5a0b4f + StreamSocketGetIpv6TrafficClassOrdinal uint64 = 0x6baf6eed8fc2f04 + StreamSocketSetIpv6ReceivePacketInfoOrdinal uint64 = 0x19259775b1a92768 + StreamSocketGetIpv6ReceivePacketInfoOrdinal uint64 = 0x7acd4a2775baec75 + StreamSocketGetOriginalDestinationOrdinal uint64 = 0x38bf28f0dafdbac0 + StreamSocketDescribeOrdinal uint64 = 0x29e22969a7dadc32 + StreamSocketListenOrdinal uint64 = 0x3d0a65ced3d10108 + StreamSocketAcceptOrdinal uint64 = 0x5ab7ad620424c163 + StreamSocketGetInfoOrdinal uint64 = 0x87cfa55d19f878f + StreamSocketSetTcpNoDelayOrdinal uint64 = 0x5a59b778f7333ada + StreamSocketGetTcpNoDelayOrdinal uint64 = 0xac219a3218b0799 + StreamSocketSetTcpMaxSegmentOrdinal uint64 = 0xb3d30c498266d18 + StreamSocketGetTcpMaxSegmentOrdinal uint64 = 0x637404d1b4b9982c + StreamSocketSetTcpCorkOrdinal uint64 = 0x62e26891541143a0 + StreamSocketGetTcpCorkOrdinal uint64 = 0x435bb232e0e74f32 + StreamSocketSetTcpKeepAliveIdleOrdinal uint64 = 0x196d053d8363c42 + StreamSocketGetTcpKeepAliveIdleOrdinal uint64 = 0x35ec58564879dac + StreamSocketSetTcpKeepAliveIntervalOrdinal uint64 = 0x485ffbc2da1243f2 + StreamSocketGetTcpKeepAliveIntervalOrdinal uint64 = 0x264eaf46306b284 + StreamSocketSetTcpKeepAliveCountOrdinal uint64 = 0x2ab2e8c111708421 + StreamSocketGetTcpKeepAliveCountOrdinal uint64 = 0x2f176ae271fe7a09 + StreamSocketSetTcpSynCountOrdinal uint64 = 0x4dcd6ab5573c1eb3 + StreamSocketGetTcpSynCountOrdinal uint64 = 0x7d457cba8f5f3ee6 + StreamSocketSetTcpLingerOrdinal uint64 = 0xd5cc1e8654d36e4 + StreamSocketGetTcpLingerOrdinal uint64 = 0xad870d311cf30eb + StreamSocketSetTcpDeferAcceptOrdinal uint64 = 0x15092f181e57c404 + StreamSocketGetTcpDeferAcceptOrdinal uint64 = 0x64589790842cb7c6 + StreamSocketSetTcpWindowClampOrdinal uint64 = 0x4a26ce07d847f1c6 + StreamSocketGetTcpWindowClampOrdinal uint64 = 0x2df6b636bf0a6a4e + StreamSocketGetTcpInfoOrdinal uint64 = 0x1ffb123d9f03ead2 + StreamSocketSetTcpQuickAckOrdinal uint64 = 0x6fa811be8fde7457 + StreamSocketGetTcpQuickAckOrdinal uint64 = 0x7356a949bef2df32 + StreamSocketSetTcpCongestionOrdinal uint64 = 0x7924c6eabde7819e + StreamSocketGetTcpCongestionOrdinal uint64 = 0x11e16397e1b72a47 + StreamSocketSetTcpUserTimeoutOrdinal uint64 = 0x6b459e81c3741a60 + StreamSocketGetTcpUserTimeoutOrdinal uint64 = 0x24bbd5858ad8c380 ) type StreamSocketWithCtxInterface _bindings.ChannelProxy func (p *StreamSocketWithCtxInterface) Clone2(ctx_ _bindings.Context, request fuchsiaunknown.CloneableWithCtxInterfaceRequest) error { - req_ := &streamSocketWithCtxClone2Request{Request: request} + req_ := &fuchsiaunknown.CloneableClone2Request{Request: request} err_ := ((*_bindings.ChannelProxy)(p)).Send(StreamSocketClone2Ordinal, req_) return err_ } @@ -22968,561 +17314,601 @@ // status. func (p *StreamSocketWithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketCloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *StreamSocketWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketQueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Set `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *StreamSocketWithCtxInterface) SetReuseAddress(ctx_ _bindings.Context, value bool) (BaseSocketSetReuseAddressResult, error) { - req_ := &streamSocketWithCtxSetReuseAddressRequest{Value: value} - resp_ := &streamSocketWithCtxSetReuseAddressResponse{} + req_ := &BaseSocketSetReuseAddressRequest{Value: value} + resp_ := &BaseSocketSetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *StreamSocketWithCtxInterface) GetReuseAddress(ctx_ _bindings.Context) (BaseSocketGetReuseAddressResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetReuseAddressResponse{} + resp_ := &BaseSocketGetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ERROR`. // Returns the last error if there is an error set on the socket. func (p *StreamSocketWithCtxInterface) GetError(ctx_ _bindings.Context) (BaseSocketGetErrorResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetErrorResponse{} + resp_ := &BaseSocketGetErrorResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetErrorOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BROADCAST`. func (p *StreamSocketWithCtxInterface) SetBroadcast(ctx_ _bindings.Context, value bool) (BaseSocketSetBroadcastResult, error) { - req_ := &streamSocketWithCtxSetBroadcastRequest{Value: value} - resp_ := &streamSocketWithCtxSetBroadcastResponse{} + req_ := &BaseSocketSetBroadcastRequest{Value: value} + resp_ := &BaseSocketSetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BROADCAST`. func (p *StreamSocketWithCtxInterface) GetBroadcast(ctx_ _bindings.Context) (BaseSocketGetBroadcastResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetBroadcastResponse{} + resp_ := &BaseSocketGetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_SNDBUF`. func (p *StreamSocketWithCtxInterface) SetSendBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetSendBufferResult, error) { - req_ := &streamSocketWithCtxSetSendBufferRequest{ValueBytes: valueBytes} - resp_ := &streamSocketWithCtxSetSendBufferResponse{} + req_ := &BaseSocketSetSendBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_SNDBUF`. func (p *StreamSocketWithCtxInterface) GetSendBuffer(ctx_ _bindings.Context) (BaseSocketGetSendBufferResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetSendBufferResponse{} + resp_ := &BaseSocketGetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_RCVBUF`. func (p *StreamSocketWithCtxInterface) SetReceiveBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetReceiveBufferResult, error) { - req_ := &streamSocketWithCtxSetReceiveBufferRequest{ValueBytes: valueBytes} - resp_ := &streamSocketWithCtxSetReceiveBufferResponse{} + req_ := &BaseSocketSetReceiveBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_RCVBUF`. func (p *StreamSocketWithCtxInterface) GetReceiveBuffer(ctx_ _bindings.Context) (BaseSocketGetReceiveBufferResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetReceiveBufferResponse{} + resp_ := &BaseSocketGetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *StreamSocketWithCtxInterface) SetKeepAlive(ctx_ _bindings.Context, value bool) (BaseSocketSetKeepAliveResult, error) { - req_ := &streamSocketWithCtxSetKeepAliveRequest{Value: value} - resp_ := &streamSocketWithCtxSetKeepAliveResponse{} + req_ := &BaseSocketSetKeepAliveRequest{Value: value} + resp_ := &BaseSocketSetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *StreamSocketWithCtxInterface) GetKeepAlive(ctx_ _bindings.Context) (BaseSocketGetKeepAliveResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetKeepAliveResponse{} + resp_ := &BaseSocketGetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *StreamSocketWithCtxInterface) SetOutOfBandInline(ctx_ _bindings.Context, value bool) (BaseSocketSetOutOfBandInlineResult, error) { - req_ := &streamSocketWithCtxSetOutOfBandInlineRequest{Value: value} - resp_ := &streamSocketWithCtxSetOutOfBandInlineResponse{} + req_ := &BaseSocketSetOutOfBandInlineRequest{Value: value} + resp_ := &BaseSocketSetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *StreamSocketWithCtxInterface) GetOutOfBandInline(ctx_ _bindings.Context) (BaseSocketGetOutOfBandInlineResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetOutOfBandInlineResponse{} + resp_ := &BaseSocketGetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *StreamSocketWithCtxInterface) SetNoCheck(ctx_ _bindings.Context, value bool) (BaseSocketSetNoCheckResult, error) { - req_ := &streamSocketWithCtxSetNoCheckRequest{Value: value} - resp_ := &streamSocketWithCtxSetNoCheckResponse{} + req_ := &BaseSocketSetNoCheckRequest{Value: value} + resp_ := &BaseSocketSetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *StreamSocketWithCtxInterface) GetNoCheck(ctx_ _bindings.Context) (BaseSocketGetNoCheckResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetNoCheckResponse{} + resp_ := &BaseSocketGetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_LINGER`. func (p *StreamSocketWithCtxInterface) SetLinger(ctx_ _bindings.Context, linger bool, lengthSecs uint32) (BaseSocketSetLingerResult, error) { - req_ := &streamSocketWithCtxSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} - resp_ := &streamSocketWithCtxSetLingerResponse{} + req_ := &BaseSocketSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} + resp_ := &BaseSocketSetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_LINGER`. func (p *StreamSocketWithCtxInterface) GetLinger(ctx_ _bindings.Context) (BaseSocketGetLingerResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetLingerResponse{} + resp_ := &BaseSocketGetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *StreamSocketWithCtxInterface) SetReusePort(ctx_ _bindings.Context, value bool) (BaseSocketSetReusePortResult, error) { - req_ := &streamSocketWithCtxSetReusePortRequest{Value: value} - resp_ := &streamSocketWithCtxSetReusePortResponse{} + req_ := &BaseSocketSetReusePortRequest{Value: value} + resp_ := &BaseSocketSetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *StreamSocketWithCtxInterface) GetReusePort(ctx_ _bindings.Context) (BaseSocketGetReusePortResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetReusePortResponse{} + resp_ := &BaseSocketGetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ACCEPTCONN`. func (p *StreamSocketWithCtxInterface) GetAcceptConn(ctx_ _bindings.Context) (BaseSocketGetAcceptConnResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetAcceptConnResponse{} + resp_ := &BaseSocketGetAcceptConnResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetAcceptConnOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *StreamSocketWithCtxInterface) SetBindToDevice(ctx_ _bindings.Context, value string) (BaseSocketSetBindToDeviceResult, error) { - req_ := &streamSocketWithCtxSetBindToDeviceRequest{Value: value} - resp_ := &streamSocketWithCtxSetBindToDeviceResponse{} + req_ := &BaseSocketSetBindToDeviceRequest{Value: value} + resp_ := &BaseSocketSetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *StreamSocketWithCtxInterface) GetBindToDevice(ctx_ _bindings.Context) (BaseSocketGetBindToDeviceResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetBindToDeviceResponse{} + resp_ := &BaseSocketGetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *StreamSocketWithCtxInterface) SetTimestamp(ctx_ _bindings.Context, value TimestampOption) (BaseSocketSetTimestampResult, error) { - req_ := &streamSocketWithCtxSetTimestampRequest{Value: value} - resp_ := &streamSocketWithCtxSetTimestampResponse{} + req_ := &BaseSocketSetTimestampRequest{Value: value} + resp_ := &BaseSocketSetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *StreamSocketWithCtxInterface) GetTimestamp(ctx_ _bindings.Context) (BaseSocketGetTimestampResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTimestampResponse{} + resp_ := &BaseSocketGetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Sets the local address used for the socket. func (p *StreamSocketWithCtxInterface) Bind(ctx_ _bindings.Context, addr fuchsianet.SocketAddress) (BaseNetworkSocketBindResult, error) { - req_ := &streamSocketWithCtxBindRequest{Addr: addr} - resp_ := &streamSocketWithCtxBindResponse{} + req_ := &BaseNetworkSocketBindRequest{Addr: addr} + resp_ := &BaseNetworkSocketBindResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketBindOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Initiates a connection to a remote address. func (p *StreamSocketWithCtxInterface) Connect(ctx_ _bindings.Context, addr fuchsianet.SocketAddress) (BaseNetworkSocketConnectResult, error) { - req_ := &streamSocketWithCtxConnectRequest{Addr: addr} - resp_ := &streamSocketWithCtxConnectResponse{} + req_ := &BaseNetworkSocketConnectRequest{Addr: addr} + resp_ := &BaseNetworkSocketConnectResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketConnectOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Clears connection information from this socket. func (p *StreamSocketWithCtxInterface) Disconnect(ctx_ _bindings.Context) (BaseNetworkSocketDisconnectResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxDisconnectResponse{} + resp_ := &BaseNetworkSocketDisconnectResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketDisconnectOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves the local socket address. func (p *StreamSocketWithCtxInterface) GetSockName(ctx_ _bindings.Context) (BaseNetworkSocketGetSockNameResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetSockNameResponse{} + resp_ := &BaseNetworkSocketGetSockNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetSockNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves the remote socket address. func (p *StreamSocketWithCtxInterface) GetPeerName(ctx_ _bindings.Context) (BaseNetworkSocketGetPeerNameResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetPeerNameResponse{} + resp_ := &BaseNetworkSocketGetPeerNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetPeerNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Shuts down part of the socket. func (p *StreamSocketWithCtxInterface) Shutdown(ctx_ _bindings.Context, mode ShutdownMode) (BaseNetworkSocketShutdownResult, error) { - req_ := &streamSocketWithCtxShutdownRequest{Mode: mode} - resp_ := &streamSocketWithCtxShutdownResponse{} + req_ := &BaseNetworkSocketShutdownRequest{Mode: mode} + resp_ := &BaseNetworkSocketShutdownResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketShutdownOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_TOS`. func (p *StreamSocketWithCtxInterface) SetIpTypeOfService(ctx_ _bindings.Context, value uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) { - req_ := &streamSocketWithCtxSetIpTypeOfServiceRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpTypeOfServiceResponse{} + req_ := &BaseNetworkSocketSetIpTypeOfServiceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_TOS`. func (p *StreamSocketWithCtxInterface) GetIpTypeOfService(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpTypeOfServiceResponse{} + resp_ := &BaseNetworkSocketGetIpTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_TTL`. func (p *StreamSocketWithCtxInterface) SetIpTtl(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) { - req_ := &streamSocketWithCtxSetIpTtlRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpTtlResponse{} + req_ := &BaseNetworkSocketSetIpTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_TTL`. func (p *StreamSocketWithCtxInterface) GetIpTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTtlResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpTtlResponse{} + resp_ := &BaseNetworkSocketGetIpTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_PKTINFO`. func (p *StreamSocketWithCtxInterface) SetIpPacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpPacketInfoResult, error) { - req_ := &streamSocketWithCtxSetIpPacketInfoRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpPacketInfoResponse{} + req_ := &BaseNetworkSocketSetIpPacketInfoRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpPacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpPacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_PKTINFO`. func (p *StreamSocketWithCtxInterface) GetIpPacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpPacketInfoResponse{} + resp_ := &BaseNetworkSocketGetIpPacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpPacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_RECVTOS`. func (p *StreamSocketWithCtxInterface) SetIpReceiveTypeOfService(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) { - req_ := &streamSocketWithCtxSetIpReceiveTypeOfServiceRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpReceiveTypeOfServiceResponse{} + req_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpReceiveTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_RECVTOS`. func (p *StreamSocketWithCtxInterface) GetIpReceiveTypeOfService(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpReceiveTypeOfServiceResponse{} + resp_ := &BaseNetworkSocketGetIpReceiveTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpReceiveTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_RECVTTL`. func (p *StreamSocketWithCtxInterface) SetIpReceiveTtl(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) { - req_ := &streamSocketWithCtxSetIpReceiveTtlRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpReceiveTtlResponse{} + req_ := &BaseNetworkSocketSetIpReceiveTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpReceiveTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_RECVTTL`. func (p *StreamSocketWithCtxInterface) GetIpReceiveTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpReceiveTtlResponse{} + resp_ := &BaseNetworkSocketGetIpReceiveTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpReceiveTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_IF`. func (p *StreamSocketWithCtxInterface) SetIpMulticastInterface(ctx_ _bindings.Context, iface uint64, address fuchsianet.Ipv4Address) (BaseNetworkSocketSetIpMulticastInterfaceResult, error) { - req_ := &streamSocketWithCtxSetIpMulticastInterfaceRequest{Iface: iface, Address: address} - resp_ := &streamSocketWithCtxSetIpMulticastInterfaceResponse{} + req_ := &BaseNetworkSocketSetIpMulticastInterfaceRequest{Iface: iface, Address: address} + resp_ := &BaseNetworkSocketSetIpMulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpMulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_IF`. func (p *StreamSocketWithCtxInterface) GetIpMulticastInterface(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastInterfaceResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpMulticastInterfaceResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpMulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_TTL`. func (p *StreamSocketWithCtxInterface) SetIpMulticastTtl(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) { - req_ := &streamSocketWithCtxSetIpMulticastTtlRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpMulticastTtlResponse{} + req_ := &BaseNetworkSocketSetIpMulticastTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpMulticastTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpMulticastTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_TTL`. func (p *StreamSocketWithCtxInterface) GetIpMulticastTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpMulticastTtlResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpMulticastTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_LOOP`. func (p *StreamSocketWithCtxInterface) SetIpMulticastLoopback(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) { - req_ := &streamSocketWithCtxSetIpMulticastLoopbackRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpMulticastLoopbackResponse{} + req_ := &BaseNetworkSocketSetIpMulticastLoopbackRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpMulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpMulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_LOOP`. func (p *StreamSocketWithCtxInterface) GetIpMulticastLoopback(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpMulticastLoopbackResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpMulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_ADD_MEMBERSHIP` func (p *StreamSocketWithCtxInterface) AddIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) { - req_ := &streamSocketWithCtxAddIpMembershipRequest{Membership: membership} - resp_ := &streamSocketWithCtxAddIpMembershipResponse{} + req_ := &BaseNetworkSocketAddIpMembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketAddIpMembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketAddIpMembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_DROP_MEMBERSHIP` func (p *StreamSocketWithCtxInterface) DropIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketDropIpMembershipResult, error) { - req_ := &streamSocketWithCtxDropIpMembershipRequest{Membership: membership} - resp_ := &streamSocketWithCtxDropIpMembershipResponse{} + req_ := &BaseNetworkSocketDropIpMembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketDropIpMembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketDropIpMembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Set `SOL_IP` -> `IP_TRANSPARENT` +func (p *StreamSocketWithCtxInterface) SetIpTransparent(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpTransparentResult, error) { + req_ := &BaseNetworkSocketSetIpTransparentRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTransparentResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpTransparentOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Get `SOL_IP` -> `IP_TRANSPARENT` +func (p *StreamSocketWithCtxInterface) GetIpTransparent(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTransparentResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetIpTransparentResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpTransparentOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set `SOL_IP` -> `IP_RECVORIGDSTADDR` +func (p *StreamSocketWithCtxInterface) SetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) { + req_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpReceiveOriginalDestinationAddressOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Get `SOL_IP` -> `IP_RECVORIGDSTADDR` +func (p *StreamSocketWithCtxInterface) GetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpReceiveOriginalDestinationAddressOrdinal, req_, resp_) + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`. func (p *StreamSocketWithCtxInterface) AddIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) { - req_ := &streamSocketWithCtxAddIpv6MembershipRequest{Membership: membership} - resp_ := &streamSocketWithCtxAddIpv6MembershipResponse{} + req_ := &BaseNetworkSocketAddIpv6MembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketAddIpv6MembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketAddIpv6MembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`. func (p *StreamSocketWithCtxInterface) DropIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketDropIpv6MembershipResult, error) { - req_ := &streamSocketWithCtxDropIpv6MembershipRequest{Membership: membership} - resp_ := &streamSocketWithCtxDropIpv6MembershipResponse{} + req_ := &BaseNetworkSocketDropIpv6MembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketDropIpv6MembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketDropIpv6MembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_IF`. func (p *StreamSocketWithCtxInterface) SetIpv6MulticastInterface(ctx_ _bindings.Context, value uint64) (BaseNetworkSocketSetIpv6MulticastInterfaceResult, error) { - req_ := &streamSocketWithCtxSetIpv6MulticastInterfaceRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpv6MulticastInterfaceResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastInterfaceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpv6MulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_IF`. func (p *StreamSocketWithCtxInterface) GetIpv6MulticastInterface(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastInterfaceResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpv6MulticastInterfaceResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpv6MulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_UNICAST_HOPS`. func (p *StreamSocketWithCtxInterface) SetIpv6UnicastHops(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6UnicastHopsResult, error) { - req_ := &streamSocketWithCtxSetIpv6UnicastHopsRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpv6UnicastHopsResponse{} + req_ := &BaseNetworkSocketSetIpv6UnicastHopsRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6UnicastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpv6UnicastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_UNICAST_HOPS`. func (p *StreamSocketWithCtxInterface) GetIpv6UnicastHops(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6UnicastHopsResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpv6UnicastHopsResponse{} + resp_ := &BaseNetworkSocketGetIpv6UnicastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpv6UnicastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`. func (p *StreamSocketWithCtxInterface) SetIpv6ReceiveHopLimit(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceiveHopLimitResult, error) { - req_ := &streamSocketWithCtxSetIpv6ReceiveHopLimitRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpv6ReceiveHopLimitResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpv6ReceiveHopLimitOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`. func (p *StreamSocketWithCtxInterface) GetIpv6ReceiveHopLimit(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceiveHopLimitResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpv6ReceiveHopLimitResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceiveHopLimitResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpv6ReceiveHopLimitOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`. func (p *StreamSocketWithCtxInterface) SetIpv6MulticastHops(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) { - req_ := &streamSocketWithCtxSetIpv6MulticastHopsRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpv6MulticastHopsResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastHopsRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpv6MulticastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`. func (p *StreamSocketWithCtxInterface) GetIpv6MulticastHops(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpv6MulticastHopsResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpv6MulticastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`. func (p *StreamSocketWithCtxInterface) SetIpv6MulticastLoopback(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6MulticastLoopbackResult, error) { - req_ := &streamSocketWithCtxSetIpv6MulticastLoopbackRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpv6MulticastLoopbackResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastLoopbackRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpv6MulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`. func (p *StreamSocketWithCtxInterface) GetIpv6MulticastLoopback(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastLoopbackResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpv6MulticastLoopbackResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpv6MulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_V6ONLY`. func (p *StreamSocketWithCtxInterface) SetIpv6Only(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6OnlyResult, error) { - req_ := &streamSocketWithCtxSetIpv6OnlyRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpv6OnlyResponse{} + req_ := &BaseNetworkSocketSetIpv6OnlyRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6OnlyResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpv6OnlyOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_V6ONLY`. func (p *StreamSocketWithCtxInterface) GetIpv6Only(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6OnlyResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpv6OnlyResponse{} + resp_ := &BaseNetworkSocketGetIpv6OnlyResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpv6OnlyOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVTCLASS`. func (p *StreamSocketWithCtxInterface) SetIpv6ReceiveTrafficClass(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceiveTrafficClassResult, error) { - req_ := &streamSocketWithCtxSetIpv6ReceiveTrafficClassRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpv6ReceiveTrafficClassResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpv6ReceiveTrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVTCLASS`. func (p *StreamSocketWithCtxInterface) GetIpv6ReceiveTrafficClass(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceiveTrafficClassResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpv6ReceiveTrafficClassResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceiveTrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpv6ReceiveTrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_TCLASS` func (p *StreamSocketWithCtxInterface) SetIpv6TrafficClass(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6TrafficClassResult, error) { - req_ := &streamSocketWithCtxSetIpv6TrafficClassRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpv6TrafficClassResponse{} + req_ := &BaseNetworkSocketSetIpv6TrafficClassRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6TrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpv6TrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_TCLASS`. func (p *StreamSocketWithCtxInterface) GetIpv6TrafficClass(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6TrafficClassResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpv6TrafficClassResponse{} + resp_ := &BaseNetworkSocketGetIpv6TrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpv6TrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVPKTINFO`. func (p *StreamSocketWithCtxInterface) SetIpv6ReceivePacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceivePacketInfoResult, error) { - req_ := &streamSocketWithCtxSetIpv6ReceivePacketInfoRequest{Value: value} - resp_ := &streamSocketWithCtxSetIpv6ReceivePacketInfoResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetIpv6ReceivePacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`. func (p *StreamSocketWithCtxInterface) GetIpv6ReceivePacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceivePacketInfoResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetIpv6ReceivePacketInfoResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceivePacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetIpv6ReceivePacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Get `SOL_IP` -> `SO_ORIGINAL_DST`. +func (p *StreamSocketWithCtxInterface) GetOriginalDestination(ctx_ _bindings.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetOriginalDestinationResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetOriginalDestinationOrdinal, req_, resp_) + return (*resp_), err_ } func (p *StreamSocketWithCtxInterface) Describe(ctx_ _bindings.Context) (StreamSocketDescribeResponse, error) { @@ -23535,242 +17921,242 @@ // Begins listening for new incoming connections. At most `backlog` // connections will be buffered. func (p *StreamSocketWithCtxInterface) Listen(ctx_ _bindings.Context, backlog int16) (StreamSocketListenResult, error) { - req_ := &streamSocketWithCtxListenRequest{Backlog: backlog} - resp_ := &streamSocketWithCtxListenResponse{} + req_ := &StreamSocketListenRequest{Backlog: backlog} + resp_ := &StreamSocketListenResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketListenOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Accepts a buffered incoming connection. func (p *StreamSocketWithCtxInterface) Accept(ctx_ _bindings.Context, wantAddr bool) (StreamSocketAcceptResult, error) { - req_ := &streamSocketWithCtxAcceptRequest{WantAddr: wantAddr} - resp_ := &streamSocketWithCtxAcceptResponse{} + req_ := &StreamSocketAcceptRequest{WantAddr: wantAddr} + resp_ := &StreamSocketAcceptResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketAcceptOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves creation information from the socket. func (p *StreamSocketWithCtxInterface) GetInfo(ctx_ _bindings.Context) (StreamSocketGetInfoResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetInfoResponse{} + resp_ := &StreamSocketGetInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_NODELAY`. func (p *StreamSocketWithCtxInterface) SetTcpNoDelay(ctx_ _bindings.Context, value bool) (StreamSocketSetTcpNoDelayResult, error) { - req_ := &streamSocketWithCtxSetTcpNoDelayRequest{Value: value} - resp_ := &streamSocketWithCtxSetTcpNoDelayResponse{} + req_ := &StreamSocketSetTcpNoDelayRequest{Value: value} + resp_ := &StreamSocketSetTcpNoDelayResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpNoDelayOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_NODELAY`. func (p *StreamSocketWithCtxInterface) GetTcpNoDelay(ctx_ _bindings.Context) (StreamSocketGetTcpNoDelayResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpNoDelayResponse{} + resp_ := &StreamSocketGetTcpNoDelayResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpNoDelayOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_MAXSEG`. func (p *StreamSocketWithCtxInterface) SetTcpMaxSegment(ctx_ _bindings.Context, valueBytes uint32) (StreamSocketSetTcpMaxSegmentResult, error) { - req_ := &streamSocketWithCtxSetTcpMaxSegmentRequest{ValueBytes: valueBytes} - resp_ := &streamSocketWithCtxSetTcpMaxSegmentResponse{} + req_ := &StreamSocketSetTcpMaxSegmentRequest{ValueBytes: valueBytes} + resp_ := &StreamSocketSetTcpMaxSegmentResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpMaxSegmentOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_MAXSEG`. func (p *StreamSocketWithCtxInterface) GetTcpMaxSegment(ctx_ _bindings.Context) (StreamSocketGetTcpMaxSegmentResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpMaxSegmentResponse{} + resp_ := &StreamSocketGetTcpMaxSegmentResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpMaxSegmentOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_CORK`. func (p *StreamSocketWithCtxInterface) SetTcpCork(ctx_ _bindings.Context, value bool) (StreamSocketSetTcpCorkResult, error) { - req_ := &streamSocketWithCtxSetTcpCorkRequest{Value: value} - resp_ := &streamSocketWithCtxSetTcpCorkResponse{} + req_ := &StreamSocketSetTcpCorkRequest{Value: value} + resp_ := &StreamSocketSetTcpCorkResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpCorkOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_CORK`. func (p *StreamSocketWithCtxInterface) GetTcpCork(ctx_ _bindings.Context) (StreamSocketGetTcpCorkResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpCorkResponse{} + resp_ := &StreamSocketGetTcpCorkResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpCorkOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_KEEPIDLE`. func (p *StreamSocketWithCtxInterface) SetTcpKeepAliveIdle(ctx_ _bindings.Context, valueSecs uint32) (StreamSocketSetTcpKeepAliveIdleResult, error) { - req_ := &streamSocketWithCtxSetTcpKeepAliveIdleRequest{ValueSecs: valueSecs} - resp_ := &streamSocketWithCtxSetTcpKeepAliveIdleResponse{} + req_ := &StreamSocketSetTcpKeepAliveIdleRequest{ValueSecs: valueSecs} + resp_ := &StreamSocketSetTcpKeepAliveIdleResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpKeepAliveIdleOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_KEEPIDLE`. func (p *StreamSocketWithCtxInterface) GetTcpKeepAliveIdle(ctx_ _bindings.Context) (StreamSocketGetTcpKeepAliveIdleResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpKeepAliveIdleResponse{} + resp_ := &StreamSocketGetTcpKeepAliveIdleResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpKeepAliveIdleOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_KEEPINTVL`. func (p *StreamSocketWithCtxInterface) SetTcpKeepAliveInterval(ctx_ _bindings.Context, valueSecs uint32) (StreamSocketSetTcpKeepAliveIntervalResult, error) { - req_ := &streamSocketWithCtxSetTcpKeepAliveIntervalRequest{ValueSecs: valueSecs} - resp_ := &streamSocketWithCtxSetTcpKeepAliveIntervalResponse{} + req_ := &StreamSocketSetTcpKeepAliveIntervalRequest{ValueSecs: valueSecs} + resp_ := &StreamSocketSetTcpKeepAliveIntervalResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpKeepAliveIntervalOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_KEEPINTVL`. func (p *StreamSocketWithCtxInterface) GetTcpKeepAliveInterval(ctx_ _bindings.Context) (StreamSocketGetTcpKeepAliveIntervalResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpKeepAliveIntervalResponse{} + resp_ := &StreamSocketGetTcpKeepAliveIntervalResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpKeepAliveIntervalOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_KEEPCNT`. func (p *StreamSocketWithCtxInterface) SetTcpKeepAliveCount(ctx_ _bindings.Context, value uint32) (StreamSocketSetTcpKeepAliveCountResult, error) { - req_ := &streamSocketWithCtxSetTcpKeepAliveCountRequest{Value: value} - resp_ := &streamSocketWithCtxSetTcpKeepAliveCountResponse{} + req_ := &StreamSocketSetTcpKeepAliveCountRequest{Value: value} + resp_ := &StreamSocketSetTcpKeepAliveCountResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpKeepAliveCountOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_KEEPCNT`. func (p *StreamSocketWithCtxInterface) GetTcpKeepAliveCount(ctx_ _bindings.Context) (StreamSocketGetTcpKeepAliveCountResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpKeepAliveCountResponse{} + resp_ := &StreamSocketGetTcpKeepAliveCountResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpKeepAliveCountOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_SYNCNT`. func (p *StreamSocketWithCtxInterface) SetTcpSynCount(ctx_ _bindings.Context, value uint32) (StreamSocketSetTcpSynCountResult, error) { - req_ := &streamSocketWithCtxSetTcpSynCountRequest{Value: value} - resp_ := &streamSocketWithCtxSetTcpSynCountResponse{} + req_ := &StreamSocketSetTcpSynCountRequest{Value: value} + resp_ := &StreamSocketSetTcpSynCountResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpSynCountOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_SYNCNT`. func (p *StreamSocketWithCtxInterface) GetTcpSynCount(ctx_ _bindings.Context) (StreamSocketGetTcpSynCountResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpSynCountResponse{} + resp_ := &StreamSocketGetTcpSynCountResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpSynCountOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_LINGER2`. func (p *StreamSocketWithCtxInterface) SetTcpLinger(ctx_ _bindings.Context, valueSecs OptionalUint32) (StreamSocketSetTcpLingerResult, error) { - req_ := &streamSocketWithCtxSetTcpLingerRequest{ValueSecs: valueSecs} - resp_ := &streamSocketWithCtxSetTcpLingerResponse{} + req_ := &StreamSocketSetTcpLingerRequest{ValueSecs: valueSecs} + resp_ := &StreamSocketSetTcpLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_LINGER2`. func (p *StreamSocketWithCtxInterface) GetTcpLinger(ctx_ _bindings.Context) (StreamSocketGetTcpLingerResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpLingerResponse{} + resp_ := &StreamSocketGetTcpLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_DEFER_ACCEPT`. func (p *StreamSocketWithCtxInterface) SetTcpDeferAccept(ctx_ _bindings.Context, valueSecs uint32) (StreamSocketSetTcpDeferAcceptResult, error) { - req_ := &streamSocketWithCtxSetTcpDeferAcceptRequest{ValueSecs: valueSecs} - resp_ := &streamSocketWithCtxSetTcpDeferAcceptResponse{} + req_ := &StreamSocketSetTcpDeferAcceptRequest{ValueSecs: valueSecs} + resp_ := &StreamSocketSetTcpDeferAcceptResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpDeferAcceptOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_DEFER_ACCEPT`. func (p *StreamSocketWithCtxInterface) GetTcpDeferAccept(ctx_ _bindings.Context) (StreamSocketGetTcpDeferAcceptResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpDeferAcceptResponse{} + resp_ := &StreamSocketGetTcpDeferAcceptResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpDeferAcceptOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_WINDOW_CLAMP`. func (p *StreamSocketWithCtxInterface) SetTcpWindowClamp(ctx_ _bindings.Context, value uint32) (StreamSocketSetTcpWindowClampResult, error) { - req_ := &streamSocketWithCtxSetTcpWindowClampRequest{Value: value} - resp_ := &streamSocketWithCtxSetTcpWindowClampResponse{} + req_ := &StreamSocketSetTcpWindowClampRequest{Value: value} + resp_ := &StreamSocketSetTcpWindowClampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpWindowClampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_WINDOW_CLAMP`. func (p *StreamSocketWithCtxInterface) GetTcpWindowClamp(ctx_ _bindings.Context) (StreamSocketGetTcpWindowClampResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpWindowClampResponse{} + resp_ := &StreamSocketGetTcpWindowClampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpWindowClampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_INFO`. func (p *StreamSocketWithCtxInterface) GetTcpInfo(ctx_ _bindings.Context) (StreamSocketGetTcpInfoResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpInfoResponse{} + resp_ := &StreamSocketGetTcpInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_QUICKACK`. func (p *StreamSocketWithCtxInterface) SetTcpQuickAck(ctx_ _bindings.Context, value bool) (StreamSocketSetTcpQuickAckResult, error) { - req_ := &streamSocketWithCtxSetTcpQuickAckRequest{Value: value} - resp_ := &streamSocketWithCtxSetTcpQuickAckResponse{} + req_ := &StreamSocketSetTcpQuickAckRequest{Value: value} + resp_ := &StreamSocketSetTcpQuickAckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpQuickAckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_QUICKACK`. func (p *StreamSocketWithCtxInterface) GetTcpQuickAck(ctx_ _bindings.Context) (StreamSocketGetTcpQuickAckResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpQuickAckResponse{} + resp_ := &StreamSocketGetTcpQuickAckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpQuickAckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_CONGESTION`. func (p *StreamSocketWithCtxInterface) SetTcpCongestion(ctx_ _bindings.Context, value TcpCongestionControl) (StreamSocketSetTcpCongestionResult, error) { - req_ := &streamSocketWithCtxSetTcpCongestionRequest{Value: value} - resp_ := &streamSocketWithCtxSetTcpCongestionResponse{} + req_ := &StreamSocketSetTcpCongestionRequest{Value: value} + resp_ := &StreamSocketSetTcpCongestionResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpCongestionOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_CONGESTION`. func (p *StreamSocketWithCtxInterface) GetTcpCongestion(ctx_ _bindings.Context) (StreamSocketGetTcpCongestionResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpCongestionResponse{} + resp_ := &StreamSocketGetTcpCongestionResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpCongestionOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_TCP` -> `TCP_USER_TIMEOUT`. func (p *StreamSocketWithCtxInterface) SetTcpUserTimeout(ctx_ _bindings.Context, valueMillis uint32) (StreamSocketSetTcpUserTimeoutResult, error) { - req_ := &streamSocketWithCtxSetTcpUserTimeoutRequest{ValueMillis: valueMillis} - resp_ := &streamSocketWithCtxSetTcpUserTimeoutResponse{} + req_ := &StreamSocketSetTcpUserTimeoutRequest{ValueMillis: valueMillis} + resp_ := &StreamSocketSetTcpUserTimeoutResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketSetTcpUserTimeoutOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_TCP` -> `TCP_USER_TIMEOUT`. func (p *StreamSocketWithCtxInterface) GetTcpUserTimeout(ctx_ _bindings.Context) (StreamSocketGetTcpUserTimeoutResult, error) { var req_ _bindings.Message - resp_ := &streamSocketWithCtxGetTcpUserTimeoutResponse{} + resp_ := &StreamSocketGetTcpUserTimeoutResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(StreamSocketGetTcpUserTimeoutOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // A stream socket. @@ -23893,6 +18279,14 @@ AddIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) // Set `SOL_IP` -> `IP_DROP_MEMBERSHIP` DropIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketDropIpMembershipResult, error) + // Set `SOL_IP` -> `IP_TRANSPARENT` + SetIpTransparent(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpTransparentResult, error) + // Get `SOL_IP` -> `IP_TRANSPARENT` + GetIpTransparent(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTransparentResult, error) + // Set `SOL_IP` -> `IP_RECVORIGDSTADDR` + SetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) + // Get `SOL_IP` -> `IP_RECVORIGDSTADDR` + GetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) // Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`. AddIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) // Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`. @@ -23933,6 +18327,8 @@ SetIpv6ReceivePacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceivePacketInfoResult, error) // Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`. GetIpv6ReceivePacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceivePacketInfoResult, error) + // Get `SOL_IP` -> `SO_ORIGINAL_DST`. + GetOriginalDestination(ctx_ _bindings.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) Describe(ctx_ _bindings.Context) (StreamSocketDescribeResponse, error) // Begins listening for new incoming connections. At most `backlog` // connections will be buffered. @@ -24013,7 +18409,7 @@ func (s_ *StreamSocketWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case StreamSocketClone2Ordinal: - in_ := &streamSocketWithCtxClone2Request{} + in_ := &fuchsiaunknown.CloneableClone2Request{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24024,15 +18420,15 @@ err_ := s_.Impl.Clone2(args_.Ctx, (*in_).Request) return nil, false, err_ case StreamSocketCloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &streamSocketWithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketQueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &streamSocketWithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case StreamSocketSetReuseAddressOrdinal: - in_ := &streamSocketWithCtxSetReuseAddressRequest{} + in_ := &BaseSocketSetReuseAddressRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24040,19 +18436,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetReuseAddressOrdinal: - result, err_ := s_.Impl.GetReuseAddress(args_.Ctx) - out_ := &streamSocketWithCtxGetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.GetReuseAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketGetErrorOrdinal: - result, err_ := s_.Impl.GetError(args_.Ctx) - out_ := &streamSocketWithCtxGetErrorResponse{Result: result} + payload, err_ := s_.Impl.GetError(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetBroadcastOrdinal: - in_ := &streamSocketWithCtxSetBroadcastRequest{} + in_ := &BaseSocketSetBroadcastRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24060,15 +18456,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetBroadcastOrdinal: - result, err_ := s_.Impl.GetBroadcast(args_.Ctx) - out_ := &streamSocketWithCtxGetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.GetBroadcast(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetSendBufferOrdinal: - in_ := &streamSocketWithCtxSetSendBufferRequest{} + in_ := &BaseSocketSetSendBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24076,15 +18472,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &streamSocketWithCtxSetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case StreamSocketGetSendBufferOrdinal: - result, err_ := s_.Impl.GetSendBuffer(args_.Ctx) - out_ := &streamSocketWithCtxGetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.GetSendBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetReceiveBufferOrdinal: - in_ := &streamSocketWithCtxSetReceiveBufferRequest{} + in_ := &BaseSocketSetReceiveBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24092,15 +18488,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &streamSocketWithCtxSetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case StreamSocketGetReceiveBufferOrdinal: - result, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) - out_ := &streamSocketWithCtxGetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetKeepAliveOrdinal: - in_ := &streamSocketWithCtxSetKeepAliveRequest{} + in_ := &BaseSocketSetKeepAliveRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24108,15 +18504,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetKeepAliveOrdinal: - result, err_ := s_.Impl.GetKeepAlive(args_.Ctx) - out_ := &streamSocketWithCtxGetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.GetKeepAlive(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetOutOfBandInlineOrdinal: - in_ := &streamSocketWithCtxSetOutOfBandInlineRequest{} + in_ := &BaseSocketSetOutOfBandInlineRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24124,15 +18520,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetOutOfBandInlineOrdinal: - result, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) - out_ := &streamSocketWithCtxGetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetNoCheckOrdinal: - in_ := &streamSocketWithCtxSetNoCheckRequest{} + in_ := &BaseSocketSetNoCheckRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24140,15 +18536,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetNoCheckOrdinal: - result, err_ := s_.Impl.GetNoCheck(args_.Ctx) - out_ := &streamSocketWithCtxGetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.GetNoCheck(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetLingerOrdinal: - in_ := &streamSocketWithCtxSetLingerRequest{} + in_ := &BaseSocketSetLingerRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24156,15 +18552,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) - out_ := &streamSocketWithCtxSetLingerResponse{Result: result} + payload, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) + out_ := &payload return out_, true, err_ case StreamSocketGetLingerOrdinal: - result, err_ := s_.Impl.GetLinger(args_.Ctx) - out_ := &streamSocketWithCtxGetLingerResponse{Result: result} + payload, err_ := s_.Impl.GetLinger(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetReusePortOrdinal: - in_ := &streamSocketWithCtxSetReusePortRequest{} + in_ := &BaseSocketSetReusePortRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24172,19 +18568,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetReusePortResponse{Result: result} + payload, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetReusePortOrdinal: - result, err_ := s_.Impl.GetReusePort(args_.Ctx) - out_ := &streamSocketWithCtxGetReusePortResponse{Result: result} + payload, err_ := s_.Impl.GetReusePort(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketGetAcceptConnOrdinal: - result, err_ := s_.Impl.GetAcceptConn(args_.Ctx) - out_ := &streamSocketWithCtxGetAcceptConnResponse{Result: result} + payload, err_ := s_.Impl.GetAcceptConn(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetBindToDeviceOrdinal: - in_ := &streamSocketWithCtxSetBindToDeviceRequest{} + in_ := &BaseSocketSetBindToDeviceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24192,15 +18588,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetBindToDeviceOrdinal: - result, err_ := s_.Impl.GetBindToDevice(args_.Ctx) - out_ := &streamSocketWithCtxGetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.GetBindToDevice(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTimestampOrdinal: - in_ := &streamSocketWithCtxSetTimestampRequest{} + in_ := &BaseSocketSetTimestampRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24208,15 +18604,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetTimestampResponse{Result: result} + payload, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetTimestampOrdinal: - result, err_ := s_.Impl.GetTimestamp(args_.Ctx) - out_ := &streamSocketWithCtxGetTimestampResponse{Result: result} + payload, err_ := s_.Impl.GetTimestamp(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketBindOrdinal: - in_ := &streamSocketWithCtxBindRequest{} + in_ := &BaseNetworkSocketBindRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24224,11 +18620,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Bind(args_.Ctx, (*in_).Addr) - out_ := &streamSocketWithCtxBindResponse{Result: result} + payload, err_ := s_.Impl.Bind(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ case StreamSocketConnectOrdinal: - in_ := &streamSocketWithCtxConnectRequest{} + in_ := &BaseNetworkSocketConnectRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24236,23 +18632,23 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Connect(args_.Ctx, (*in_).Addr) - out_ := &streamSocketWithCtxConnectResponse{Result: result} + payload, err_ := s_.Impl.Connect(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ case StreamSocketDisconnectOrdinal: - result, err_ := s_.Impl.Disconnect(args_.Ctx) - out_ := &streamSocketWithCtxDisconnectResponse{Result: result} + payload, err_ := s_.Impl.Disconnect(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketGetSockNameOrdinal: - result, err_ := s_.Impl.GetSockName(args_.Ctx) - out_ := &streamSocketWithCtxGetSockNameResponse{Result: result} + payload, err_ := s_.Impl.GetSockName(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketGetPeerNameOrdinal: - result, err_ := s_.Impl.GetPeerName(args_.Ctx) - out_ := &streamSocketWithCtxGetPeerNameResponse{Result: result} + payload, err_ := s_.Impl.GetPeerName(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketShutdownOrdinal: - in_ := &streamSocketWithCtxShutdownRequest{} + in_ := &BaseNetworkSocketShutdownRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24260,11 +18656,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Shutdown(args_.Ctx, (*in_).Mode) - out_ := &streamSocketWithCtxShutdownResponse{Result: result} + payload, err_ := s_.Impl.Shutdown(args_.Ctx, (*in_).Mode) + out_ := &payload return out_, true, err_ case StreamSocketSetIpTypeOfServiceOrdinal: - in_ := &streamSocketWithCtxSetIpTypeOfServiceRequest{} + in_ := &BaseNetworkSocketSetIpTypeOfServiceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24272,15 +18668,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpTypeOfService(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.SetIpTypeOfService(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpTypeOfServiceOrdinal: - result, err_ := s_.Impl.GetIpTypeOfService(args_.Ctx) - out_ := &streamSocketWithCtxGetIpTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.GetIpTypeOfService(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpTtlOrdinal: - in_ := &streamSocketWithCtxSetIpTtlRequest{} + in_ := &BaseNetworkSocketSetIpTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24288,15 +18684,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpTtl(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpTtlOrdinal: - result, err_ := s_.Impl.GetIpTtl(args_.Ctx) - out_ := &streamSocketWithCtxGetIpTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpPacketInfoOrdinal: - in_ := &streamSocketWithCtxSetIpPacketInfoRequest{} + in_ := &BaseNetworkSocketSetIpPacketInfoRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24304,15 +18700,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpPacketInfo(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpPacketInfoResponse{Result: result} + payload, err_ := s_.Impl.SetIpPacketInfo(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpPacketInfoOrdinal: - result, err_ := s_.Impl.GetIpPacketInfo(args_.Ctx) - out_ := &streamSocketWithCtxGetIpPacketInfoResponse{Result: result} + payload, err_ := s_.Impl.GetIpPacketInfo(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpReceiveTypeOfServiceOrdinal: - in_ := &streamSocketWithCtxSetIpReceiveTypeOfServiceRequest{} + in_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24320,15 +18716,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpReceiveTypeOfService(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpReceiveTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.SetIpReceiveTypeOfService(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpReceiveTypeOfServiceOrdinal: - result, err_ := s_.Impl.GetIpReceiveTypeOfService(args_.Ctx) - out_ := &streamSocketWithCtxGetIpReceiveTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.GetIpReceiveTypeOfService(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpReceiveTtlOrdinal: - in_ := &streamSocketWithCtxSetIpReceiveTtlRequest{} + in_ := &BaseNetworkSocketSetIpReceiveTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24336,15 +18732,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpReceiveTtl(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpReceiveTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpReceiveTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpReceiveTtlOrdinal: - result, err_ := s_.Impl.GetIpReceiveTtl(args_.Ctx) - out_ := &streamSocketWithCtxGetIpReceiveTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpReceiveTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpMulticastInterfaceOrdinal: - in_ := &streamSocketWithCtxSetIpMulticastInterfaceRequest{} + in_ := &BaseNetworkSocketSetIpMulticastInterfaceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24352,15 +18748,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastInterface(args_.Ctx, (*in_).Iface, (*in_).Address) - out_ := &streamSocketWithCtxSetIpMulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastInterface(args_.Ctx, (*in_).Iface, (*in_).Address) + out_ := &payload return out_, true, err_ case StreamSocketGetIpMulticastInterfaceOrdinal: - result, err_ := s_.Impl.GetIpMulticastInterface(args_.Ctx) - out_ := &streamSocketWithCtxGetIpMulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastInterface(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpMulticastTtlOrdinal: - in_ := &streamSocketWithCtxSetIpMulticastTtlRequest{} + in_ := &BaseNetworkSocketSetIpMulticastTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24368,15 +18764,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastTtl(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpMulticastTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpMulticastTtlOrdinal: - result, err_ := s_.Impl.GetIpMulticastTtl(args_.Ctx) - out_ := &streamSocketWithCtxGetIpMulticastTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpMulticastLoopbackOrdinal: - in_ := &streamSocketWithCtxSetIpMulticastLoopbackRequest{} + in_ := &BaseNetworkSocketSetIpMulticastLoopbackRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24384,15 +18780,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastLoopback(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpMulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastLoopback(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpMulticastLoopbackOrdinal: - result, err_ := s_.Impl.GetIpMulticastLoopback(args_.Ctx) - out_ := &streamSocketWithCtxGetIpMulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastLoopback(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketAddIpMembershipOrdinal: - in_ := &streamSocketWithCtxAddIpMembershipRequest{} + in_ := &BaseNetworkSocketAddIpMembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24400,11 +18796,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AddIpMembership(args_.Ctx, (*in_).Membership) - out_ := &streamSocketWithCtxAddIpMembershipResponse{Result: result} + payload, err_ := s_.Impl.AddIpMembership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case StreamSocketDropIpMembershipOrdinal: - in_ := &streamSocketWithCtxDropIpMembershipRequest{} + in_ := &BaseNetworkSocketDropIpMembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24412,11 +18808,43 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DropIpMembership(args_.Ctx, (*in_).Membership) - out_ := &streamSocketWithCtxDropIpMembershipResponse{Result: result} + payload, err_ := s_.Impl.DropIpMembership(args_.Ctx, (*in_).Membership) + out_ := &payload + return out_, true, err_ + case StreamSocketSetIpTransparentOrdinal: + in_ := &BaseNetworkSocketSetIpTransparentRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetIpTransparent(args_.Ctx, (*in_).Value) + out_ := &payload + return out_, true, err_ + case StreamSocketGetIpTransparentOrdinal: + payload, err_ := s_.Impl.GetIpTransparent(args_.Ctx) + out_ := &payload + return out_, true, err_ + case StreamSocketSetIpReceiveOriginalDestinationAddressOrdinal: + in_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetIpReceiveOriginalDestinationAddress(args_.Ctx, (*in_).Value) + out_ := &payload + return out_, true, err_ + case StreamSocketGetIpReceiveOriginalDestinationAddressOrdinal: + payload, err_ := s_.Impl.GetIpReceiveOriginalDestinationAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketAddIpv6MembershipOrdinal: - in_ := &streamSocketWithCtxAddIpv6MembershipRequest{} + in_ := &BaseNetworkSocketAddIpv6MembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24424,11 +18852,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AddIpv6Membership(args_.Ctx, (*in_).Membership) - out_ := &streamSocketWithCtxAddIpv6MembershipResponse{Result: result} + payload, err_ := s_.Impl.AddIpv6Membership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case StreamSocketDropIpv6MembershipOrdinal: - in_ := &streamSocketWithCtxDropIpv6MembershipRequest{} + in_ := &BaseNetworkSocketDropIpv6MembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24436,11 +18864,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DropIpv6Membership(args_.Ctx, (*in_).Membership) - out_ := &streamSocketWithCtxDropIpv6MembershipResponse{Result: result} + payload, err_ := s_.Impl.DropIpv6Membership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case StreamSocketSetIpv6MulticastInterfaceOrdinal: - in_ := &streamSocketWithCtxSetIpv6MulticastInterfaceRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastInterfaceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24448,15 +18876,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastInterface(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpv6MulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastInterface(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpv6MulticastInterfaceOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastInterface(args_.Ctx) - out_ := &streamSocketWithCtxGetIpv6MulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastInterface(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpv6UnicastHopsOrdinal: - in_ := &streamSocketWithCtxSetIpv6UnicastHopsRequest{} + in_ := &BaseNetworkSocketSetIpv6UnicastHopsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24464,15 +18892,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6UnicastHops(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpv6UnicastHopsResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6UnicastHops(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpv6UnicastHopsOrdinal: - result, err_ := s_.Impl.GetIpv6UnicastHops(args_.Ctx) - out_ := &streamSocketWithCtxGetIpv6UnicastHopsResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6UnicastHops(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpv6ReceiveHopLimitOrdinal: - in_ := &streamSocketWithCtxSetIpv6ReceiveHopLimitRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24480,15 +18908,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceiveHopLimit(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpv6ReceiveHopLimitResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceiveHopLimit(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpv6ReceiveHopLimitOrdinal: - result, err_ := s_.Impl.GetIpv6ReceiveHopLimit(args_.Ctx) - out_ := &streamSocketWithCtxGetIpv6ReceiveHopLimitResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceiveHopLimit(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpv6MulticastHopsOrdinal: - in_ := &streamSocketWithCtxSetIpv6MulticastHopsRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastHopsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24496,15 +18924,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastHops(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpv6MulticastHopsResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastHops(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpv6MulticastHopsOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastHops(args_.Ctx) - out_ := &streamSocketWithCtxGetIpv6MulticastHopsResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastHops(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpv6MulticastLoopbackOrdinal: - in_ := &streamSocketWithCtxSetIpv6MulticastLoopbackRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastLoopbackRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24512,15 +18940,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastLoopback(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpv6MulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastLoopback(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpv6MulticastLoopbackOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastLoopback(args_.Ctx) - out_ := &streamSocketWithCtxGetIpv6MulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastLoopback(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpv6OnlyOrdinal: - in_ := &streamSocketWithCtxSetIpv6OnlyRequest{} + in_ := &BaseNetworkSocketSetIpv6OnlyRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24528,15 +18956,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6Only(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpv6OnlyResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6Only(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpv6OnlyOrdinal: - result, err_ := s_.Impl.GetIpv6Only(args_.Ctx) - out_ := &streamSocketWithCtxGetIpv6OnlyResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6Only(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpv6ReceiveTrafficClassOrdinal: - in_ := &streamSocketWithCtxSetIpv6ReceiveTrafficClassRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24544,15 +18972,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceiveTrafficClass(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpv6ReceiveTrafficClassResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceiveTrafficClass(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpv6ReceiveTrafficClassOrdinal: - result, err_ := s_.Impl.GetIpv6ReceiveTrafficClass(args_.Ctx) - out_ := &streamSocketWithCtxGetIpv6ReceiveTrafficClassResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceiveTrafficClass(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpv6TrafficClassOrdinal: - in_ := &streamSocketWithCtxSetIpv6TrafficClassRequest{} + in_ := &BaseNetworkSocketSetIpv6TrafficClassRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24560,15 +18988,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6TrafficClass(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpv6TrafficClassResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6TrafficClass(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpv6TrafficClassOrdinal: - result, err_ := s_.Impl.GetIpv6TrafficClass(args_.Ctx) - out_ := &streamSocketWithCtxGetIpv6TrafficClassResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6TrafficClass(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetIpv6ReceivePacketInfoOrdinal: - in_ := &streamSocketWithCtxSetIpv6ReceivePacketInfoRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24576,19 +19004,23 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceivePacketInfo(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetIpv6ReceivePacketInfoResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceivePacketInfo(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetIpv6ReceivePacketInfoOrdinal: - result, err_ := s_.Impl.GetIpv6ReceivePacketInfo(args_.Ctx) - out_ := &streamSocketWithCtxGetIpv6ReceivePacketInfoResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceivePacketInfo(args_.Ctx) + out_ := &payload + return out_, true, err_ + case StreamSocketGetOriginalDestinationOrdinal: + payload, err_ := s_.Impl.GetOriginalDestination(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketDescribeOrdinal: payload, err_ := s_.Impl.Describe(args_.Ctx) out_ := &payload return out_, true, err_ case StreamSocketListenOrdinal: - in_ := &streamSocketWithCtxListenRequest{} + in_ := &StreamSocketListenRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24596,11 +19028,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Listen(args_.Ctx, (*in_).Backlog) - out_ := &streamSocketWithCtxListenResponse{Result: result} + payload, err_ := s_.Impl.Listen(args_.Ctx, (*in_).Backlog) + out_ := &payload return out_, true, err_ case StreamSocketAcceptOrdinal: - in_ := &streamSocketWithCtxAcceptRequest{} + in_ := &StreamSocketAcceptRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24608,15 +19040,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Accept(args_.Ctx, (*in_).WantAddr) - out_ := &streamSocketWithCtxAcceptResponse{Result: result} + payload, err_ := s_.Impl.Accept(args_.Ctx, (*in_).WantAddr) + out_ := &payload return out_, true, err_ case StreamSocketGetInfoOrdinal: - result, err_ := s_.Impl.GetInfo(args_.Ctx) - out_ := &streamSocketWithCtxGetInfoResponse{Result: result} + payload, err_ := s_.Impl.GetInfo(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpNoDelayOrdinal: - in_ := &streamSocketWithCtxSetTcpNoDelayRequest{} + in_ := &StreamSocketSetTcpNoDelayRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24624,15 +19056,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpNoDelay(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetTcpNoDelayResponse{Result: result} + payload, err_ := s_.Impl.SetTcpNoDelay(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpNoDelayOrdinal: - result, err_ := s_.Impl.GetTcpNoDelay(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpNoDelayResponse{Result: result} + payload, err_ := s_.Impl.GetTcpNoDelay(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpMaxSegmentOrdinal: - in_ := &streamSocketWithCtxSetTcpMaxSegmentRequest{} + in_ := &StreamSocketSetTcpMaxSegmentRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24640,15 +19072,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpMaxSegment(args_.Ctx, (*in_).ValueBytes) - out_ := &streamSocketWithCtxSetTcpMaxSegmentResponse{Result: result} + payload, err_ := s_.Impl.SetTcpMaxSegment(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpMaxSegmentOrdinal: - result, err_ := s_.Impl.GetTcpMaxSegment(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpMaxSegmentResponse{Result: result} + payload, err_ := s_.Impl.GetTcpMaxSegment(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpCorkOrdinal: - in_ := &streamSocketWithCtxSetTcpCorkRequest{} + in_ := &StreamSocketSetTcpCorkRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24656,15 +19088,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpCork(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetTcpCorkResponse{Result: result} + payload, err_ := s_.Impl.SetTcpCork(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpCorkOrdinal: - result, err_ := s_.Impl.GetTcpCork(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpCorkResponse{Result: result} + payload, err_ := s_.Impl.GetTcpCork(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpKeepAliveIdleOrdinal: - in_ := &streamSocketWithCtxSetTcpKeepAliveIdleRequest{} + in_ := &StreamSocketSetTcpKeepAliveIdleRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24672,15 +19104,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpKeepAliveIdle(args_.Ctx, (*in_).ValueSecs) - out_ := &streamSocketWithCtxSetTcpKeepAliveIdleResponse{Result: result} + payload, err_ := s_.Impl.SetTcpKeepAliveIdle(args_.Ctx, (*in_).ValueSecs) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpKeepAliveIdleOrdinal: - result, err_ := s_.Impl.GetTcpKeepAliveIdle(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpKeepAliveIdleResponse{Result: result} + payload, err_ := s_.Impl.GetTcpKeepAliveIdle(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpKeepAliveIntervalOrdinal: - in_ := &streamSocketWithCtxSetTcpKeepAliveIntervalRequest{} + in_ := &StreamSocketSetTcpKeepAliveIntervalRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24688,15 +19120,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpKeepAliveInterval(args_.Ctx, (*in_).ValueSecs) - out_ := &streamSocketWithCtxSetTcpKeepAliveIntervalResponse{Result: result} + payload, err_ := s_.Impl.SetTcpKeepAliveInterval(args_.Ctx, (*in_).ValueSecs) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpKeepAliveIntervalOrdinal: - result, err_ := s_.Impl.GetTcpKeepAliveInterval(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpKeepAliveIntervalResponse{Result: result} + payload, err_ := s_.Impl.GetTcpKeepAliveInterval(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpKeepAliveCountOrdinal: - in_ := &streamSocketWithCtxSetTcpKeepAliveCountRequest{} + in_ := &StreamSocketSetTcpKeepAliveCountRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24704,15 +19136,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpKeepAliveCount(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetTcpKeepAliveCountResponse{Result: result} + payload, err_ := s_.Impl.SetTcpKeepAliveCount(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpKeepAliveCountOrdinal: - result, err_ := s_.Impl.GetTcpKeepAliveCount(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpKeepAliveCountResponse{Result: result} + payload, err_ := s_.Impl.GetTcpKeepAliveCount(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpSynCountOrdinal: - in_ := &streamSocketWithCtxSetTcpSynCountRequest{} + in_ := &StreamSocketSetTcpSynCountRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24720,15 +19152,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpSynCount(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetTcpSynCountResponse{Result: result} + payload, err_ := s_.Impl.SetTcpSynCount(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpSynCountOrdinal: - result, err_ := s_.Impl.GetTcpSynCount(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpSynCountResponse{Result: result} + payload, err_ := s_.Impl.GetTcpSynCount(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpLingerOrdinal: - in_ := &streamSocketWithCtxSetTcpLingerRequest{} + in_ := &StreamSocketSetTcpLingerRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24736,15 +19168,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpLinger(args_.Ctx, (*in_).ValueSecs) - out_ := &streamSocketWithCtxSetTcpLingerResponse{Result: result} + payload, err_ := s_.Impl.SetTcpLinger(args_.Ctx, (*in_).ValueSecs) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpLingerOrdinal: - result, err_ := s_.Impl.GetTcpLinger(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpLingerResponse{Result: result} + payload, err_ := s_.Impl.GetTcpLinger(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpDeferAcceptOrdinal: - in_ := &streamSocketWithCtxSetTcpDeferAcceptRequest{} + in_ := &StreamSocketSetTcpDeferAcceptRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24752,15 +19184,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpDeferAccept(args_.Ctx, (*in_).ValueSecs) - out_ := &streamSocketWithCtxSetTcpDeferAcceptResponse{Result: result} + payload, err_ := s_.Impl.SetTcpDeferAccept(args_.Ctx, (*in_).ValueSecs) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpDeferAcceptOrdinal: - result, err_ := s_.Impl.GetTcpDeferAccept(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpDeferAcceptResponse{Result: result} + payload, err_ := s_.Impl.GetTcpDeferAccept(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpWindowClampOrdinal: - in_ := &streamSocketWithCtxSetTcpWindowClampRequest{} + in_ := &StreamSocketSetTcpWindowClampRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24768,19 +19200,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpWindowClamp(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetTcpWindowClampResponse{Result: result} + payload, err_ := s_.Impl.SetTcpWindowClamp(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpWindowClampOrdinal: - result, err_ := s_.Impl.GetTcpWindowClamp(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpWindowClampResponse{Result: result} + payload, err_ := s_.Impl.GetTcpWindowClamp(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpInfoOrdinal: - result, err_ := s_.Impl.GetTcpInfo(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpInfoResponse{Result: result} + payload, err_ := s_.Impl.GetTcpInfo(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpQuickAckOrdinal: - in_ := &streamSocketWithCtxSetTcpQuickAckRequest{} + in_ := &StreamSocketSetTcpQuickAckRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24788,15 +19220,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpQuickAck(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetTcpQuickAckResponse{Result: result} + payload, err_ := s_.Impl.SetTcpQuickAck(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpQuickAckOrdinal: - result, err_ := s_.Impl.GetTcpQuickAck(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpQuickAckResponse{Result: result} + payload, err_ := s_.Impl.GetTcpQuickAck(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpCongestionOrdinal: - in_ := &streamSocketWithCtxSetTcpCongestionRequest{} + in_ := &StreamSocketSetTcpCongestionRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24804,15 +19236,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpCongestion(args_.Ctx, (*in_).Value) - out_ := &streamSocketWithCtxSetTcpCongestionResponse{Result: result} + payload, err_ := s_.Impl.SetTcpCongestion(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpCongestionOrdinal: - result, err_ := s_.Impl.GetTcpCongestion(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpCongestionResponse{Result: result} + payload, err_ := s_.Impl.GetTcpCongestion(args_.Ctx) + out_ := &payload return out_, true, err_ case StreamSocketSetTcpUserTimeoutOrdinal: - in_ := &streamSocketWithCtxSetTcpUserTimeoutRequest{} + in_ := &StreamSocketSetTcpUserTimeoutRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -24820,12 +19252,12 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTcpUserTimeout(args_.Ctx, (*in_).ValueMillis) - out_ := &streamSocketWithCtxSetTcpUserTimeoutResponse{Result: result} + payload, err_ := s_.Impl.SetTcpUserTimeout(args_.Ctx, (*in_).ValueMillis) + out_ := &payload return out_, true, err_ case StreamSocketGetTcpUserTimeoutOrdinal: - result, err_ := s_.Impl.GetTcpUserTimeout(args_.Ctx) - out_ := &streamSocketWithCtxGetTcpUserTimeoutResponse{Result: result} + payload, err_ := s_.Impl.GetTcpUserTimeout(args_.Ctx) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -24834,87 +19266,92 @@ type StreamSocketEventProxy _bindings.ChannelProxy const ( - SynchronousDatagramSocketClone2Ordinal uint64 = 0x20d8a7aba2168a79 - SynchronousDatagramSocketCloseOrdinal uint64 = 0x5ac5d459ad7f657e - SynchronousDatagramSocketQueryOrdinal uint64 = 0x2658edee9decfc06 - SynchronousDatagramSocketSetReuseAddressOrdinal uint64 = 0x1fd74ee8b9a4a876 - SynchronousDatagramSocketGetReuseAddressOrdinal uint64 = 0x67b7206b8d1bc0a5 - SynchronousDatagramSocketGetErrorOrdinal uint64 = 0x5aad39b33e5f6ebb - SynchronousDatagramSocketSetBroadcastOrdinal uint64 = 0x6023e081ce3cd947 - SynchronousDatagramSocketGetBroadcastOrdinal uint64 = 0x68796fc556f9780d - SynchronousDatagramSocketSetSendBufferOrdinal uint64 = 0x756eac32d73a7a70 - SynchronousDatagramSocketGetSendBufferOrdinal uint64 = 0x78a52fd9c7b2410b - SynchronousDatagramSocketSetReceiveBufferOrdinal uint64 = 0x6b0cf2f1919c7001 - SynchronousDatagramSocketGetReceiveBufferOrdinal uint64 = 0x14c1a4b64f709e5c - SynchronousDatagramSocketSetKeepAliveOrdinal uint64 = 0x572df8f0b920d2c7 - SynchronousDatagramSocketGetKeepAliveOrdinal uint64 = 0x2dd29d3215f2c9d2 - SynchronousDatagramSocketSetOutOfBandInlineOrdinal uint64 = 0x3ecb49968bee439 - SynchronousDatagramSocketGetOutOfBandInlineOrdinal uint64 = 0x348c1ab3aeca1745 - SynchronousDatagramSocketSetNoCheckOrdinal uint64 = 0x6bbf00c53a4c78c2 - SynchronousDatagramSocketGetNoCheckOrdinal uint64 = 0x2cd4249286417694 - SynchronousDatagramSocketSetLingerOrdinal uint64 = 0x45386351246e998e - SynchronousDatagramSocketGetLingerOrdinal uint64 = 0x48eb20fc5ccb0e45 - SynchronousDatagramSocketSetReusePortOrdinal uint64 = 0x24dd3e5cb36d9ccb - SynchronousDatagramSocketGetReusePortOrdinal uint64 = 0x7a112c1ab54ff828 - SynchronousDatagramSocketGetAcceptConnOrdinal uint64 = 0x67ce6db6c2ec8966 - SynchronousDatagramSocketSetBindToDeviceOrdinal uint64 = 0x2118b483f28aafc4 - SynchronousDatagramSocketGetBindToDeviceOrdinal uint64 = 0x1ab1fbf0ef7906c8 - SynchronousDatagramSocketSetTimestampOrdinal uint64 = 0x285d6516c263d839 - SynchronousDatagramSocketGetTimestampOrdinal uint64 = 0x49f2fffbbcc2bd27 - SynchronousDatagramSocketBindOrdinal uint64 = 0x4bc6400ae92125d - SynchronousDatagramSocketConnectOrdinal uint64 = 0x5f05f19bfdd38871 - SynchronousDatagramSocketDisconnectOrdinal uint64 = 0x74e63b91f7b29b2 - SynchronousDatagramSocketGetSockNameOrdinal uint64 = 0x475f23f84a1a4f85 - SynchronousDatagramSocketGetPeerNameOrdinal uint64 = 0x1ffecf4bd5b6432e - SynchronousDatagramSocketShutdownOrdinal uint64 = 0x247f38b6db68c336 - SynchronousDatagramSocketSetIpTypeOfServiceOrdinal uint64 = 0x995c600475b6d46 - SynchronousDatagramSocketGetIpTypeOfServiceOrdinal uint64 = 0x3814a04259f75fcb - SynchronousDatagramSocketSetIpTtlOrdinal uint64 = 0x29e2424b433ae1ef - SynchronousDatagramSocketGetIpTtlOrdinal uint64 = 0x47e47fa1f24da471 - SynchronousDatagramSocketSetIpPacketInfoOrdinal uint64 = 0x392d16bee20c0e16 - SynchronousDatagramSocketGetIpPacketInfoOrdinal uint64 = 0x54b505f242280740 - SynchronousDatagramSocketSetIpReceiveTypeOfServiceOrdinal uint64 = 0x6c4f6714995f84ef - SynchronousDatagramSocketGetIpReceiveTypeOfServiceOrdinal uint64 = 0x4158ba7dc2795960 - SynchronousDatagramSocketSetIpReceiveTtlOrdinal uint64 = 0x46f15be0ce0ab82b - SynchronousDatagramSocketGetIpReceiveTtlOrdinal uint64 = 0x678ddd5a5dfa2eb5 - SynchronousDatagramSocketSetIpMulticastInterfaceOrdinal uint64 = 0x752fbfa9b12befe - SynchronousDatagramSocketGetIpMulticastInterfaceOrdinal uint64 = 0x320bd14c4df046c4 - SynchronousDatagramSocketSetIpMulticastTtlOrdinal uint64 = 0x63134d53772916a1 - SynchronousDatagramSocketGetIpMulticastTtlOrdinal uint64 = 0x4665cd378f39e1a - SynchronousDatagramSocketSetIpMulticastLoopbackOrdinal uint64 = 0x20c55c11f00943ea - SynchronousDatagramSocketGetIpMulticastLoopbackOrdinal uint64 = 0x3b6b26ff558298f2 - SynchronousDatagramSocketAddIpMembershipOrdinal uint64 = 0x76bc7df115a3b4d0 - SynchronousDatagramSocketDropIpMembershipOrdinal uint64 = 0x2888f3099188d03 - SynchronousDatagramSocketAddIpv6MembershipOrdinal uint64 = 0x7c94727acb4ea4b3 - SynchronousDatagramSocketDropIpv6MembershipOrdinal uint64 = 0x42104c70ccaba304 - SynchronousDatagramSocketSetIpv6MulticastInterfaceOrdinal uint64 = 0x135f76db3774ab3b - SynchronousDatagramSocketGetIpv6MulticastInterfaceOrdinal uint64 = 0x1f26fcdd348f1882 - SynchronousDatagramSocketSetIpv6UnicastHopsOrdinal uint64 = 0x157d51e98f462859 - SynchronousDatagramSocketGetIpv6UnicastHopsOrdinal uint64 = 0x21f4641cad8bd8d2 - SynchronousDatagramSocketSetIpv6ReceiveHopLimitOrdinal uint64 = 0x5c24808ed2e84a1e - SynchronousDatagramSocketGetIpv6ReceiveHopLimitOrdinal uint64 = 0x341e06689885b4c0 - SynchronousDatagramSocketSetIpv6MulticastHopsOrdinal uint64 = 0x25b9cd4d181f82c1 - SynchronousDatagramSocketGetIpv6MulticastHopsOrdinal uint64 = 0x52916948a365012a - SynchronousDatagramSocketSetIpv6MulticastLoopbackOrdinal uint64 = 0x55701c409ff41b40 - SynchronousDatagramSocketGetIpv6MulticastLoopbackOrdinal uint64 = 0x4415b701fde319c3 - SynchronousDatagramSocketSetIpv6OnlyOrdinal uint64 = 0x4873f1364758cbba - SynchronousDatagramSocketGetIpv6OnlyOrdinal uint64 = 0x4aa3340a1a26b89c - SynchronousDatagramSocketSetIpv6ReceiveTrafficClassOrdinal uint64 = 0x58f07c8788d099a0 - SynchronousDatagramSocketGetIpv6ReceiveTrafficClassOrdinal uint64 = 0x2e334df1da553ffa - SynchronousDatagramSocketSetIpv6TrafficClassOrdinal uint64 = 0x6af077800c5a0b4f - SynchronousDatagramSocketGetIpv6TrafficClassOrdinal uint64 = 0x6baf6eed8fc2f04 - SynchronousDatagramSocketSetIpv6ReceivePacketInfoOrdinal uint64 = 0x19259775b1a92768 - SynchronousDatagramSocketGetIpv6ReceivePacketInfoOrdinal uint64 = 0x7acd4a2775baec75 - SynchronousDatagramSocketGetInfoOrdinal uint64 = 0x48aa0a1f6a32d2ed - SynchronousDatagramSocketDescribeOrdinal uint64 = 0x585f20b73631070d - SynchronousDatagramSocketRecvMsgOrdinal uint64 = 0x28e494e48fb5dbf3 - SynchronousDatagramSocketSendMsgOrdinal uint64 = 0x12dc2fceab6cefaa + SynchronousDatagramSocketClone2Ordinal uint64 = 0x20d8a7aba2168a79 + SynchronousDatagramSocketCloseOrdinal uint64 = 0x5ac5d459ad7f657e + SynchronousDatagramSocketQueryOrdinal uint64 = 0x2658edee9decfc06 + SynchronousDatagramSocketSetReuseAddressOrdinal uint64 = 0x1fd74ee8b9a4a876 + SynchronousDatagramSocketGetReuseAddressOrdinal uint64 = 0x67b7206b8d1bc0a5 + SynchronousDatagramSocketGetErrorOrdinal uint64 = 0x5aad39b33e5f6ebb + SynchronousDatagramSocketSetBroadcastOrdinal uint64 = 0x6023e081ce3cd947 + SynchronousDatagramSocketGetBroadcastOrdinal uint64 = 0x68796fc556f9780d + SynchronousDatagramSocketSetSendBufferOrdinal uint64 = 0x756eac32d73a7a70 + SynchronousDatagramSocketGetSendBufferOrdinal uint64 = 0x78a52fd9c7b2410b + SynchronousDatagramSocketSetReceiveBufferOrdinal uint64 = 0x6b0cf2f1919c7001 + SynchronousDatagramSocketGetReceiveBufferOrdinal uint64 = 0x14c1a4b64f709e5c + SynchronousDatagramSocketSetKeepAliveOrdinal uint64 = 0x572df8f0b920d2c7 + SynchronousDatagramSocketGetKeepAliveOrdinal uint64 = 0x2dd29d3215f2c9d2 + SynchronousDatagramSocketSetOutOfBandInlineOrdinal uint64 = 0x3ecb49968bee439 + SynchronousDatagramSocketGetOutOfBandInlineOrdinal uint64 = 0x348c1ab3aeca1745 + SynchronousDatagramSocketSetNoCheckOrdinal uint64 = 0x6bbf00c53a4c78c2 + SynchronousDatagramSocketGetNoCheckOrdinal uint64 = 0x2cd4249286417694 + SynchronousDatagramSocketSetLingerOrdinal uint64 = 0x45386351246e998e + SynchronousDatagramSocketGetLingerOrdinal uint64 = 0x48eb20fc5ccb0e45 + SynchronousDatagramSocketSetReusePortOrdinal uint64 = 0x24dd3e5cb36d9ccb + SynchronousDatagramSocketGetReusePortOrdinal uint64 = 0x7a112c1ab54ff828 + SynchronousDatagramSocketGetAcceptConnOrdinal uint64 = 0x67ce6db6c2ec8966 + SynchronousDatagramSocketSetBindToDeviceOrdinal uint64 = 0x2118b483f28aafc4 + SynchronousDatagramSocketGetBindToDeviceOrdinal uint64 = 0x1ab1fbf0ef7906c8 + SynchronousDatagramSocketSetTimestampOrdinal uint64 = 0x285d6516c263d839 + SynchronousDatagramSocketGetTimestampOrdinal uint64 = 0x49f2fffbbcc2bd27 + SynchronousDatagramSocketBindOrdinal uint64 = 0x4bc6400ae92125d + SynchronousDatagramSocketConnectOrdinal uint64 = 0x5f05f19bfdd38871 + SynchronousDatagramSocketDisconnectOrdinal uint64 = 0x74e63b91f7b29b2 + SynchronousDatagramSocketGetSockNameOrdinal uint64 = 0x475f23f84a1a4f85 + SynchronousDatagramSocketGetPeerNameOrdinal uint64 = 0x1ffecf4bd5b6432e + SynchronousDatagramSocketShutdownOrdinal uint64 = 0x247f38b6db68c336 + SynchronousDatagramSocketSetIpTypeOfServiceOrdinal uint64 = 0x995c600475b6d46 + SynchronousDatagramSocketGetIpTypeOfServiceOrdinal uint64 = 0x3814a04259f75fcb + SynchronousDatagramSocketSetIpTtlOrdinal uint64 = 0x29e2424b433ae1ef + SynchronousDatagramSocketGetIpTtlOrdinal uint64 = 0x47e47fa1f24da471 + SynchronousDatagramSocketSetIpPacketInfoOrdinal uint64 = 0x392d16bee20c0e16 + SynchronousDatagramSocketGetIpPacketInfoOrdinal uint64 = 0x54b505f242280740 + SynchronousDatagramSocketSetIpReceiveTypeOfServiceOrdinal uint64 = 0x6c4f6714995f84ef + SynchronousDatagramSocketGetIpReceiveTypeOfServiceOrdinal uint64 = 0x4158ba7dc2795960 + SynchronousDatagramSocketSetIpReceiveTtlOrdinal uint64 = 0x46f15be0ce0ab82b + SynchronousDatagramSocketGetIpReceiveTtlOrdinal uint64 = 0x678ddd5a5dfa2eb5 + SynchronousDatagramSocketSetIpMulticastInterfaceOrdinal uint64 = 0x752fbfa9b12befe + SynchronousDatagramSocketGetIpMulticastInterfaceOrdinal uint64 = 0x320bd14c4df046c4 + SynchronousDatagramSocketSetIpMulticastTtlOrdinal uint64 = 0x63134d53772916a1 + SynchronousDatagramSocketGetIpMulticastTtlOrdinal uint64 = 0x4665cd378f39e1a + SynchronousDatagramSocketSetIpMulticastLoopbackOrdinal uint64 = 0x20c55c11f00943ea + SynchronousDatagramSocketGetIpMulticastLoopbackOrdinal uint64 = 0x3b6b26ff558298f2 + SynchronousDatagramSocketAddIpMembershipOrdinal uint64 = 0x76bc7df115a3b4d0 + SynchronousDatagramSocketDropIpMembershipOrdinal uint64 = 0x2888f3099188d03 + SynchronousDatagramSocketSetIpTransparentOrdinal uint64 = 0x1ae532b0c066e3a0 + SynchronousDatagramSocketGetIpTransparentOrdinal uint64 = 0x51d43695962ebfb5 + SynchronousDatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal uint64 = 0x4722b4ce52f7840 + SynchronousDatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal uint64 = 0x2a0e7dc5d6bfdfe9 + SynchronousDatagramSocketAddIpv6MembershipOrdinal uint64 = 0x7c94727acb4ea4b3 + SynchronousDatagramSocketDropIpv6MembershipOrdinal uint64 = 0x42104c70ccaba304 + SynchronousDatagramSocketSetIpv6MulticastInterfaceOrdinal uint64 = 0x135f76db3774ab3b + SynchronousDatagramSocketGetIpv6MulticastInterfaceOrdinal uint64 = 0x1f26fcdd348f1882 + SynchronousDatagramSocketSetIpv6UnicastHopsOrdinal uint64 = 0x157d51e98f462859 + SynchronousDatagramSocketGetIpv6UnicastHopsOrdinal uint64 = 0x21f4641cad8bd8d2 + SynchronousDatagramSocketSetIpv6ReceiveHopLimitOrdinal uint64 = 0x5c24808ed2e84a1e + SynchronousDatagramSocketGetIpv6ReceiveHopLimitOrdinal uint64 = 0x341e06689885b4c0 + SynchronousDatagramSocketSetIpv6MulticastHopsOrdinal uint64 = 0x25b9cd4d181f82c1 + SynchronousDatagramSocketGetIpv6MulticastHopsOrdinal uint64 = 0x52916948a365012a + SynchronousDatagramSocketSetIpv6MulticastLoopbackOrdinal uint64 = 0x55701c409ff41b40 + SynchronousDatagramSocketGetIpv6MulticastLoopbackOrdinal uint64 = 0x4415b701fde319c3 + SynchronousDatagramSocketSetIpv6OnlyOrdinal uint64 = 0x4873f1364758cbba + SynchronousDatagramSocketGetIpv6OnlyOrdinal uint64 = 0x4aa3340a1a26b89c + SynchronousDatagramSocketSetIpv6ReceiveTrafficClassOrdinal uint64 = 0x58f07c8788d099a0 + SynchronousDatagramSocketGetIpv6ReceiveTrafficClassOrdinal uint64 = 0x2e334df1da553ffa + SynchronousDatagramSocketSetIpv6TrafficClassOrdinal uint64 = 0x6af077800c5a0b4f + SynchronousDatagramSocketGetIpv6TrafficClassOrdinal uint64 = 0x6baf6eed8fc2f04 + SynchronousDatagramSocketSetIpv6ReceivePacketInfoOrdinal uint64 = 0x19259775b1a92768 + SynchronousDatagramSocketGetIpv6ReceivePacketInfoOrdinal uint64 = 0x7acd4a2775baec75 + SynchronousDatagramSocketGetOriginalDestinationOrdinal uint64 = 0x38bf28f0dafdbac0 + SynchronousDatagramSocketGetInfoOrdinal uint64 = 0x48aa0a1f6a32d2ed + SynchronousDatagramSocketDescribeOrdinal uint64 = 0x585f20b73631070d + SynchronousDatagramSocketRecvMsgOrdinal uint64 = 0x28e494e48fb5dbf3 + SynchronousDatagramSocketSendMsgOrdinal uint64 = 0x12dc2fceab6cefaa ) type SynchronousDatagramSocketWithCtxInterface _bindings.ChannelProxy func (p *SynchronousDatagramSocketWithCtxInterface) Clone2(ctx_ _bindings.Context, request fuchsiaunknown.CloneableWithCtxInterfaceRequest) error { - req_ := &synchronousDatagramSocketWithCtxClone2Request{Request: request} + req_ := &fuchsiaunknown.CloneableClone2Request{Request: request} err_ := ((*_bindings.ChannelProxy)(p)).Send(SynchronousDatagramSocketClone2Ordinal, req_) return err_ } @@ -24931,561 +19368,601 @@ // status. func (p *SynchronousDatagramSocketWithCtxInterface) Close(ctx_ _bindings.Context) (fuchsiaunknown.CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxCloseResponse{} + resp_ := &fuchsiaunknown.CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketCloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *SynchronousDatagramSocketWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxQueryResponse{} + resp_ := &fuchsiaunknown.QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketQueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } // Set `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *SynchronousDatagramSocketWithCtxInterface) SetReuseAddress(ctx_ _bindings.Context, value bool) (BaseSocketSetReuseAddressResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetReuseAddressRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetReuseAddressResponse{} + req_ := &BaseSocketSetReuseAddressRequest{Value: value} + resp_ := &BaseSocketSetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEADDR`. func (p *SynchronousDatagramSocketWithCtxInterface) GetReuseAddress(ctx_ _bindings.Context) (BaseSocketGetReuseAddressResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetReuseAddressResponse{} + resp_ := &BaseSocketGetReuseAddressResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetReuseAddressOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ERROR`. // Returns the last error if there is an error set on the socket. func (p *SynchronousDatagramSocketWithCtxInterface) GetError(ctx_ _bindings.Context) (BaseSocketGetErrorResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetErrorResponse{} + resp_ := &BaseSocketGetErrorResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetErrorOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BROADCAST`. func (p *SynchronousDatagramSocketWithCtxInterface) SetBroadcast(ctx_ _bindings.Context, value bool) (BaseSocketSetBroadcastResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetBroadcastRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetBroadcastResponse{} + req_ := &BaseSocketSetBroadcastRequest{Value: value} + resp_ := &BaseSocketSetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BROADCAST`. func (p *SynchronousDatagramSocketWithCtxInterface) GetBroadcast(ctx_ _bindings.Context) (BaseSocketGetBroadcastResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetBroadcastResponse{} + resp_ := &BaseSocketGetBroadcastResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetBroadcastOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_SNDBUF`. func (p *SynchronousDatagramSocketWithCtxInterface) SetSendBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetSendBufferResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetSendBufferRequest{ValueBytes: valueBytes} - resp_ := &synchronousDatagramSocketWithCtxSetSendBufferResponse{} + req_ := &BaseSocketSetSendBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_SNDBUF`. func (p *SynchronousDatagramSocketWithCtxInterface) GetSendBuffer(ctx_ _bindings.Context) (BaseSocketGetSendBufferResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetSendBufferResponse{} + resp_ := &BaseSocketGetSendBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetSendBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_RCVBUF`. func (p *SynchronousDatagramSocketWithCtxInterface) SetReceiveBuffer(ctx_ _bindings.Context, valueBytes uint64) (BaseSocketSetReceiveBufferResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetReceiveBufferRequest{ValueBytes: valueBytes} - resp_ := &synchronousDatagramSocketWithCtxSetReceiveBufferResponse{} + req_ := &BaseSocketSetReceiveBufferRequest{ValueBytes: valueBytes} + resp_ := &BaseSocketSetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_RCVBUF`. func (p *SynchronousDatagramSocketWithCtxInterface) GetReceiveBuffer(ctx_ _bindings.Context) (BaseSocketGetReceiveBufferResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetReceiveBufferResponse{} + resp_ := &BaseSocketGetReceiveBufferResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetReceiveBufferOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *SynchronousDatagramSocketWithCtxInterface) SetKeepAlive(ctx_ _bindings.Context, value bool) (BaseSocketSetKeepAliveResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetKeepAliveRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetKeepAliveResponse{} + req_ := &BaseSocketSetKeepAliveRequest{Value: value} + resp_ := &BaseSocketSetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_KEEPALIVE`. func (p *SynchronousDatagramSocketWithCtxInterface) GetKeepAlive(ctx_ _bindings.Context) (BaseSocketGetKeepAliveResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetKeepAliveResponse{} + resp_ := &BaseSocketGetKeepAliveResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetKeepAliveOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *SynchronousDatagramSocketWithCtxInterface) SetOutOfBandInline(ctx_ _bindings.Context, value bool) (BaseSocketSetOutOfBandInlineResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetOutOfBandInlineRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetOutOfBandInlineResponse{} + req_ := &BaseSocketSetOutOfBandInlineRequest{Value: value} + resp_ := &BaseSocketSetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_OOBINLINE`. func (p *SynchronousDatagramSocketWithCtxInterface) GetOutOfBandInline(ctx_ _bindings.Context) (BaseSocketGetOutOfBandInlineResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetOutOfBandInlineResponse{} + resp_ := &BaseSocketGetOutOfBandInlineResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetOutOfBandInlineOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *SynchronousDatagramSocketWithCtxInterface) SetNoCheck(ctx_ _bindings.Context, value bool) (BaseSocketSetNoCheckResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetNoCheckRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetNoCheckResponse{} + req_ := &BaseSocketSetNoCheckRequest{Value: value} + resp_ := &BaseSocketSetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_NO_CHECK`. func (p *SynchronousDatagramSocketWithCtxInterface) GetNoCheck(ctx_ _bindings.Context) (BaseSocketGetNoCheckResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetNoCheckResponse{} + resp_ := &BaseSocketGetNoCheckResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetNoCheckOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_LINGER`. func (p *SynchronousDatagramSocketWithCtxInterface) SetLinger(ctx_ _bindings.Context, linger bool, lengthSecs uint32) (BaseSocketSetLingerResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} - resp_ := &synchronousDatagramSocketWithCtxSetLingerResponse{} + req_ := &BaseSocketSetLingerRequest{Linger: linger, LengthSecs: lengthSecs} + resp_ := &BaseSocketSetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_LINGER`. func (p *SynchronousDatagramSocketWithCtxInterface) GetLinger(ctx_ _bindings.Context) (BaseSocketGetLingerResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetLingerResponse{} + resp_ := &BaseSocketGetLingerResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetLingerOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *SynchronousDatagramSocketWithCtxInterface) SetReusePort(ctx_ _bindings.Context, value bool) (BaseSocketSetReusePortResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetReusePortRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetReusePortResponse{} + req_ := &BaseSocketSetReusePortRequest{Value: value} + resp_ := &BaseSocketSetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_REUSEPORT`. func (p *SynchronousDatagramSocketWithCtxInterface) GetReusePort(ctx_ _bindings.Context) (BaseSocketGetReusePortResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetReusePortResponse{} + resp_ := &BaseSocketGetReusePortResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetReusePortOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_ACCEPTCONN`. func (p *SynchronousDatagramSocketWithCtxInterface) GetAcceptConn(ctx_ _bindings.Context) (BaseSocketGetAcceptConnResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetAcceptConnResponse{} + resp_ := &BaseSocketGetAcceptConnResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetAcceptConnOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *SynchronousDatagramSocketWithCtxInterface) SetBindToDevice(ctx_ _bindings.Context, value string) (BaseSocketSetBindToDeviceResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetBindToDeviceRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetBindToDeviceResponse{} + req_ := &BaseSocketSetBindToDeviceRequest{Value: value} + resp_ := &BaseSocketSetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_BINDTODEVICE`. func (p *SynchronousDatagramSocketWithCtxInterface) GetBindToDevice(ctx_ _bindings.Context) (BaseSocketGetBindToDeviceResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetBindToDeviceResponse{} + resp_ := &BaseSocketGetBindToDeviceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetBindToDeviceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *SynchronousDatagramSocketWithCtxInterface) SetTimestamp(ctx_ _bindings.Context, value TimestampOption) (BaseSocketSetTimestampResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetTimestampRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetTimestampResponse{} + req_ := &BaseSocketSetTimestampRequest{Value: value} + resp_ := &BaseSocketSetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`. func (p *SynchronousDatagramSocketWithCtxInterface) GetTimestamp(ctx_ _bindings.Context) (BaseSocketGetTimestampResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetTimestampResponse{} + resp_ := &BaseSocketGetTimestampResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetTimestampOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Sets the local address used for the socket. func (p *SynchronousDatagramSocketWithCtxInterface) Bind(ctx_ _bindings.Context, addr fuchsianet.SocketAddress) (BaseNetworkSocketBindResult, error) { - req_ := &synchronousDatagramSocketWithCtxBindRequest{Addr: addr} - resp_ := &synchronousDatagramSocketWithCtxBindResponse{} + req_ := &BaseNetworkSocketBindRequest{Addr: addr} + resp_ := &BaseNetworkSocketBindResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketBindOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Initiates a connection to a remote address. func (p *SynchronousDatagramSocketWithCtxInterface) Connect(ctx_ _bindings.Context, addr fuchsianet.SocketAddress) (BaseNetworkSocketConnectResult, error) { - req_ := &synchronousDatagramSocketWithCtxConnectRequest{Addr: addr} - resp_ := &synchronousDatagramSocketWithCtxConnectResponse{} + req_ := &BaseNetworkSocketConnectRequest{Addr: addr} + resp_ := &BaseNetworkSocketConnectResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketConnectOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Clears connection information from this socket. func (p *SynchronousDatagramSocketWithCtxInterface) Disconnect(ctx_ _bindings.Context) (BaseNetworkSocketDisconnectResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxDisconnectResponse{} + resp_ := &BaseNetworkSocketDisconnectResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketDisconnectOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves the local socket address. func (p *SynchronousDatagramSocketWithCtxInterface) GetSockName(ctx_ _bindings.Context) (BaseNetworkSocketGetSockNameResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetSockNameResponse{} + resp_ := &BaseNetworkSocketGetSockNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetSockNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Retrieves the remote socket address. func (p *SynchronousDatagramSocketWithCtxInterface) GetPeerName(ctx_ _bindings.Context) (BaseNetworkSocketGetPeerNameResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetPeerNameResponse{} + resp_ := &BaseNetworkSocketGetPeerNameResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetPeerNameOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Shuts down part of the socket. func (p *SynchronousDatagramSocketWithCtxInterface) Shutdown(ctx_ _bindings.Context, mode ShutdownMode) (BaseNetworkSocketShutdownResult, error) { - req_ := &synchronousDatagramSocketWithCtxShutdownRequest{Mode: mode} - resp_ := &synchronousDatagramSocketWithCtxShutdownResponse{} + req_ := &BaseNetworkSocketShutdownRequest{Mode: mode} + resp_ := &BaseNetworkSocketShutdownResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketShutdownOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_TOS`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpTypeOfService(ctx_ _bindings.Context, value uint8) (BaseNetworkSocketSetIpTypeOfServiceResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpTypeOfServiceRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpTypeOfServiceResponse{} + req_ := &BaseNetworkSocketSetIpTypeOfServiceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_TOS`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpTypeOfService(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTypeOfServiceResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpTypeOfServiceResponse{} + resp_ := &BaseNetworkSocketGetIpTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_TTL`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpTtl(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpTtlResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpTtlRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpTtlResponse{} + req_ := &BaseNetworkSocketSetIpTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_TTL`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTtlResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpTtlResponse{} + resp_ := &BaseNetworkSocketGetIpTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_PKTINFO`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpPacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpPacketInfoResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpPacketInfoRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpPacketInfoResponse{} + req_ := &BaseNetworkSocketSetIpPacketInfoRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpPacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpPacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_PKTINFO`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpPacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpPacketInfoResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpPacketInfoResponse{} + resp_ := &BaseNetworkSocketGetIpPacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpPacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_RECVTOS`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpReceiveTypeOfService(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveTypeOfServiceResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse{} + req_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpReceiveTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_RECVTOS`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpReceiveTypeOfService(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveTypeOfServiceResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse{} + resp_ := &BaseNetworkSocketGetIpReceiveTypeOfServiceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpReceiveTypeOfServiceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_RECVTTL`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpReceiveTtl(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveTtlResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpReceiveTtlRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpReceiveTtlResponse{} + req_ := &BaseNetworkSocketSetIpReceiveTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpReceiveTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_RECVTTL`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpReceiveTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveTtlResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpReceiveTtlResponse{} + resp_ := &BaseNetworkSocketGetIpReceiveTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpReceiveTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_IF`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpMulticastInterface(ctx_ _bindings.Context, iface uint64, address fuchsianet.Ipv4Address) (BaseNetworkSocketSetIpMulticastInterfaceResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpMulticastInterfaceRequest{Iface: iface, Address: address} - resp_ := &synchronousDatagramSocketWithCtxSetIpMulticastInterfaceResponse{} + req_ := &BaseNetworkSocketSetIpMulticastInterfaceRequest{Iface: iface, Address: address} + resp_ := &BaseNetworkSocketSetIpMulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpMulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_IF`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpMulticastInterface(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastInterfaceResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpMulticastInterfaceResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpMulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_TTL`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpMulticastTtl(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpMulticastTtlResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpMulticastTtlRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpMulticastTtlResponse{} + req_ := &BaseNetworkSocketSetIpMulticastTtlRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpMulticastTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpMulticastTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_TTL`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpMulticastTtl(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastTtlResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpMulticastTtlResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastTtlResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpMulticastTtlOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_MULTICAST_LOOP`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpMulticastLoopback(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpMulticastLoopbackResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpMulticastLoopbackRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpMulticastLoopbackResponse{} + req_ := &BaseNetworkSocketSetIpMulticastLoopbackRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpMulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpMulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IP` -> `IP_MULTICAST_LOOP`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpMulticastLoopback(ctx_ _bindings.Context) (BaseNetworkSocketGetIpMulticastLoopbackResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpMulticastLoopbackResponse{} + resp_ := &BaseNetworkSocketGetIpMulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpMulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_ADD_MEMBERSHIP` func (p *SynchronousDatagramSocketWithCtxInterface) AddIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) { - req_ := &synchronousDatagramSocketWithCtxAddIpMembershipRequest{Membership: membership} - resp_ := &synchronousDatagramSocketWithCtxAddIpMembershipResponse{} + req_ := &BaseNetworkSocketAddIpMembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketAddIpMembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketAddIpMembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IP` -> `IP_DROP_MEMBERSHIP` func (p *SynchronousDatagramSocketWithCtxInterface) DropIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketDropIpMembershipResult, error) { - req_ := &synchronousDatagramSocketWithCtxDropIpMembershipRequest{Membership: membership} - resp_ := &synchronousDatagramSocketWithCtxDropIpMembershipResponse{} + req_ := &BaseNetworkSocketDropIpMembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketDropIpMembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketDropIpMembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Set `SOL_IP` -> `IP_TRANSPARENT` +func (p *SynchronousDatagramSocketWithCtxInterface) SetIpTransparent(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpTransparentResult, error) { + req_ := &BaseNetworkSocketSetIpTransparentRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpTransparentResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpTransparentOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Get `SOL_IP` -> `IP_TRANSPARENT` +func (p *SynchronousDatagramSocketWithCtxInterface) GetIpTransparent(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTransparentResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetIpTransparentResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpTransparentOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Set `SOL_IP` -> `IP_RECVORIGDSTADDR` +func (p *SynchronousDatagramSocketWithCtxInterface) SetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) { + req_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal, req_, resp_) + return (*resp_), err_ +} + +// Get `SOL_IP` -> `IP_RECVORIGDSTADDR` +func (p *SynchronousDatagramSocketWithCtxInterface) GetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal, req_, resp_) + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`. func (p *SynchronousDatagramSocketWithCtxInterface) AddIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) { - req_ := &synchronousDatagramSocketWithCtxAddIpv6MembershipRequest{Membership: membership} - resp_ := &synchronousDatagramSocketWithCtxAddIpv6MembershipResponse{} + req_ := &BaseNetworkSocketAddIpv6MembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketAddIpv6MembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketAddIpv6MembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`. func (p *SynchronousDatagramSocketWithCtxInterface) DropIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketDropIpv6MembershipResult, error) { - req_ := &synchronousDatagramSocketWithCtxDropIpv6MembershipRequest{Membership: membership} - resp_ := &synchronousDatagramSocketWithCtxDropIpv6MembershipResponse{} + req_ := &BaseNetworkSocketDropIpv6MembershipRequest{Membership: membership} + resp_ := &BaseNetworkSocketDropIpv6MembershipResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketDropIpv6MembershipOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_IF`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpv6MulticastInterface(ctx_ _bindings.Context, value uint64) (BaseNetworkSocketSetIpv6MulticastInterfaceResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastInterfaceRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpv6MulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_IF`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpv6MulticastInterface(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastInterfaceResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastInterfaceResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpv6MulticastInterfaceOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_UNICAST_HOPS`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpv6UnicastHops(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6UnicastHopsResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpv6UnicastHopsRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpv6UnicastHopsResponse{} + req_ := &BaseNetworkSocketSetIpv6UnicastHopsRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6UnicastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpv6UnicastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_UNICAST_HOPS`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpv6UnicastHops(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6UnicastHopsResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpv6UnicastHopsResponse{} + resp_ := &BaseNetworkSocketGetIpv6UnicastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpv6UnicastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpv6ReceiveHopLimit(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceiveHopLimitResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpv6ReceiveHopLimitOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpv6ReceiveHopLimit(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceiveHopLimitResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceiveHopLimitResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpv6ReceiveHopLimitOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpv6MulticastHops(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6MulticastHopsResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastHopsRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastHopsResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastHopsRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpv6MulticastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpv6MulticastHops(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastHopsResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpv6MulticastHopsResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastHopsResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpv6MulticastHopsOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpv6MulticastLoopback(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6MulticastLoopbackResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse{} + req_ := &BaseNetworkSocketSetIpv6MulticastLoopbackRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6MulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpv6MulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpv6MulticastLoopback(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6MulticastLoopbackResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse{} + resp_ := &BaseNetworkSocketGetIpv6MulticastLoopbackResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpv6MulticastLoopbackOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_V6ONLY`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpv6Only(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6OnlyResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpv6OnlyRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpv6OnlyResponse{} + req_ := &BaseNetworkSocketSetIpv6OnlyRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6OnlyResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpv6OnlyOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_V6ONLY`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpv6Only(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6OnlyResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpv6OnlyResponse{} + resp_ := &BaseNetworkSocketGetIpv6OnlyResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpv6OnlyOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVTCLASS`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpv6ReceiveTrafficClass(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceiveTrafficClassResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpv6ReceiveTrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVTCLASS`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpv6ReceiveTrafficClass(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceiveTrafficClassResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceiveTrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpv6ReceiveTrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_TCLASS` func (p *SynchronousDatagramSocketWithCtxInterface) SetIpv6TrafficClass(ctx_ _bindings.Context, value OptionalUint8) (BaseNetworkSocketSetIpv6TrafficClassResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpv6TrafficClassRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpv6TrafficClassResponse{} + req_ := &BaseNetworkSocketSetIpv6TrafficClassRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6TrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpv6TrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_TCLASS`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpv6TrafficClass(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6TrafficClassResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpv6TrafficClassResponse{} + resp_ := &BaseNetworkSocketGetIpv6TrafficClassResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpv6TrafficClassOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Set `SOL_IPV6` -> `IPV6_RECVPKTINFO`. func (p *SynchronousDatagramSocketWithCtxInterface) SetIpv6ReceivePacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceivePacketInfoResult, error) { - req_ := &synchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest{Value: value} - resp_ := &synchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse{} + req_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{Value: value} + resp_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSetIpv6ReceivePacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`. func (p *SynchronousDatagramSocketWithCtxInterface) GetIpv6ReceivePacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceivePacketInfoResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse{} + resp_ := &BaseNetworkSocketGetIpv6ReceivePacketInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetIpv6ReceivePacketInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ +} + +// Get `SOL_IP` -> `SO_ORIGINAL_DST`. +func (p *SynchronousDatagramSocketWithCtxInterface) GetOriginalDestination(ctx_ _bindings.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) { + var req_ _bindings.Message + resp_ := &BaseNetworkSocketGetOriginalDestinationResult{} + err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetOriginalDestinationOrdinal, req_, resp_) + return (*resp_), err_ } // Retrieves creation information from the socket. @@ -25494,9 +19971,9 @@ // - response `proto` the socket's associated protocol. func (p *SynchronousDatagramSocketWithCtxInterface) GetInfo(ctx_ _bindings.Context) (BaseDatagramSocketGetInfoResult, error) { var req_ _bindings.Message - resp_ := &synchronousDatagramSocketWithCtxGetInfoResponse{} + resp_ := &BaseDatagramSocketGetInfoResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketGetInfoOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } func (p *SynchronousDatagramSocketWithCtxInterface) Describe(ctx_ _bindings.Context) (SynchronousDatagramSocketDescribeResponse, error) { @@ -25521,10 +19998,10 @@ // - response `truncated` indicates whether or not the returned message // was truncated. func (p *SynchronousDatagramSocketWithCtxInterface) RecvMsg(ctx_ _bindings.Context, wantAddr bool, dataLen uint32, wantControl bool, flags RecvMsgFlags) (SynchronousDatagramSocketRecvMsgResult, error) { - req_ := &synchronousDatagramSocketWithCtxRecvMsgRequest{WantAddr: wantAddr, DataLen: dataLen, WantControl: wantControl, Flags: flags} - resp_ := &synchronousDatagramSocketWithCtxRecvMsgResponse{} + req_ := &SynchronousDatagramSocketRecvMsgRequest{WantAddr: wantAddr, DataLen: dataLen, WantControl: wantControl, Flags: flags} + resp_ := &SynchronousDatagramSocketRecvMsgResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketRecvMsgOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Sends a message on the socket. @@ -25536,10 +20013,10 @@ // - request `flags` flags for the send request. // - response `len` the number of bytes sent. func (p *SynchronousDatagramSocketWithCtxInterface) SendMsg(ctx_ _bindings.Context, addr *fuchsianet.SocketAddress, data []uint8, control DatagramSocketSendControlData, flags SendMsgFlags) (SynchronousDatagramSocketSendMsgResult, error) { - req_ := &synchronousDatagramSocketWithCtxSendMsgRequest{Addr: addr, Data: data, Control: control, Flags: flags} - resp_ := &synchronousDatagramSocketWithCtxSendMsgResponse{} + req_ := &SynchronousDatagramSocketSendMsgRequest{Addr: addr, Data: data, Control: control, Flags: flags} + resp_ := &SynchronousDatagramSocketSendMsgResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(SynchronousDatagramSocketSendMsgOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // A synchronous datagram socket. @@ -25663,6 +20140,14 @@ AddIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketAddIpMembershipResult, error) // Set `SOL_IP` -> `IP_DROP_MEMBERSHIP` DropIpMembership(ctx_ _bindings.Context, membership IpMulticastMembership) (BaseNetworkSocketDropIpMembershipResult, error) + // Set `SOL_IP` -> `IP_TRANSPARENT` + SetIpTransparent(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpTransparentResult, error) + // Get `SOL_IP` -> `IP_TRANSPARENT` + GetIpTransparent(ctx_ _bindings.Context) (BaseNetworkSocketGetIpTransparentResult, error) + // Set `SOL_IP` -> `IP_RECVORIGDSTADDR` + SetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpReceiveOriginalDestinationAddressResult, error) + // Get `SOL_IP` -> `IP_RECVORIGDSTADDR` + GetIpReceiveOriginalDestinationAddress(ctx_ _bindings.Context) (BaseNetworkSocketGetIpReceiveOriginalDestinationAddressResult, error) // Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`. AddIpv6Membership(ctx_ _bindings.Context, membership Ipv6MulticastMembership) (BaseNetworkSocketAddIpv6MembershipResult, error) // Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`. @@ -25703,6 +20188,8 @@ SetIpv6ReceivePacketInfo(ctx_ _bindings.Context, value bool) (BaseNetworkSocketSetIpv6ReceivePacketInfoResult, error) // Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`. GetIpv6ReceivePacketInfo(ctx_ _bindings.Context) (BaseNetworkSocketGetIpv6ReceivePacketInfoResult, error) + // Get `SOL_IP` -> `SO_ORIGINAL_DST`. + GetOriginalDestination(ctx_ _bindings.Context) (BaseNetworkSocketGetOriginalDestinationResult, error) // Retrieves creation information from the socket. // // - response `domain` the socket's associated domain. @@ -25751,7 +20238,7 @@ func (s_ *SynchronousDatagramSocketWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case SynchronousDatagramSocketClone2Ordinal: - in_ := &synchronousDatagramSocketWithCtxClone2Request{} + in_ := &fuchsiaunknown.CloneableClone2Request{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25762,15 +20249,15 @@ err_ := s_.Impl.Clone2(args_.Ctx, (*in_).Request) return nil, false, err_ case SynchronousDatagramSocketCloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketQueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxQueryResponse{Protocol: protocol} + out_ := &fuchsiaunknown.QueryableQueryResponse{Protocol: protocol} return out_, true, err_ case SynchronousDatagramSocketSetReuseAddressOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetReuseAddressRequest{} + in_ := &BaseSocketSetReuseAddressRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25778,19 +20265,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.SetReuseAddress(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetReuseAddressOrdinal: - result, err_ := s_.Impl.GetReuseAddress(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetReuseAddressResponse{Result: result} + payload, err_ := s_.Impl.GetReuseAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetErrorOrdinal: - result, err_ := s_.Impl.GetError(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetErrorResponse{Result: result} + payload, err_ := s_.Impl.GetError(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetBroadcastOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetBroadcastRequest{} + in_ := &BaseSocketSetBroadcastRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25798,15 +20285,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.SetBroadcast(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetBroadcastOrdinal: - result, err_ := s_.Impl.GetBroadcast(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetBroadcastResponse{Result: result} + payload, err_ := s_.Impl.GetBroadcast(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetSendBufferOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetSendBufferRequest{} + in_ := &BaseSocketSetSendBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25814,15 +20301,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &synchronousDatagramSocketWithCtxSetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.SetSendBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetSendBufferOrdinal: - result, err_ := s_.Impl.GetSendBuffer(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetSendBufferResponse{Result: result} + payload, err_ := s_.Impl.GetSendBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetReceiveBufferOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetReceiveBufferRequest{} + in_ := &BaseSocketSetReceiveBufferRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25830,15 +20317,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) - out_ := &synchronousDatagramSocketWithCtxSetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.SetReceiveBuffer(args_.Ctx, (*in_).ValueBytes) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetReceiveBufferOrdinal: - result, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetReceiveBufferResponse{Result: result} + payload, err_ := s_.Impl.GetReceiveBuffer(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetKeepAliveOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetKeepAliveRequest{} + in_ := &BaseSocketSetKeepAliveRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25846,15 +20333,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.SetKeepAlive(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetKeepAliveOrdinal: - result, err_ := s_.Impl.GetKeepAlive(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetKeepAliveResponse{Result: result} + payload, err_ := s_.Impl.GetKeepAlive(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetOutOfBandInlineOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetOutOfBandInlineRequest{} + in_ := &BaseSocketSetOutOfBandInlineRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25862,15 +20349,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.SetOutOfBandInline(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetOutOfBandInlineOrdinal: - result, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetOutOfBandInlineResponse{Result: result} + payload, err_ := s_.Impl.GetOutOfBandInline(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetNoCheckOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetNoCheckRequest{} + in_ := &BaseSocketSetNoCheckRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25878,15 +20365,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.SetNoCheck(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetNoCheckOrdinal: - result, err_ := s_.Impl.GetNoCheck(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetNoCheckResponse{Result: result} + payload, err_ := s_.Impl.GetNoCheck(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetLingerOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetLingerRequest{} + in_ := &BaseSocketSetLingerRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25894,15 +20381,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) - out_ := &synchronousDatagramSocketWithCtxSetLingerResponse{Result: result} + payload, err_ := s_.Impl.SetLinger(args_.Ctx, (*in_).Linger, (*in_).LengthSecs) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetLingerOrdinal: - result, err_ := s_.Impl.GetLinger(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetLingerResponse{Result: result} + payload, err_ := s_.Impl.GetLinger(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetReusePortOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetReusePortRequest{} + in_ := &BaseSocketSetReusePortRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25910,19 +20397,19 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetReusePortResponse{Result: result} + payload, err_ := s_.Impl.SetReusePort(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetReusePortOrdinal: - result, err_ := s_.Impl.GetReusePort(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetReusePortResponse{Result: result} + payload, err_ := s_.Impl.GetReusePort(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetAcceptConnOrdinal: - result, err_ := s_.Impl.GetAcceptConn(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetAcceptConnResponse{Result: result} + payload, err_ := s_.Impl.GetAcceptConn(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetBindToDeviceOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetBindToDeviceRequest{} + in_ := &BaseSocketSetBindToDeviceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25930,15 +20417,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.SetBindToDevice(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetBindToDeviceOrdinal: - result, err_ := s_.Impl.GetBindToDevice(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetBindToDeviceResponse{Result: result} + payload, err_ := s_.Impl.GetBindToDevice(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetTimestampOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetTimestampRequest{} + in_ := &BaseSocketSetTimestampRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25946,15 +20433,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetTimestampResponse{Result: result} + payload, err_ := s_.Impl.SetTimestamp(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetTimestampOrdinal: - result, err_ := s_.Impl.GetTimestamp(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetTimestampResponse{Result: result} + payload, err_ := s_.Impl.GetTimestamp(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketBindOrdinal: - in_ := &synchronousDatagramSocketWithCtxBindRequest{} + in_ := &BaseNetworkSocketBindRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25962,11 +20449,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Bind(args_.Ctx, (*in_).Addr) - out_ := &synchronousDatagramSocketWithCtxBindResponse{Result: result} + payload, err_ := s_.Impl.Bind(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketConnectOrdinal: - in_ := &synchronousDatagramSocketWithCtxConnectRequest{} + in_ := &BaseNetworkSocketConnectRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25974,23 +20461,23 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Connect(args_.Ctx, (*in_).Addr) - out_ := &synchronousDatagramSocketWithCtxConnectResponse{Result: result} + payload, err_ := s_.Impl.Connect(args_.Ctx, (*in_).Addr) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketDisconnectOrdinal: - result, err_ := s_.Impl.Disconnect(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxDisconnectResponse{Result: result} + payload, err_ := s_.Impl.Disconnect(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetSockNameOrdinal: - result, err_ := s_.Impl.GetSockName(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetSockNameResponse{Result: result} + payload, err_ := s_.Impl.GetSockName(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetPeerNameOrdinal: - result, err_ := s_.Impl.GetPeerName(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetPeerNameResponse{Result: result} + payload, err_ := s_.Impl.GetPeerName(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketShutdownOrdinal: - in_ := &synchronousDatagramSocketWithCtxShutdownRequest{} + in_ := &BaseNetworkSocketShutdownRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -25998,11 +20485,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.Shutdown(args_.Ctx, (*in_).Mode) - out_ := &synchronousDatagramSocketWithCtxShutdownResponse{Result: result} + payload, err_ := s_.Impl.Shutdown(args_.Ctx, (*in_).Mode) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpTypeOfServiceOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpTypeOfServiceRequest{} + in_ := &BaseNetworkSocketSetIpTypeOfServiceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26010,15 +20497,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpTypeOfService(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.SetIpTypeOfService(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpTypeOfServiceOrdinal: - result, err_ := s_.Impl.GetIpTypeOfService(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.GetIpTypeOfService(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpTtlOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpTtlRequest{} + in_ := &BaseNetworkSocketSetIpTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26026,15 +20513,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpTtl(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpTtlOrdinal: - result, err_ := s_.Impl.GetIpTtl(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpPacketInfoOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpPacketInfoRequest{} + in_ := &BaseNetworkSocketSetIpPacketInfoRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26042,15 +20529,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpPacketInfo(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpPacketInfoResponse{Result: result} + payload, err_ := s_.Impl.SetIpPacketInfo(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpPacketInfoOrdinal: - result, err_ := s_.Impl.GetIpPacketInfo(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpPacketInfoResponse{Result: result} + payload, err_ := s_.Impl.GetIpPacketInfo(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpReceiveTypeOfServiceOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceRequest{} + in_ := &BaseNetworkSocketSetIpReceiveTypeOfServiceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26058,15 +20545,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpReceiveTypeOfService(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpReceiveTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.SetIpReceiveTypeOfService(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpReceiveTypeOfServiceOrdinal: - result, err_ := s_.Impl.GetIpReceiveTypeOfService(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpReceiveTypeOfServiceResponse{Result: result} + payload, err_ := s_.Impl.GetIpReceiveTypeOfService(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpReceiveTtlOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpReceiveTtlRequest{} + in_ := &BaseNetworkSocketSetIpReceiveTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26074,15 +20561,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpReceiveTtl(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpReceiveTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpReceiveTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpReceiveTtlOrdinal: - result, err_ := s_.Impl.GetIpReceiveTtl(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpReceiveTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpReceiveTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpMulticastInterfaceOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpMulticastInterfaceRequest{} + in_ := &BaseNetworkSocketSetIpMulticastInterfaceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26090,15 +20577,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastInterface(args_.Ctx, (*in_).Iface, (*in_).Address) - out_ := &synchronousDatagramSocketWithCtxSetIpMulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastInterface(args_.Ctx, (*in_).Iface, (*in_).Address) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpMulticastInterfaceOrdinal: - result, err_ := s_.Impl.GetIpMulticastInterface(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpMulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastInterface(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpMulticastTtlOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpMulticastTtlRequest{} + in_ := &BaseNetworkSocketSetIpMulticastTtlRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26106,15 +20593,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastTtl(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpMulticastTtlResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastTtl(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpMulticastTtlOrdinal: - result, err_ := s_.Impl.GetIpMulticastTtl(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpMulticastTtlResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastTtl(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpMulticastLoopbackOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpMulticastLoopbackRequest{} + in_ := &BaseNetworkSocketSetIpMulticastLoopbackRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26122,15 +20609,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpMulticastLoopback(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpMulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.SetIpMulticastLoopback(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpMulticastLoopbackOrdinal: - result, err_ := s_.Impl.GetIpMulticastLoopback(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpMulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.GetIpMulticastLoopback(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketAddIpMembershipOrdinal: - in_ := &synchronousDatagramSocketWithCtxAddIpMembershipRequest{} + in_ := &BaseNetworkSocketAddIpMembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26138,11 +20625,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AddIpMembership(args_.Ctx, (*in_).Membership) - out_ := &synchronousDatagramSocketWithCtxAddIpMembershipResponse{Result: result} + payload, err_ := s_.Impl.AddIpMembership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketDropIpMembershipOrdinal: - in_ := &synchronousDatagramSocketWithCtxDropIpMembershipRequest{} + in_ := &BaseNetworkSocketDropIpMembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26150,11 +20637,43 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DropIpMembership(args_.Ctx, (*in_).Membership) - out_ := &synchronousDatagramSocketWithCtxDropIpMembershipResponse{Result: result} + payload, err_ := s_.Impl.DropIpMembership(args_.Ctx, (*in_).Membership) + out_ := &payload + return out_, true, err_ + case SynchronousDatagramSocketSetIpTransparentOrdinal: + in_ := &BaseNetworkSocketSetIpTransparentRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetIpTransparent(args_.Ctx, (*in_).Value) + out_ := &payload + return out_, true, err_ + case SynchronousDatagramSocketGetIpTransparentOrdinal: + payload, err_ := s_.Impl.GetIpTransparent(args_.Ctx) + out_ := &payload + return out_, true, err_ + case SynchronousDatagramSocketSetIpReceiveOriginalDestinationAddressOrdinal: + in_ := &BaseNetworkSocketSetIpReceiveOriginalDestinationAddressRequest{} + marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) + if !ok { + return nil, false, _bindings.ErrMissingMarshalerContext + } + if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { + return nil, false, err_ + } + payload, err_ := s_.Impl.SetIpReceiveOriginalDestinationAddress(args_.Ctx, (*in_).Value) + out_ := &payload + return out_, true, err_ + case SynchronousDatagramSocketGetIpReceiveOriginalDestinationAddressOrdinal: + payload, err_ := s_.Impl.GetIpReceiveOriginalDestinationAddress(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketAddIpv6MembershipOrdinal: - in_ := &synchronousDatagramSocketWithCtxAddIpv6MembershipRequest{} + in_ := &BaseNetworkSocketAddIpv6MembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26162,11 +20681,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.AddIpv6Membership(args_.Ctx, (*in_).Membership) - out_ := &synchronousDatagramSocketWithCtxAddIpv6MembershipResponse{Result: result} + payload, err_ := s_.Impl.AddIpv6Membership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketDropIpv6MembershipOrdinal: - in_ := &synchronousDatagramSocketWithCtxDropIpv6MembershipRequest{} + in_ := &BaseNetworkSocketDropIpv6MembershipRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26174,11 +20693,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.DropIpv6Membership(args_.Ctx, (*in_).Membership) - out_ := &synchronousDatagramSocketWithCtxDropIpv6MembershipResponse{Result: result} + payload, err_ := s_.Impl.DropIpv6Membership(args_.Ctx, (*in_).Membership) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpv6MulticastInterfaceOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastInterfaceRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26186,15 +20705,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastInterface(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastInterface(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpv6MulticastInterfaceOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastInterface(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpv6MulticastInterfaceResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastInterface(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpv6UnicastHopsOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpv6UnicastHopsRequest{} + in_ := &BaseNetworkSocketSetIpv6UnicastHopsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26202,15 +20721,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6UnicastHops(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpv6UnicastHopsResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6UnicastHops(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpv6UnicastHopsOrdinal: - result, err_ := s_.Impl.GetIpv6UnicastHops(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpv6UnicastHopsResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6UnicastHops(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpv6ReceiveHopLimitOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceiveHopLimitRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26218,15 +20737,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceiveHopLimit(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpv6ReceiveHopLimitResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceiveHopLimit(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpv6ReceiveHopLimitOrdinal: - result, err_ := s_.Impl.GetIpv6ReceiveHopLimit(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpv6ReceiveHopLimitResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceiveHopLimit(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpv6MulticastHopsOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastHopsRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastHopsRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26234,15 +20753,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastHops(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastHopsResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastHops(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpv6MulticastHopsOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastHops(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpv6MulticastHopsResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastHops(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpv6MulticastLoopbackOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackRequest{} + in_ := &BaseNetworkSocketSetIpv6MulticastLoopbackRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26250,15 +20769,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6MulticastLoopback(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpv6MulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6MulticastLoopback(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpv6MulticastLoopbackOrdinal: - result, err_ := s_.Impl.GetIpv6MulticastLoopback(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpv6MulticastLoopbackResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6MulticastLoopback(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpv6OnlyOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpv6OnlyRequest{} + in_ := &BaseNetworkSocketSetIpv6OnlyRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26266,15 +20785,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6Only(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpv6OnlyResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6Only(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpv6OnlyOrdinal: - result, err_ := s_.Impl.GetIpv6Only(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpv6OnlyResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6Only(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpv6ReceiveTrafficClassOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceiveTrafficClassRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26282,15 +20801,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceiveTrafficClass(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpv6ReceiveTrafficClassResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceiveTrafficClass(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpv6ReceiveTrafficClassOrdinal: - result, err_ := s_.Impl.GetIpv6ReceiveTrafficClass(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpv6ReceiveTrafficClassResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceiveTrafficClass(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpv6TrafficClassOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpv6TrafficClassRequest{} + in_ := &BaseNetworkSocketSetIpv6TrafficClassRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26298,15 +20817,15 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6TrafficClass(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpv6TrafficClassResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6TrafficClass(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpv6TrafficClassOrdinal: - result, err_ := s_.Impl.GetIpv6TrafficClass(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpv6TrafficClassResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6TrafficClass(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSetIpv6ReceivePacketInfoOrdinal: - in_ := &synchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoRequest{} + in_ := &BaseNetworkSocketSetIpv6ReceivePacketInfoRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26314,23 +20833,27 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SetIpv6ReceivePacketInfo(args_.Ctx, (*in_).Value) - out_ := &synchronousDatagramSocketWithCtxSetIpv6ReceivePacketInfoResponse{Result: result} + payload, err_ := s_.Impl.SetIpv6ReceivePacketInfo(args_.Ctx, (*in_).Value) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetIpv6ReceivePacketInfoOrdinal: - result, err_ := s_.Impl.GetIpv6ReceivePacketInfo(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetIpv6ReceivePacketInfoResponse{Result: result} + payload, err_ := s_.Impl.GetIpv6ReceivePacketInfo(args_.Ctx) + out_ := &payload + return out_, true, err_ + case SynchronousDatagramSocketGetOriginalDestinationOrdinal: + payload, err_ := s_.Impl.GetOriginalDestination(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketGetInfoOrdinal: - result, err_ := s_.Impl.GetInfo(args_.Ctx) - out_ := &synchronousDatagramSocketWithCtxGetInfoResponse{Result: result} + payload, err_ := s_.Impl.GetInfo(args_.Ctx) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketDescribeOrdinal: payload, err_ := s_.Impl.Describe(args_.Ctx) out_ := &payload return out_, true, err_ case SynchronousDatagramSocketRecvMsgOrdinal: - in_ := &synchronousDatagramSocketWithCtxRecvMsgRequest{} + in_ := &SynchronousDatagramSocketRecvMsgRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26338,11 +20861,11 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.RecvMsg(args_.Ctx, (*in_).WantAddr, (*in_).DataLen, (*in_).WantControl, (*in_).Flags) - out_ := &synchronousDatagramSocketWithCtxRecvMsgResponse{Result: result} + payload, err_ := s_.Impl.RecvMsg(args_.Ctx, (*in_).WantAddr, (*in_).DataLen, (*in_).WantControl, (*in_).Flags) + out_ := &payload return out_, true, err_ case SynchronousDatagramSocketSendMsgOrdinal: - in_ := &synchronousDatagramSocketWithCtxSendMsgRequest{} + in_ := &SynchronousDatagramSocketSendMsgRequest{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -26350,8 +20873,8 @@ if err_ := _bindings.Unmarshal(marshalerCtx, args_.Bytes, args_.HandleInfos, in_); err_ != nil { return nil, false, err_ } - result, err_ := s_.Impl.SendMsg(args_.Ctx, (*in_).Addr, (*in_).Data, (*in_).Control, (*in_).Flags) - out_ := &synchronousDatagramSocketWithCtxSendMsgResponse{Result: result} + payload, err_ := s_.Impl.SendMsg(args_.Ctx, (*in_).Addr, (*in_).Data, (*in_).Control, (*in_).Flags) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal
diff --git a/src/syscall/zx/syscalls_fuchsia.go b/src/syscall/zx/syscalls_fuchsia.go index bc7ccc2..71cd374 100644 --- a/src/syscall/zx/syscalls_fuchsia.go +++ b/src/syscall/zx/syscalls_fuchsia.go
@@ -183,7 +183,7 @@ //go:noescape //go:nosplit -func Sys_futex_wait(value_ptr *Futex, current_value Futex, new_futex_owner Handle, deadline Time) Status +func Sys_futex_wait(value_ptr *Futex, current_value int32, new_futex_owner Handle, deadline Time) Status //go:noescape //go:nosplit @@ -247,6 +247,10 @@ //go:noescape //go:nosplit +func Sys_iob_create(options uint64, regions unsafe.Pointer, num_regions uint, ep0_out *Handle, ep1_out *Handle) Status + +//go:noescape +//go:nosplit func Sys_iommu_create(resource Handle, typ uint32, desc unsafe.Pointer, desc_size uint, out *Handle) Status //go:noescape @@ -471,15 +475,19 @@ //go:noescape //go:nosplit +func Sys_restricted_bind_state(options uint32, out *Handle) Status + +//go:noescape +//go:nosplit func Sys_restricted_enter(options uint32, vector_table_ptr uintptr, context uintptr) Status //go:noescape //go:nosplit -func Sys_restricted_read_state(buffer unsafe.Pointer, buffer_size uint) Status +func Sys_restricted_kick(thread Handle, options uint32) Status //go:noescape //go:nosplit -func Sys_restricted_write_state(buffer unsafe.Pointer, buffer_size uint) Status +func Sys_restricted_unbind_state(options uint32) Status //go:noescape //go:nosplit @@ -639,6 +647,10 @@ //go:noescape //go:nosplit +func Sys_system_suspend_enter(resource Handle, resume_deadline Time) Status + +//go:noescape +//go:nosplit func Sys_task_create_exception_channel(handle Handle, options uint32, out *Handle) Status //go:noescape @@ -739,6 +751,10 @@ //go:noescape //go:nosplit +func Sys_vmar_map_iob(handle Handle, options VmOption, vmar_offset uint, ep Handle, region_index uint32, region_offset uint64, region_length uint, mapped_addr *Vaddr) Status + +//go:noescape +//go:nosplit func Sys_vmar_op_range(handle Handle, op uint32, address Vaddr, size uint, buffer unsafe.Pointer, buffer_size uint) Status //go:noescape
diff --git a/src/syscall/zx/syscalls_fuchsia_amd64.s b/src/syscall/zx/syscalls_fuchsia_amd64.s index 137ada5..85e99ed 100644 --- a/src/syscall/zx/syscalls_fuchsia_amd64.s +++ b/src/syscall/zx/syscalls_fuchsia_amd64.s
@@ -180,7 +180,7 @@ TEXT ·Sys_futex_requeue_single_owner(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_futex_requeue_single_owner(SB) -// func Sys_futex_wait(value_ptr *Futex, current_value Futex, new_futex_owner Handle, deadline Time) Status +// func Sys_futex_wait(value_ptr *Futex, current_value int32, new_futex_owner Handle, deadline Time) Status TEXT ·Sys_futex_wait(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_futex_wait(SB) @@ -244,6 +244,10 @@ TEXT ·Sys_interrupt_wait(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_interrupt_wait(SB) +// func Sys_iob_create(options uint64, regions unsafe.Pointer, num_regions uint, ep0_out *Handle, ep1_out *Handle) Status +TEXT ·Sys_iob_create(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_iob_create(SB) + // func Sys_iommu_create(resource Handle, typ uint32, desc unsafe.Pointer, desc_size uint, out *Handle) Status TEXT ·Sys_iommu_create(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_iommu_create(SB) @@ -468,17 +472,21 @@ TEXT ·Sys_resource_create(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_resource_create(SB) +// func Sys_restricted_bind_state(options uint32, out *Handle) Status +TEXT ·Sys_restricted_bind_state(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_restricted_bind_state(SB) + // func Sys_restricted_enter(options uint32, vector_table_ptr uintptr, context uintptr) Status TEXT ·Sys_restricted_enter(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_restricted_enter(SB) -// func Sys_restricted_read_state(buffer unsafe.Pointer, buffer_size uint) Status -TEXT ·Sys_restricted_read_state(SB),NOSPLIT,$0 - JMP runtime·vdsoCall_zx_restricted_read_state(SB) +// func Sys_restricted_kick(thread Handle, options uint32) Status +TEXT ·Sys_restricted_kick(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_restricted_kick(SB) -// func Sys_restricted_write_state(buffer unsafe.Pointer, buffer_size uint) Status -TEXT ·Sys_restricted_write_state(SB),NOSPLIT,$0 - JMP runtime·vdsoCall_zx_restricted_write_state(SB) +// func Sys_restricted_unbind_state(options uint32) Status +TEXT ·Sys_restricted_unbind_state(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_restricted_unbind_state(SB) // func Sys_smc_call(handle Handle, parameters *SmcParameters, out_smc_result *SmcResult) Status TEXT ·Sys_smc_call(SB),NOSPLIT,$0 @@ -636,6 +644,10 @@ TEXT ·Sys_system_set_performance_info(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_system_set_performance_info(SB) +// func Sys_system_suspend_enter(resource Handle, resume_deadline Time) Status +TEXT ·Sys_system_suspend_enter(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_system_suspend_enter(SB) + // func Sys_task_create_exception_channel(handle Handle, options uint32, out *Handle) Status TEXT ·Sys_task_create_exception_channel(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_task_create_exception_channel(SB) @@ -736,6 +748,10 @@ TEXT ·Sys_vmar_map(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_vmar_map(SB) +// func Sys_vmar_map_iob(handle Handle, options VmOption, vmar_offset uint, ep Handle, region_index uint32, region_offset uint64, region_length uint, mapped_addr *Vaddr) Status +TEXT ·Sys_vmar_map_iob(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_vmar_map_iob(SB) + // func Sys_vmar_op_range(handle Handle, op uint32, address Vaddr, size uint, buffer unsafe.Pointer, buffer_size uint) Status TEXT ·Sys_vmar_op_range(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_vmar_op_range(SB)
diff --git a/src/syscall/zx/syscalls_fuchsia_arm64.s b/src/syscall/zx/syscalls_fuchsia_arm64.s index 137ada5..85e99ed 100644 --- a/src/syscall/zx/syscalls_fuchsia_arm64.s +++ b/src/syscall/zx/syscalls_fuchsia_arm64.s
@@ -180,7 +180,7 @@ TEXT ·Sys_futex_requeue_single_owner(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_futex_requeue_single_owner(SB) -// func Sys_futex_wait(value_ptr *Futex, current_value Futex, new_futex_owner Handle, deadline Time) Status +// func Sys_futex_wait(value_ptr *Futex, current_value int32, new_futex_owner Handle, deadline Time) Status TEXT ·Sys_futex_wait(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_futex_wait(SB) @@ -244,6 +244,10 @@ TEXT ·Sys_interrupt_wait(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_interrupt_wait(SB) +// func Sys_iob_create(options uint64, regions unsafe.Pointer, num_regions uint, ep0_out *Handle, ep1_out *Handle) Status +TEXT ·Sys_iob_create(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_iob_create(SB) + // func Sys_iommu_create(resource Handle, typ uint32, desc unsafe.Pointer, desc_size uint, out *Handle) Status TEXT ·Sys_iommu_create(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_iommu_create(SB) @@ -468,17 +472,21 @@ TEXT ·Sys_resource_create(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_resource_create(SB) +// func Sys_restricted_bind_state(options uint32, out *Handle) Status +TEXT ·Sys_restricted_bind_state(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_restricted_bind_state(SB) + // func Sys_restricted_enter(options uint32, vector_table_ptr uintptr, context uintptr) Status TEXT ·Sys_restricted_enter(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_restricted_enter(SB) -// func Sys_restricted_read_state(buffer unsafe.Pointer, buffer_size uint) Status -TEXT ·Sys_restricted_read_state(SB),NOSPLIT,$0 - JMP runtime·vdsoCall_zx_restricted_read_state(SB) +// func Sys_restricted_kick(thread Handle, options uint32) Status +TEXT ·Sys_restricted_kick(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_restricted_kick(SB) -// func Sys_restricted_write_state(buffer unsafe.Pointer, buffer_size uint) Status -TEXT ·Sys_restricted_write_state(SB),NOSPLIT,$0 - JMP runtime·vdsoCall_zx_restricted_write_state(SB) +// func Sys_restricted_unbind_state(options uint32) Status +TEXT ·Sys_restricted_unbind_state(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_restricted_unbind_state(SB) // func Sys_smc_call(handle Handle, parameters *SmcParameters, out_smc_result *SmcResult) Status TEXT ·Sys_smc_call(SB),NOSPLIT,$0 @@ -636,6 +644,10 @@ TEXT ·Sys_system_set_performance_info(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_system_set_performance_info(SB) +// func Sys_system_suspend_enter(resource Handle, resume_deadline Time) Status +TEXT ·Sys_system_suspend_enter(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_system_suspend_enter(SB) + // func Sys_task_create_exception_channel(handle Handle, options uint32, out *Handle) Status TEXT ·Sys_task_create_exception_channel(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_task_create_exception_channel(SB) @@ -736,6 +748,10 @@ TEXT ·Sys_vmar_map(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_vmar_map(SB) +// func Sys_vmar_map_iob(handle Handle, options VmOption, vmar_offset uint, ep Handle, region_index uint32, region_offset uint64, region_length uint, mapped_addr *Vaddr) Status +TEXT ·Sys_vmar_map_iob(SB),NOSPLIT,$0 + JMP runtime·vdsoCall_zx_vmar_map_iob(SB) + // func Sys_vmar_op_range(handle Handle, op uint32, address Vaddr, size uint, buffer unsafe.Pointer, buffer_size uint) Status TEXT ·Sys_vmar_op_range(SB),NOSPLIT,$0 JMP runtime·vdsoCall_zx_vmar_op_range(SB)
diff --git a/src/syscall/zx/unknown/impl.go b/src/syscall/zx/unknown/impl.go index 190045f..1f8b014 100644 --- a/src/syscall/zx/unknown/impl.go +++ b/src/syscall/zx/unknown/impl.go
@@ -6,14 +6,23 @@ // WARNING: This file is machine generated by fidlgen. -// fidl_experiment = unknown_interactions - package unknown import ( _bindings "syscall/zx/fidl" ) +type CloneableClone2Request struct { + _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` + Request CloneableWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` +} + +var _mCloneableClone2Request = _bindings.CreateLazyMarshaler(CloneableClone2Request{}) + +func (msg *CloneableClone2Request) Marshaler() _bindings.Marshaler { + return _mCloneableClone2Request +} + type CloseableCloseResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"1" fidl_alignment_v2:"1"` } @@ -24,38 +33,16 @@ return _mCloseableCloseResponse } -type cloneableWithCtxClone2Request struct { - _ struct{} `fidl:"s" fidl_size_v2:"4" fidl_alignment_v2:"4"` - Request CloneableWithCtxInterfaceRequest `fidl_offset_v2:"0" fidl_handle_subtype:"4" fidl_bounds:"0"` -} - -var _mcloneableWithCtxClone2Request = _bindings.CreateLazyMarshaler(cloneableWithCtxClone2Request{}) - -func (msg *cloneableWithCtxClone2Request) Marshaler() _bindings.Marshaler { - return _mcloneableWithCtxClone2Request -} - -type closeableWithCtxCloseResponse struct { - _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` - Result CloseableCloseResult `fidl_offset_v2:"0"` -} - -var _mcloseableWithCtxCloseResponse = _bindings.CreateLazyMarshaler(closeableWithCtxCloseResponse{}) - -func (msg *closeableWithCtxCloseResponse) Marshaler() _bindings.Marshaler { - return _mcloseableWithCtxCloseResponse -} - -type queryableWithCtxQueryResponse struct { +type QueryableQueryResponse struct { _ struct{} `fidl:"s" fidl_size_v2:"16" fidl_alignment_v2:"8"` // Identifies the underlying protocol. Protocol []uint8 `fidl_offset_v2:"0" fidl_bounds:""` } -var _mqueryableWithCtxQueryResponse = _bindings.CreateLazyMarshaler(queryableWithCtxQueryResponse{}) +var _mQueryableQueryResponse = _bindings.CreateLazyMarshaler(QueryableQueryResponse{}) -func (msg *queryableWithCtxQueryResponse) Marshaler() _bindings.Marshaler { - return _mqueryableWithCtxQueryResponse +func (msg *QueryableQueryResponse) Marshaler() _bindings.Marshaler { + return _mQueryableQueryResponse } type I_closeableCloseResultTag uint64 @@ -127,7 +114,7 @@ type CloneableWithCtxInterface _bindings.ChannelProxy func (p *CloneableWithCtxInterface) Clone2(ctx_ _bindings.Context, request CloneableWithCtxInterfaceRequest) error { - req_ := &cloneableWithCtxClone2Request{Request: request} + req_ := &CloneableClone2Request{Request: request} err_ := ((*_bindings.ChannelProxy)(p)).Send(CloneableClone2Ordinal, req_) return err_ } @@ -156,7 +143,7 @@ func (s_ *CloneableWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case CloneableClone2Ordinal: - in_ := &cloneableWithCtxClone2Request{} + in_ := &CloneableClone2Request{} marshalerCtx, ok := _bindings.GetMarshalerContext(args_.Ctx) if !ok { return nil, false, _bindings.ErrMissingMarshalerContext @@ -190,9 +177,9 @@ // status. func (p *CloseableWithCtxInterface) Close(ctx_ _bindings.Context) (CloseableCloseResult, error) { var req_ _bindings.Message - resp_ := &closeableWithCtxCloseResponse{} + resp_ := &CloseableCloseResult{} err_ := ((*_bindings.ChannelProxy)(p)).Call(CloseableCloseOrdinal, req_, resp_) - return (*resp_).Result, err_ + return (*resp_), err_ } // Provides a means of synchronously closing a connection. @@ -226,8 +213,8 @@ func (s_ *CloseableWithCtxStub) Dispatch(args_ _bindings.DispatchArgs) (_bindings.Message, bool, error) { switch args_.Ordinal { case CloseableCloseOrdinal: - result, err_ := s_.Impl.Close(args_.Ctx) - out_ := &closeableWithCtxCloseResponse{Result: result} + payload, err_ := s_.Impl.Close(args_.Ctx) + out_ := &payload return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal @@ -243,7 +230,7 @@ func (p *QueryableWithCtxInterface) Query(ctx_ _bindings.Context) ([]uint8, error) { var req_ _bindings.Message - resp_ := &queryableWithCtxQueryResponse{} + resp_ := &QueryableQueryResponse{} err_ := ((*_bindings.ChannelProxy)(p)).Call(QueryableQueryOrdinal, req_, resp_) return (*resp_).Protocol, err_ } @@ -270,7 +257,7 @@ switch args_.Ordinal { case QueryableQueryOrdinal: protocol, err_ := s_.Impl.Query(args_.Ctx) - out_ := &queryableWithCtxQueryResponse{Protocol: protocol} + out_ := &QueryableQueryResponse{Protocol: protocol} return out_, true, err_ } return nil, false, _bindings.ErrUnknownOrdinal