1#ifndef NETLINK_NEXTHOP_ENCAP_H_
2#define NETLINK_NEXTHOP_ENCAP_H_
7 int (*build_msg)(
struct nl_msg *msg,
void *priv);
8 int (*parse_msg)(
struct nlattr *nla,
struct rtnl_nexthop *rtnh);
10 int (*compare)(
void *a,
void *b);
13 void (*destructor)(
void *priv);
21void nh_set_encap(
struct rtnl_nexthop *nh,
struct rtnl_nh_encap *rtnh_encap);
23int nh_encap_parse_msg(
struct nlattr *encap,
struct nlattr *encap_type,
24 struct rtnl_nexthop *rtnh);
25int nh_encap_build_msg(
struct nl_msg *msg,
struct rtnl_nh_encap *rtnh_encap);