interface Options {
    addRoutes?: readonly NameLike[];
    attributes?: L3Face.Attributes;
    fw?: Forwarder;
    gqlServer?: string;
    localHost?: string;
    memif?: MemifOptions;
    mtu?: number;
    scheme?: "udp" | "memif";
    udp?: OpenSocketOptions;
}

Properties

addRoutes?: readonly NameLike[]

Routes to be added on the created face.

Default Value

["/"]

attributes?: L3Face.Attributes

NDNts face attributes.

NDNts logical forwarder.

Default Value

Forwarder.getDefault()

gqlServer?: string

NDN-DPDK GraphQL server.

Default Value

http://127.0.0.1:3030
localHost?: string

IP address to reach local host from NDN-DPDK.

Default Value

Auto-detected from GraphQL HTTP client.
memif?: MemifOptions

memif options.

mtu?: number

Face MTU.

Default Value

  • For UDP, 1400.
  • For memif, .memif.dataroom or 2048.
scheme?: "udp" | "memif"

Transport scheme.

Default Value

"udp"

UDP socket options.