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.

["/"]

attributes?: L3Face.Attributes

NDNts face attributes.

NDNts logical forwarder.

Forwarder.getDefault()

gqlServer?: string

NDN-DPDK GraphQL server.

http://127.0.0.1:3030

localHost?: string

IP address to reach local host from NDN-DPDK.

Auto-detected from GraphQL HTTP client.

memif?: MemifOptions

memif options.

mtu?: number

Face MTU.

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

Transport scheme.

"udp"

UDP socket options.