Gjsify LogoGjsify Logo

Interface SettingTun_ConstructProps

Hierarchy

Index

Properties

group?: string

The group ID which will own the device. If set to %NULL everyone will be able to use the device.

mode?: number

The operating mode of the virtual device. Allowed values are %NM_SETTING_TUN_MODE_TUN to create a layer 3 device and %NM_SETTING_TUN_MODE_TAP to create an Ethernet-like layer 2 one.

multi_queue?: boolean

If the property is set to %TRUE, the interface will support multiple file descriptors (queues) to parallelize packet sending or receiving. Otherwise, the interface will only support a single queue.

owner?: string

The user ID which will own the device. If set to %NULL everyone will be able to use the device.

pi?: boolean

If %TRUE the interface will prepend a 4 byte header describing the physical interface to the packets.

vnet_hdr?: boolean

If %TRUE the IFF_VNET_HDR the tunnel packets will include a virtio network header.

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