struct tapi_net_lag

Overview

Link aggregation. More…

#include <tapi_net.h>

struct tapi_net_lag {
    // fields

    char* if_name;
    tapi_net_lag_type type;
    tapi_net_lag_mode mode;
    char** slaves;
};

Detailed Documentation

Link aggregation.

LAG is a logical interface created on top of a set of physical base interfaces. It gets its own name and can be used as a base for VLAN/QinQ/GRE and in NAT rules.

Fields

char* if_name

Name of the aggregated interface.

tapi_net_lag_type type

Link aggregation type.

tapi_net_lag_mode mode

Link aggregation mode.

char** slaves

NULL-terminated array of slave interface names.