12#include "nl-default.h"
14#include <netlink/cli/utils.h>
15#include <netlink/cli/class.h>
21 if (!(
class = rtnl_class_alloc()))
27struct nl_cache *nl_cli_class_alloc_cache(
struct nl_sock *sock,
int ifindex)
29 struct nl_cache *cache;
void nl_cache_mngt_provide(struct nl_cache *cache)
Provide a cache for global use.
int rtnl_class_alloc_cache(struct nl_sock *sk, int ifindex, struct nl_cache **result)
Allocate a cache and fill it with all configured traffic classes.
void nl_cli_fatal(int err, const char *fmt,...)
Print error message and quit application.