struct ta_rt_nexthop_t

Overview

Nexthop of a multipath route. More…

#include <rcf_pch_ta_cfg.h>

struct ta_rt_nexthop_t {
    // fields

    uint16_t flags;
    struct sockaddr_storage gw;
    char ifname[IF_NAMESIZE];
    unsigned int weight;
    unsigned int id;

    // methods

    TAILQ_ENTRY(ta_rt_nexthop_t);
};

Detailed Documentation

Nexthop of a multipath route.

Fields

uint16_t flags

Flags (see above).

struct sockaddr_storage gw

Gateway address.

char ifname[IF_NAMESIZE]

Interface name.

unsigned int weight

Weight.

unsigned int id

Internal ID, used when editing existing route.

Methods

TAILQ_ENTRY(ta_rt_nexthop_t)

Queue links.