8#ifndef NETLINK_LINK_XFRMI_H_
9#define NETLINK_LINK_XFRMI_H_
11#include <netlink/netlink.h>
12#include <netlink/route/link.h>
17 extern struct rtnl_link *rtnl_link_xfrmi_alloc(
void);
int rtnl_link_xfrmi_set_link(struct rtnl_link *link, uint32_t index)
Set XFRMI link interface index.
int rtnl_link_is_xfrmi(struct rtnl_link *link)
Check if link is a XFRMI link.
int rtnl_link_xfrmi_set_if_id(struct rtnl_link *link, uint32_t if_id)
Set XFRMI if_id.
int rtnl_link_xfrmi_get_if_id(struct rtnl_link *link, uint32_t *out_if_id)
Get XFRMI if_id.
int rtnl_link_xfrmi_get_link(struct rtnl_link *link, uint32_t *out_link)
Get XFRMI link interface index.