struct tapi_cfg_rt_nexthop

Overview

Nexthop of a multipath route. More…

#include <tapi_cfg.h>

struct tapi_cfg_rt_nexthop {
    // fields

    struct sockaddr_storage gw;
    char ifname[IF_NAMESIZE];
    unsigned int weight;
};

Detailed Documentation

Nexthop of a multipath route.

Fields

struct sockaddr_storage gw

Gateway address (considered empty if family is AF_UNSPEC)

char ifname[IF_NAMESIZE]

Interface name

unsigned int weight

Weight