<br />

A library for common types used across netstack FIDL APIs, similar to
fuchsia.net, but specifically meant to house *resource* types, i.e. types
that contain handles to Zircon objects.
Added: HEAD

## **STRUCTS**

### GrantForInterfaceAuthorization [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.net.resources/resources.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.net.resources/resources.fidl;l=17)*

An authorization credential for an interface, which allows the caller to
prove ownership of the interface (e.g. by converting the credential into a
[ProofOfInterfaceAuthorization](https://fuchsia.dev/reference/fidl/fuchsia.net.resources#ProofOfInterfaceAuthorization).

<br />

| Field | Type | Description | Default |
|---|---|---|---|
| `interface_id` | `https://fuchsia.dev/reference/fuchsia.net//https://fuchsia.dev/reference/fuchsia.net#InterfaceId` | The ID of the interface this credential is authenticating. | No default |
| `token` | `handle<event>` | The EVENT providing authentication over this interface. | No default |

### ProofOfInterfaceAuthorization [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.net.resources/resources.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.net.resources/resources.fidl;l=28)*

A credential passed into the `fuchsia.net.*` family of APIs to authenticate
access to a particular interface. The Netstack only needs the ability to
inspect the token's basic info when proving that the client is authorized
to access a resource.

<br />

| Field | Type | Description | Default |
|---|---|---|---|
| `interface_id` | `https://fuchsia.dev/reference/fuchsia.net//https://fuchsia.dev/reference/fuchsia.net#InterfaceId` | The ID of the interface this credential is authenticating. | No default |
| `token` | `handle<event>` | The EVENT providing authentication over this interface. | No default |

### WakeGroupToken [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.net.resources/resources.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.net.resources/resources.fidl;l=40)*

A token representing a wake group that can be provided to networking
resources (such as sockets) to add them to the group, and waited upon to
receive wake signals.

<br />

| Field | Type | Description | Default |
|---|---|---|---|
| `token` | `handle<event>` |   | No default |