libnl: nh_encap_ops Struct Reference

libnl 3.10.0

Data Fields
nh_encap_ops Struct Reference

## Data Fields
uint16_t | encap_type
int(* | build_msg )(struct nl_msg *msg, void *priv)
int(* | parse_msg )(struct nlattr *nla, struct rtnl_nexthop *rtnh)
int(* | compare )(void *a, void *b)
void(* | dump )(void *priv, struct nl_dump_params *dp)
void(* | destructor )(void *priv)

## Detailed Description

Definition at line 4 of file nexthop-encap.h.

## Field Documentation

## ◆ encap_type

uint16_t nh_encap_ops::encap_type

Definition at line 5 of file nexthop-encap.h.

## ◆ build_msg

int(* nh_encap_ops::build_msg) (struct nl_msg *msg, void *priv)

Definition at line 7 of file nexthop-encap.h.

## ◆ parse_msg

int(* nh_encap_ops::parse_msg) (struct nlattr *nla, struct rtnl_nexthop *rtnh)

Definition at line 8 of file nexthop-encap.h.

## ◆ compare

int(* nh_encap_ops::compare) (void *a, void *b)

Definition at line 10 of file nexthop-encap.h.

## ◆ dump

void(* nh_encap_ops::dump) (void *priv, struct nl_dump_params *dp)

Definition at line 12 of file nexthop-encap.h.

## ◆ destructor

void(* nh_encap_ops::destructor) (void *priv)

Definition at line 13 of file nexthop-encap.h.