Namespaces

Enumerations

enum class Kind : uint32_t
Name Value Comments
kNetwork 1u

A packet socket that operates with network-layer packets.

kLink 2u

A packet socket that operates with link-layer packets.

Packets are passed unmodified between the wire and client when the
packet socket is of this kind.

A kind of packet socket.

Defined at line 22 of file fidling/gen/sdk/fidl/fuchsia.posix.socket.packet/fuchsia.posix.socket.packet/cpp/fidl/fuchsia.posix.socket.packet/cpp/common_types.h

enum class HardwareType : uint32_t
Name Value Comments
kNetworkOnly 1u

Hardware that operates only at the network layer; a pure L3 interface.

Hardware of this type have no L2 headers/addressing.

kEthernet 2u

Hardware that operates on ethernet-based links.

kLoopback 3u

Hardware that loops back packets.

The type of a hardware.

Defined at line 51 of file fidling/gen/sdk/fidl/fuchsia.posix.socket.packet/fuchsia.posix.socket.packet/cpp/fidl/fuchsia.posix.socket.packet/cpp/common_types.h

enum class PacketType : uint32_t
Name Value Comments
kHost 1u

A packet that arrived at its destination.

kBroadcast 2u

A packet that was broadcasted.

kMulticast 3u

A packet that was multicasted.

kOtherHost 4u

A packet that arrived at a host that isn't its destination.

kOutgoing 5u

A packet that is being sent on a local interface, regardless of how it
is being sent (unicasted, multicasted, broadcasted).

The type of a packet.

Defined at line 82 of file fidling/gen/sdk/fidl/fuchsia.posix.socket.packet/fuchsia.posix.socket.packet/cpp/fidl/fuchsia.posix.socket.packet/cpp/common_types.h

Records