Project: /_project.yaml Book: /_book.yaml
fuchsia.net.stack
PROTOCOLS
Stack {:#Stack}
Defined in fuchsia.net.stack/stack.fidl
AddEthernetInterface {:#AddEthernetInterface}
Add an Ethernet interface to the network stack. On success, returns the identifier assigned by the stack for use in subsequent calls.
Request
Response
DelEthernetInterface {:#DelEthernetInterface}
Remove an Ethernet interface from the network stack.
Request
Response
ListInterfaces {:#ListInterfaces}
List all the interfaces available in the network stack.
Request
Response
GetInterfaceInfo {:#GetInterfaceInfo}
Retrieve info about a specific interface.
Request
Response
EnableInterface {:#EnableInterface}
Enable the interface. Packets may be processed by the stack after this call is processed.
Request
Response
DisableInterface {:#DisableInterface}
Disable the interface. The stack will no longer process packets after this call.
Request
Response
AddInterfaceAddress {:#AddInterfaceAddress}
Add an address to the interface. If the interface already has an address of a given type that does not allow duplicates, this method will return an error.
Request
Response
DelInterfaceAddress {:#DelInterfaceAddress}
Remove the address from the interface. If the address is not assigned to the interface, an error is returned.
Request
Response
GetForwardingTable {:#GetForwardingTable}
List all the entries in the forwarding table for the network stack.
Request
Response
AddForwardingEntry {:#AddForwardingEntry}
Add a new entry to the forwarding table. If the table already contains an entry with the same subnet, an error is returned. The entry may be deleted using DelForwardingEntry first.
Request
Response
DelForwardingEntry {:#DelForwardingEntry}
Removes the forwarding entry with the given subnet. This will not affect any overlapping subnets (superset or subset) so the subnet must exactly match an entry in the forwarding table. If no entry for the subnet exists, an error is returned.
Request
Response
EnablePacketFilter {:#EnablePacketFilter}
Enable the packet filter on a specific interface.
Request
Response
DisablePacketFilter {:#DisablePacketFilter}
Disable the packet filter on a specific interface.
Request
Response
EnableIpForwarding {:#EnableIpForwarding}
Enable IP Forwarding.
Request
Response
DisableIpForwarding {:#DisableIpForwarding}
Disable IP Forwarding.
Request
Response
OnInterfaceStatusChange {:#OnInterfaceStatusChange}
A status change event is triggered whenever an interface's status changes.
Response
Log {:#Log}
Defined in fuchsia.net.stack/stack.fidl
SetLogLevel {:#SetLogLevel}
Dynamically set a syslog level. See syslog/logger.go for level definition.
Request
Response
STRUCTS
Stack_AddEthernetInterface_Response {:#Stack_AddEthernetInterface_Response}
generated
Stack_DelEthernetInterface_Response {:#Stack_DelEthernetInterface_Response}
generated
Stack_GetInterfaceInfo_Response {:#Stack_GetInterfaceInfo_Response}
generated
Stack_EnableInterface_Response {:#Stack_EnableInterface_Response}
generated
Stack_DisableInterface_Response {:#Stack_DisableInterface_Response}
generated
Stack_AddInterfaceAddress_Response {:#Stack_AddInterfaceAddress_Response}
generated
Stack_DelInterfaceAddress_Response {:#Stack_DelInterfaceAddress_Response}
generated
Stack_AddForwardingEntry_Response {:#Stack_AddForwardingEntry_Response}
generated
Stack_DelForwardingEntry_Response {:#Stack_DelForwardingEntry_Response}
generated
Stack_EnablePacketFilter_Response {:#Stack_EnablePacketFilter_Response}
generated
Stack_DisablePacketFilter_Response {:#Stack_DisablePacketFilter_Response}
generated
Log_SetLogLevel_Response {:#Log_SetLogLevel_Response}
generated
InterfaceAddress {:#InterfaceAddress}
Defined in fuchsia.net.stack/stack.fidl
InterfaceInfo {:#InterfaceInfo}
Defined in fuchsia.net.stack/stack.fidl
InterfaceProperties {:#InterfaceProperties}
Defined in fuchsia.net.stack/stack.fidl
ForwardingEntry {:#ForwardingEntry}
Defined in fuchsia.net.stack/stack.fidl
An entry in the forwarding table for the network stack.
InterfaceStatusChange {:#InterfaceStatusChange}
Defined in fuchsia.net.stack/stack.fidl
ENUMS
PresenceStatus {:#PresenceStatus}
Type: uint32
Defined in fuchsia.net.stack/stack.fidl
PhysicalStatus {:#PhysicalStatus}
Type: uint32
Defined in fuchsia.net.stack/stack.fidl
AdministrativeStatus {:#AdministrativeStatus}
Type: uint32
Defined in fuchsia.net.stack/stack.fidl
Error {:#Error}
Type: uint32
Defined in fuchsia.net.stack/stack.fidl
LogLevelFilter {:#LogLevelFilter}
Type: int32
Defined in fuchsia.net.stack/stack.fidl
Note LogLevelFilter and protocol Log is transient, and is planned to be deprecated by logger.fidl's LogLevelFilter. This definition is to support syslog/logger.go and Netstack2.
UNIONS
Stack_AddEthernetInterface_Result {:#Stack_AddEthernetInterface_Result}
generated
Stack_DelEthernetInterface_Result {:#Stack_DelEthernetInterface_Result}
generated
Stack_GetInterfaceInfo_Result {:#Stack_GetInterfaceInfo_Result}
generated
Stack_EnableInterface_Result {:#Stack_EnableInterface_Result}
generated
Stack_DisableInterface_Result {:#Stack_DisableInterface_Result}
generated
Stack_AddInterfaceAddress_Result {:#Stack_AddInterfaceAddress_Result}
generated
Stack_DelInterfaceAddress_Result {:#Stack_DelInterfaceAddress_Result}
generated
Stack_AddForwardingEntry_Result {:#Stack_AddForwardingEntry_Result}
generated
Stack_DelForwardingEntry_Result {:#Stack_DelForwardingEntry_Result}
generated
Stack_EnablePacketFilter_Result {:#Stack_EnablePacketFilter_Result}
generated
Stack_DisablePacketFilter_Result {:#Stack_DisablePacketFilter_Result}
generated
Log_SetLogLevel_Result {:#Log_SetLogLevel_Result}
generated
InterfaceStatus {:#InterfaceStatus}
Defined in fuchsia.net.stack/stack.fidl
ForwardingDestination {:#ForwardingDestination}
Defined in fuchsia.net.stack/stack.fidl
A ForwardingDestination represents either the device that should transmit a packet or the address of the next hop in the route.