# `Linx.Netlink.Rtnl.LinkInfo.Vlan`
[🔗](https://github.com/oshlabs/linx/blob/v0.2.0/lib/linx/netlink/rtnl/linkinfo/vlan.ex#L1)

`IFLA_INFO_DATA` for a `vlan` link — the per-kind data inside
`IFLA_LINKINFO`.

A `vlan` carries an `IFLA_VLAN_ID` (a `u16`). Egress/ingress QoS maps and
the protocol selector are not modeled here yet.

# `t`

```elixir
@type t() :: %Linx.Netlink.Rtnl.LinkInfo.Vlan{id: term()}
```

# `decode`

```elixir
@spec decode(binary()) :: t()
```

Decodes a netlink message body into a `t:t/0`.

# `encode`

```elixir
@spec encode(t()) :: binary()
```

Encodes a `t:t/0` into its netlink message body.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
