Logo
  • TE: User Guide
  • Test Suite
    • Network topology model
    • Test API
      • Configuring the test bed
      • DPDK
      • Devices and services
      • Network environment and topology
        • Gateway test parameters
        • High level network setup
        • Network setup library
          • Network definition in YAML
          • Test environment interaction
          • enum tapi_net_iface_type
          • enum tapi_net_lag_mode
          • enum tapi_net_lag_type
          • enum tapi_net_nat_rule_mode
          • enum tapi_net_nat_rule_type
          • struct tapi_net_ctx
          • struct tapi_net_endpoint
          • struct tapi_net_iface
          • struct tapi_net_lag
          • struct tapi_net_link
          • struct tapi_net_nat_rule
          • struct tapi_net_qinq
          • struct tapi_net_ta
          • struct tapi_net_vlan
        • Route gateway control
        • Network namespaces
      • Running programs on an agent
      • Sockets and I/O
      • Traffic generation and capture
      • Writing a test scenario
      • Remote calls on an agent
    • Test scenarios in markdown
  • Test Engine
  • Test Agents
  • Common tools API
  • Contributing to TE
  • Terminology
  • Global Namespace
Test Environment
  • Test Suite
  • Test API
  • Network environment and topology
  • Network setup library
  • struct tapi_net_link
  • View page source

struct tapi_net_link

Overview

Logical network between two endpoints. More…

#include <tapi_net.h>

struct tapi_net_link {
    // fields

    char name[TAPI_NET_NAME_LEN];
    tapi_net_endpoint endpoints[TAPI_NET_EP_NUM];
    int af;
};

Detailed Documentation

Logical network between two endpoints. For the test purposes, networks are modeled as point-to-point connections.

Fields

char name[TAPI_NET_NAME_LEN]

Network name.

tapi_net_endpoint endpoints[TAPI_NET_EP_NUM]

Network endpoints.

int af

Address family.

Previous Next

© Copyright 2019, OKTET Labs.

Built with Sphinx using a theme provided by Read the Docs.