Gjsify LogoGjsify Logo

Hierarchy

  • IP4Route

Index

Constructors

Properties

name: string

Methods

  • Determines if two #NMIP4Route objects contain the same values.

    Parameters

    • other: IP4Route

      the #NMIP4Route to compare route to.

    Returns boolean

  • getDest(): number
  • getMetric(): number
  • Gets the route metric property of this route object; lower values indicate "better" or more preferred routes.

    Returns number

  • getNextHop(): number
  • getPrefix(): number
  • ref(): void
  • setDest(dest: number): void
  • Sets the IPv4 destination address property of this route object.

    Parameters

    • dest: number

      the destination address in network byte order

    Returns void

  • setMetric(metric: number): void
  • Sets the route metric property of this route object; lower values indicate "better" or more preferred routes.

    Parameters

    • metric: number

      the route metric

    Returns void

  • setNextHop(nextHop: number): void
  • Sets the IPv4 address of the next hop of this route.

    Parameters

    • nextHop: number

      the IPv4 address of the next hop in network byte order

    Returns void

  • setPrefix(prefix: number): void
  • Sets the IPv4 prefix of this route.

    Parameters

    • prefix: number

      the prefix, a number between 1 and 32 inclusive

    Returns void

  • unref(): void
  • Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method