fuchsia.net.policy

PROTOCOLS

BaseInterfaceController

Defined in fuchsia.net.policy/policy.fidl

GetInterfaceInfo

Retrieve info about an interface.

Request

NameType

Response

NameType
info fuchsia.net.stack/InterfaceInfo

SetInterfaceStatus

Set the administrative status for an interfance. If enabled, the interface starts processing packets. If disabled, the interface stops processing packets.

Request

NameType
status fuchsia.net.stack/AdministrativeStatus

Response

NameType
status zx/status

SetDHCPClientStatus

Set DHCP client status for a specific interface. If enabled, the interface acquires a dynamic IP address through DHCP server. If disabled, the interface uses the assigned static IP address.

Request

NameType
status fuchsia.net.stack/AdministrativeStatus

Response

NameType
status zx/status

SetName

Set a name for an interface.

Request

NameType
name string

Response

NameType
status zx/status

OnChange

Response

NameType
events Events

StandardInterfaceController

Defined in fuchsia.net.policy/policy.fidl

Controller of physical and virtual interfaces.

GetInterfaceInfo

Retrieve info about an interface.

Request

NameType

Response

NameType
info fuchsia.net.stack/InterfaceInfo

SetInterfaceStatus

Set the administrative status for an interfance. If enabled, the interface starts processing packets. If disabled, the interface stops processing packets.

Request

NameType
status fuchsia.net.stack/AdministrativeStatus

Response

NameType
status zx/status

SetDHCPClientStatus

Set DHCP client status for a specific interface. If enabled, the interface acquires a dynamic IP address through DHCP server. If disabled, the interface uses the assigned static IP address.

Request

NameType
status fuchsia.net.stack/AdministrativeStatus

Response

NameType
status zx/status

SetName

Set a name for an interface.

Request

NameType
name string

Response

NameType
status zx/status

OnChange

Response

NameType
events Events

BridgeInterfaceController

Defined in fuchsia.net.policy/policy.fidl

Controller of bridging interfaces.

GetInterfaceInfo

Retrieve info about an interface.

Request

NameType

Response

NameType
info fuchsia.net.stack/InterfaceInfo

SetInterfaceStatus

Set the administrative status for an interfance. If enabled, the interface starts processing packets. If disabled, the interface stops processing packets.

Request

NameType
status fuchsia.net.stack/AdministrativeStatus

Response

NameType
status zx/status

SetDHCPClientStatus

Set DHCP client status for a specific interface. If enabled, the interface acquires a dynamic IP address through DHCP server. If disabled, the interface uses the assigned static IP address.

Request

NameType
status fuchsia.net.stack/AdministrativeStatus

Response

NameType
status zx/status

SetName

Set a name for an interface.

Request

NameType
name string

Response

NameType
status zx/status

OnChange

Response

NameType
events Events

Observer

Defined in fuchsia.net.policy/policy.fidl

ListInterfaces

Retrieve info of all the interfaces.

Request

NameType

Response

NameType
infos vector<fuchsia.net.stack/InterfaceInfo>
status zx/status

GetInterfaceInfo

Retrieve info of a specific interface.

Request

NameType
name string

Response

NameType
info fuchsia.net.stack/InterfaceInfo?
status zx/status

OnChange

Response

NameType
interface string
events Events

BasePolicy

Defined in fuchsia.net.policy/policy.fidl

AddInterface

Add virtual interfaces.

Request

NameType
device fuchsia.hardware.ethernet/Device
interfaceCtl request<StandardInterfaceController>

Response

NameType
status zx/status

CreateBridge

Create bridging interface.

Request

NameType
interfaces vector<string>
interfaceCtl request<BridgeInterfaceController>

Response

NameType
status zx/status

PrivilegedPolicy

Defined in fuchsia.net.policy/policy.fidl

GetInterfaceController

Request

NameType
interface string
controller EthernetControllerRequest

Response

NameType
status zx/status

STRUCTS

InterfaceNameUpdate

Defined in fuchsia.net.policy/policy.fidl

Event for interface name update.

NameTypeDescriptionDefault
name string

The new name.

No default

TABLES

Events

Defined in fuchsia.net.policy/policy.fidl

OrdinalNameTypeDescription
1 status fuchsia.net.stack/InterfaceStatus

InterfaceStatus event is triggered whenever an interface's status is changed.

2 name InterfaceNameUpdate

InterfaceNameUpdate event is triggered whenever an interface's name is changed.

UNIONS

EthernetControllerRequest

Defined in fuchsia.net.policy/policy.fidl

NameTypeDescription
standard request<StandardInterfaceController>
bridge request<BridgeInterfaceController>