Family fou netlink specification

Summary #

Foo-over-UDP.

Operations #

unspec #

unused

  • value:

    0

add #

Add port.

  • attribute-set:

    fou

  • dont-validate:

    ['strict', 'dump']

  • flags:

    [admin-perm]

  • do:

    request

    • attributes:

      [port, ipproto, type, remcsum-nopartial, local-v4, peer-v4, local-v6, peer-v6, peer-port, ifindex]

del #

Delete port.

  • attribute-set:

    fou

  • dont-validate:

    ['strict', 'dump']

  • flags:

    [admin-perm]

  • do:

    request

    • attributes:

      [af, ifindex, port, peer-port, local-v4, peer-v4, local-v6, peer-v6]

get #

Get tunnel info.

  • attribute-set:

    fou

  • dont-validate:

    ['strict', 'dump']

  • do:

    request

    • attributes:

      [af, ifindex, port, peer-port, local-v4, peer-v4, local-v6, peer-v6]

    reply

    • attributes:

      [port, ipproto, type, remcsum-nopartial, local-v4, peer-v4, local-v6, peer-v6, peer-port, ifindex]

  • dump:

    reply

    • attributes:

      [port, ipproto, type, remcsum-nopartial, local-v4, peer-v4, local-v6, peer-v6, peer-port, ifindex]

Definitions #

encap-type #

  • type:

    enum

  • name-prefix:

    fou-encap-

  • enum-name:

    None

  • entries:

    • unspec

    • direct

    • gue

Attribute sets #

fou #

unspec (unused) #

  • value:

    0

port (u16) #

  • byte-order:

    big-endian

af (u8) #

ipproto (u8) #

type (u8) #

remcsum-nopartial (flag) #

local-v4 (u32) #

local-v6 (binary) #

peer-v4 (u32) #

peer-v6 (binary) #

peer-port (u16) #

  • byte-order:

    big-endian

ifindex (s32) #

Edit this page