struct tapi_env_net

Overview

Network entry More…

#include <tapi_env.h>

struct tapi_env_net {
    // fields

    char* name;
    tapi_env_type type;
    unsigned int i_net;
    cfg_net_t* cfg_net;
    cfg_handle ip4net;
    struct sockaddr* ip4addr;
    unsigned int ip4pfx;
    struct sockaddr_in ip4bcast;
    cfg_handle ip6net;
    struct sockaddr* ip6addr;
    unsigned int ip6pfx;
    cfg_handle_tqh net_addrs;

    // methods

    SLIST_ENTRY(tapi_env_net);
};

Detailed Documentation

Network entry

Fields

char* name

Name of the net

tapi_env_type type

Type of the net

unsigned int i_net

Index of the associated net

cfg_net_t* cfg_net

Configuration net

cfg_handle ip4net

Handle of IPv4 addresses pool

struct sockaddr* ip4addr

IPv4 address of the net

unsigned int ip4pfx

IPV4 address prefix length

struct sockaddr_in ip4bcast

IPv4 broadcast address of the net

cfg_handle ip6net

Handle of IPv4 addresses pool

struct sockaddr* ip6addr

IPv4 address of the net

unsigned int ip6pfx

IPV4 address prefix length

cfg_handle_tqh net_addrs

List of additional addresses

Methods

SLIST_ENTRY(tapi_env_net)

Links of the networks list